Re: Guacamole 1.4.0 - Shared Connections

2022-01-26 Thread Rasmus Haslund
Does anyone know if it is possible to create these shared connections via the 
API?

With best regards,
Rasmus Haslund
Principal Technologist & VMCT Program Manager | Veeam Software | Phone: +40 372 
821 972 | Twitter: @haslund

From: Luciano Oliveira 
Reply to: "user@guacamole.apache.org" 
Date: Tuesday, 25 January 2022 at 20.47
To: "user@guacamole.apache.org" 
Cc: "Khoe, Yonathan" 
Subject: RE: Guacamole 1.4.0 - Shared Connections

CAUTION - This email originated from outside of Veeam. Do not click links or 
open attachments unless you recognize the sender.

Hello,

Ok! Ok!

In connection, press shift+ctrl+alt, share, copy link and send to users!


[cid:39e9523a-d990-4a70-ad8c-78c7a79c544f]

In the connection configuration, new shared connection needs to be set!

De: Hankins, Jonathan 
Enviado: terça-feira, 25 de janeiro de 2022 15:43
Para: user@guacamole.apache.org 
Cc: Khoe, Yonathan 
Assunto: Re: Guacamole 1.4.0 - Shared Connections

See here: 
https://guacamole.apache.org/doc/gug/administration.html#connection-sharing

Specifically:

Unlike connections and groups, there is no “New Sharing Profile” button. 
Sharing profiles are created through clicking the “New Sharing Profile” 
placeholders which appear when connections are expanded. Just as expanding a 
connection group reveals the connections or groups therein, expanding a 
connection reveals the sharing profiles associated with that connection. This 
holds true with both the list of connections in the connection management 
screen and the list of connections in the user editor.

On Tue, Jan 25, 2022 at 12:13 PM CVAD IT Service Desk 
mailto:cvad.itservi...@unt.edu>> wrote:

Good afternoon everyone.



We are using Guacamole 1.4.0 and would like to create a shared connection as 
noted in the guacamole documentation, however don’t see the “share” dialogue 
anywhere on our instance. Is this something that we have to enable in the 
guacamole configuration files on the server? We have scoured the guacamole 
documentation and have found no inferences on how to enable this functionality.



Any guidance would be appreciated. Thank you!




--
Jonathan Hankins

Homewood City Schools

W: 205-877-4548

This e-mail is intended only for the recipient and may contain confidential or 
proprietary information. If you are not the intended recipient, the review, 
distribution, duplication or retention of this message and its attachments are 
prohibited. Please notify the sender of this error immediately by reply e-mail, 
and permanently delete this message and its attachments in any form in which 
they may have been preserved.


Re:Re: Fw:ssh typescripts recording

2022-01-26 Thread Simon



thanks .


but there another issue. here is guacd log


```

guacd[8]: INFO: Connection "$1b98e104-5690-4678-a8e8-a2b3101b" removed.

guacd[8]: INFO: Creating new client for protocol "ssh"

guacd[8]: INFO: Connection ID is "$9723599a-bbf3-49e1-8262-fe04a1c6bb6a"

guacd[3235]: INFO: User "@d2be2022-cbfc-4f16-9300-6a036f153a14" joined 
connection "$9723599a-bbf3-49e1-8262-fe04a1c6bb6a" (1 users now present)

guacd[3235]: ERROR: Creation of recording failed: No such file or directory

guacd[3235]: ERROR: Creation of typescript failed: No such file or directory

```


it shoud be create dir auto as i config










在 2022-01-26 16:03:40,"Mike Jumper"  写道:

On Tue, Jan 25, 2022, 23:59 Simon  wrote:


 Forwarding messages 


From: "Simon" 
Date: 2022-01-26 15:06:00
To: user@guacamole.apache.org
Subject: ssh typescripts recording

hello, 


   I run guacamole 1.4.0 in docker, with mysql authentication.
   I have linked my remote server by ssh, and then i want generate typescripts 
files.I make config for that in guacamole admin, but typescript didn't appear.


 here are my env, and config


docker containers 
in guacamole container
```
$ pwd
/home/guacamole
$ ls -l
total 8
drwxrwxrwx 2 guacamole guacamole 4096 Jan 26 06:37 recording
drwxr-xr-x 7 guacamole guacamole 4096 Jan 24 02:37 tomcat
$
```


in guacamole admin


then I make a connection, and do some coding


but in docker container has noting generte.
```
$ pwd
/home/guacamole/recording
$ ls
$
```


anything I do wrong?
please help me with it.


It is guacd that writes the recordings and typescripts, not the Guacamole 
webapp/container.


- Mike



Re: Re: Fw:ssh typescripts recording

2022-01-26 Thread Mike Jumper
On Wed, Jan 26, 2022, 00:27 Simon  wrote:

>
> thanks .
>
> but there another issue. here is guacd log
>
> ```
>
> guacd[8]: INFO: Connection "$1b98e104-5690-4678-a8e8-a2b3101b" removed.
>
> guacd[8]: INFO: Creating new client for protocol "ssh"
>
> guacd[8]: INFO: Connection ID is "$9723599a-bbf3-49e1-8262-fe04a1c6bb6a"
>
> guacd[3235]: INFO:
> User "@d2be2022-cbfc-4f16-9300-6a036f153a14" joined connection 
> "$9723599a-bbf3-49e1-8262-fe04a1c6bb6a" (1 users now present)
>
> guacd[3235]: ERROR: Creation of recording failed: No such file or directory
>
> guacd[3235]: ERROR:
> Creation of typescript failed: No such file or directory
> ```
>
> it shoud be create dir auto as i config
>

Only the final directory of the path is auto-created. The other parts must
already exist.

See:
https://guacamole.apache.org/doc/gug/configuring-guacamole.html#text-session-recording-typescripts

- Mike


Re: Guacamole 1.4.0 - Shared Connections

2022-01-26 Thread sam g
 Try the REST API.I'm using Python with GitHub - pschmitt/guacapy: REST API 
client for Apache Guacamole but it's REST so you can use something else.

| 
| 
| 
|  |  |

 |

 |
| 
|  | 
GitHub - pschmitt/guacapy: REST API client for Apache Guacamole

REST API client for Apache Guacamole. Contribute to pschmitt/guacapy 
development by creating an account on GitHub.
 |

 |

 |






Le mercredi 26 janvier 2022, 09:03:11 UTC+1, Rasmus Haslund 
 a écrit :  
 
 
Does anyone know if it is possible to create these shared connections via the 
API?
 
  
 
With best regards,
 
Rasmus Haslund
 
Principal Technologist & VMCT Program Manager | Veeam Software | Phone: +40 372 
821 972 | Twitter: @haslund
 
  
 
From: Luciano Oliveira 
Reply to: "user@guacamole.apache.org" 
Date: Tuesday, 25 January 2022 at 20.47
To: "user@guacamole.apache.org" 
Cc: "Khoe, Yonathan" 
Subject: RE: Guacamole 1.4.0 - Shared Connections
 
  
 
CAUTION - This email originated from outside of Veeam. Do not click links or 
open attachments unless you recognize the sender.
 
  
 
Hello,
 
  
 
Ok! Ok!

In connection, press shift+ctrl+alt, share, copy link and send to users! 
 
  
 
  
 

 
  
 
In the connection configuration, new shared connection needs to be set!
 
De: Hankins, Jonathan 
Enviado: terça-feira, 25 de janeiro de 2022 15:43
Para: user@guacamole.apache.org 
Cc: Khoe, Yonathan 
Assunto: Re: Guacamole 1.4.0 - Shared Connections 
 
 
 
See here: 
https://guacamole.apache.org/doc/gug/administration.html#connection-sharing
 
  
 
Specifically: 
 
  
 

Unlike connections and groups, there is no “New Sharing Profile” button. 
Sharing profiles are created through clicking the “New Sharing Profile” 
placeholders which appear when connections are expanded. Just as expanding a 
connection group reveals the connections or groups therein, expanding a 
connection reveals the sharing profiles associated with that connection. This 
holds true with both the list of connections in the connection management 
screen and the list of connections in the user editor.
 

  
 
On Tue, Jan 25, 2022 at 12:13 PM CVAD IT Service Desk  
wrote:
 

Good afternoon everyone.
 
 
 
We are using Guacamole 1.4.0 and would like to create a shared connection as 
noted in the guacamole documentation, however don’t see the “share” dialogue 
anywhere on our instance. Is this something that we have to enable in the 
guacamole configuration files on the server? We have scoured the guacamole 
documentation and have found no inferences on how to enable this functionality.
 
 
 
Any guidance would be appreciated. Thank you!
 
 
 



 
  
 
-- 
 
Jonathan Hankins

Homewood City Schools

W: 205-877-4548
 

This e-mail is intended only for the recipient and may contain confidential or 
proprietary information. If you are not the intended recipient, the review, 
distribution, duplication or retention of this message and its attachments are 
prohibited. Please notify the sender of this error immediately by reply e-mail, 
and permanently delete this message and its attachments in any form in which 
they may have been preserved.
   
-
To unsubscribe, e-mail: user-unsubscr...@guacamole.apache.org
For additional commands, e-mail: user-h...@guacamole.apache.org

Autofill logon page

2022-01-26 Thread Richard Cochius

Hello,


I've search through the internet, but didn't find any solution nor a 
hint to solve.


I want to fill the logon page via a php script, but I did not find out, 
which request a had to send.


Also with Postman, I didn't find any solution.


Has anyone solved this question?


Greetings

Richard

--
*Richard Cochius*
Verdistrasse 22
*53881* Euskirchen
Germany

Phone: +49 (0) 2251 7938061 
Fax: +49 (0) 2251 7938064 
Mobile: +49 (0) 172 9392296 

eMail: r.coch...@apps-at-work.net


OpenPGP_0xF51E2F6A456F4CAE.asc
Description: OpenPGP public key


OpenPGP_signature
Description: OpenPGP digital signature


Re: Autofill logon page

2022-01-26 Thread Twan Duis
Check pyautogui… I know it’s python

Verstuurd vanaf mijn iPhone

Op 26 jan. 2022 om 11:07 heeft Richard Cochius  het 
volgende geschreven:

 

Hello,

 


 

 

I've search through the internet, but didn't find any solution nor a hint to 
solve.

 

I want to fill the logon page via a php script, but I did not find out, which 
request a had to send.

 

Also with Postman, I didn't find any solution.

 


 

 

Has anyone solved this question?

 


 

 

Greetings

 

Richard
 

 
-- 
 Richard Cochius
 Verdistrasse 22
 53881 Euskirchen
 Germany
 
 Phone:  +49 (0) 2251 7938061
 Fax:  +49 (0) 2251 7938064
 Mobile: +49 (0) 172 9392296
 
 eMail:   r.coch...@apps-at-work.net 


OpenPGP_0xF51E2F6A456F4CAE.asc
Description: Binary data

-
To unsubscribe, e-mail: user-unsubscr...@guacamole.apache.org
For additional commands, e-mail: user-h...@guacamole.apache.org

After Upgrade Guacamole 1.3 --> 1.4

2022-01-26 Thread Henri Alves de Godoy
Hi, could someone help me

After upgrading to 1.4 the following error appears

The guaca client .war and the server have been updated.

Jan 26 09:50:16 remoto guacd[1925]: Guacamole protocol violation. Perhaps
the version of guacamole-client is incompatible with this version of guacd?
Jan 26 09:50:16 remoto server: 09:50:16.777 [https-openssl-nio-8443-exec-5]
ERROR o.a.g.s.GuacamoleHTTPTunnelServlet - HTTP tunnel request failed:
javax.net.ssl.SSLHandshakeException: Remote host terminated the handshake


Jan 26 09:49:46 remoto systemd: Starting LSB: Guacamole proxy daemon...
Jan 26 09:49:46 remoto guacd[1923]: Guacamole proxy daemon (guacd) version
1.4.0 started
Jan 26 09:49:46 remoto guacd: Starting guacd: guacd[1923]:
INFO:#011Guacamole proxy daemon (guacd) version 1.4.0 started
Jan 26 09:49:46 remoto guacd: SUCCESS
Jan 26 09:49:46 remoto guacd[1925]: Listening on host 127.0.0.1, port 4822
Jan 26 09:49:46 remoto systemd: Started LSB: Guacamole proxy daemon.


Did I forget something?

Thanks

--


trying to turn debug on

2022-01-26 Thread chomik MChamster
Greetings!

I've upgraded from v1.3 to v.1.4 and all went good until I
replaced guacamole-auth-saml-1.3.0.jar
with guacamole-auth-sso-saml-1.4.0.jar
I am now stuck in a loop during the authentication process in a way that
guacamole displays the message about redirecting to the authentication
provider, the page refreshes ( I can see the browser address bar telling me
it is reaching Azure) and it goes back to saying redirect is happening and
does that all the time every time. The saml section of guacamole.properties
have not been touched (obviously). Anyway I thought I'd mention it in case
someone had similar issue.
...Now I was looking at enabling debug to try and understand what's going
on, however placing the logback.xml file in guacamole home with the example
debug configuration from
https://guacamole.apache.org/doc/gug/configuring-guacamole.html does
nothing at all and I can only see INFO level of messages in my catalina log
file.
Can you guys recommend how to successfully switch the debug on, please?

Thanks in advance and keep up the good work!

Cheers,
Tomski


Several problems after upgrade 1.4

2022-01-26 Thread Henri Alves de Godoy
Several problems after upgrade 1.4   :-(

- rdp connection with Windows Server 2012 and 2019 extremely slow (guacd
time out)

- desktops that used to work, now have the error:
Jan 26 15:10:27 remote guacd[4291]: RDP server closed/refused connection:
Server refused connection (wrong security type?)
Jan 26 15:10:27 remote guacd: guacd[4291]: INFO:#011RDP server
closed/refused connection: Server refused connection (wrong security type?)

Total chaos!

--


Re: Several problems after upgrade 1.4

2022-01-26 Thread Nick Couchman
On Wed, Jan 26, 2022 at 1:12 PM Henri Alves de Godoy <
henri.go...@fca.unicamp.br> wrote:

> Several problems after upgrade 1.4   :-(
>
>
Very sorry to hear this.


> - rdp connection with Windows Server 2012 and 2019 extremely slow (guacd
> time out)
>
>
Any other items change when you did the upgrade? Are you using exactly the
same systems, or are you using new/different systems for the new version?
I've also upgraded to 1.4 recently, both client and server, and am not
seeing any issues at all.


> - desktops that used to work, now have the error:
> Jan 26 15:10:27 remote guacd[4291]: RDP server closed/refused connection:
> Server refused connection (wrong security type?)
> Jan 26 15:10:27 remote guacd: guacd[4291]: INFO:#011RDP server
> closed/refused connection: Server refused connection (wrong security type?)
>
>
It's possible something is impacting the auto-negotiation of the security
mode. I suggest just forcing NLA and see if that works, unless your servers
don't support NLA.

Beyond that, please provide more detail about your Guacamole environment -
server platform, including Linux distribution, FreeRDP version, Tomcat
version, etc.

-Nick


Re: trying to turn debug on

2022-01-26 Thread Nick Couchman
On Wed, Jan 26, 2022 at 8:34 AM chomik MChamster 
wrote:

> Greetings!
>
> I've upgraded from v1.3 to v.1.4 and all went good until I
> replaced guacamole-auth-saml-1.3.0.jar
> with guacamole-auth-sso-saml-1.4.0.jar
> I am now stuck in a loop during the authentication process in a way that
> guacamole displays the message about redirecting to the authentication
> provider, the page refreshes ( I can see the browser address bar telling me
> it is reaching Azure) and it goes back to saying redirect is happening and
> does that all the time every time. The saml section of guacamole.properties
> have not been touched (obviously). Anyway I thought I'd mention it in case
> someone had similar issue.
> ...Now I was looking at enabling debug to try and understand what's going
> on, however placing the logback.xml file in guacamole home with the example
> debug configuration from
> https://guacamole.apache.org/doc/gug/configuring-guacamole.html does
> nothing at all and I can only see INFO level of messages in my catalina log
> file.
> Can you guys recommend how to successfully switch the debug on, please?
>
>
Make sure after you check this logback.xml file that you reload the webapp
or restart Tomcat. Also, if you're trying to debug SAML you might make sure
to add the saml-debug option to guacamole.properties, as this will enable
some additional debugging within the SAML library.

-Nick

>


Re: After Upgrade Guacamole 1.3 --> 1.4

2022-01-26 Thread Nick Couchman
On Wed, Jan 26, 2022 at 7:56 AM Henri Alves de Godoy <
henri.go...@fca.unicamp.br> wrote:

> Hi, could someone help me
>
> After upgrading to 1.4 the following error appears
>
> The guaca client .war and the server have been updated.
>
> Jan 26 09:50:16 remoto guacd[1925]: Guacamole protocol violation. Perhaps
> the version of guacamole-client is incompatible with this version of guacd?
> Jan 26 09:50:16 remoto server: 09:50:16.777
> [https-openssl-nio-8443-exec-5] ERROR o.a.g.s.GuacamoleHTTPTunnelServlet -
> HTTP tunnel request failed: javax.net.ssl.SSLHandshakeException: Remote
> host terminated the handshake
>
>
I replied to your other thread, but these messages indicate some
communication issue between the guacd and guacamole client. The fact that
you're seeing this when running them both on the same system is very odd.
Among the things that I'd look at are any security software that might be
mangling the communication - either A/V software on the Linux system, or a
Web Application Firewall or Deep Packet Inspection firewall that could be
blocking something.

Have you modified the code at all - any changes to the server or client? Or
are you just deploying what you've downloaded from the web site?

-NIck


Re: Autofill logon page

2022-01-26 Thread Nick Couchman
On Wed, Jan 26, 2022 at 5:07 AM Richard Cochius 
wrote:

> Hello,
>
>
> I've search through the internet, but didn't find any solution nor a hint
> to solve.
>
> I want to fill the logon page via a php script, but I did not find out,
> which request a had to send.
>
> Also with Postman, I didn't find any solution.
>
>
>
What is the end goal you are trying to accomplish? The entire Guacamole
Client web application is managed by a REST API, so there are many, many
things you can do via that API - including authentication - but it would be
useful to know what your end goal is so we can help point you in the right
direction.

-Nick


Encrypted JSON with Javascript

2022-01-26 Thread Caleb Coverdale
Hey there! 

I have been banging my head against the wall trying to get the EncryptedJSON 
script working in Javascript. 

I was wondering if anyone has been down the rabbit hole and got it working? 


Any help would be appreciated… 


Here’s what I have so far: 



const crypto = require("crypto");
const guacjson = 
`{"username":"MyUser","connections":{"MyConnection":{"protocol":"rdp","parameters":{"hostname":"10.0.0.41","port":"3389","security":"nla","ignore-cert":"true"`;
const secretkey = "fe57526d73a1e5116bbbefad1c91b38f";

// sign the contents of guacjson with secret key using HMAC/SHA-256 out in 
binary
function cryptedmessage() {
  const hmac = crypto.createHmac("sha256", secretkey);
  hmac.update(guacjson);
  // output the hmac in binary followed by guacjson
  signature = hmac.digest("binary") + guacjson;
  return signature;
}

const INITIALIZATION_VECTOR = "";

class Crypt {
  static encrypt128(data, key) {
const cipher = crypto.createCipheriv(
  "aes-128-cbc",
  Buffer.from(key, "hex"),
  Buffer.from(INITIALIZATION_VECTOR)
);
// return cipher encoded as bas64
console.log(data);
const encrypted =
  cipher.update(data, "utf8", "base64") + cipher.final("base64");
return encrypted;
  }
}

const key = "fe57526d73a1e5116bbbefad1c91b38f";

const cipher = Crypt.encrypt128(cryptedmessage(), key);

console.log(cipher);

Re: RDP sessions freeze on resize

2022-01-26 Thread Mike Jumper
So far, testing on my own XRDP connection with a deployment of 1.4.0 and
resize method set to "resize", I'm not seeing any issue. There is a brief
pause as the session with XRDP is re-established, but no hanging.

Do you see anything in XRDP's logs that might indicate it's having trouble
handling the resize?

Anything in the guacd logs?

My suspicions would currently be that something is amiss on the XRDP side,
and that there isn't anything specific to 1.4.0 causing what you're seeing.

- Mike

On Tue, Jan 25, 2022, 23:47 michael böhm  wrote:

> Hi,
>
> could anyone recreate this in his environment? Should I open a Jira ticket?
>
> Best wishes
>
> Michael
>
>
> *Gesendet:* Montag, 10. Januar 2022 um 11:36 Uhr
> *Von:* "michael böhm" 
> *An:* user@guacamole.apache.org
> *Betreff:* RDP sessions freeze on resize
> Hi everyone,
>
> I open an RDP session to a Linux host running xrdp in Guacamole 1.4.0.
> When I resize the browser window by pointing the mouse to the edge of the
> window, the RDP session freezes immediately. I have to use ctrl + shift +
> alt menu to disconnect / reconnect manually. Oddly, this does not happen
> when I maximize / minimize the browser window.
>
> I tested on Windows and Linux as Client OS and Firefox and Chrome /
> Chromium as browsers.
>
> Resize Method is set to Reconnect. If I remember correctly, in 1.3.0
> everything worked fine.
>
> Is this a known issue in 1.4.0 or should I do something different? Can you
> reproduce this or is it something with my setup?
>
> Thanks and best wishes
>
> Michael
> - To
> unsubscribe, e-mail: user-unsubscr...@guacamole.apache.org For additional
> commands, e-mail: user-h...@guacamole.apache.org
> - To
> unsubscribe, e-mail: user-unsubscr...@guacamole.apache.org For additional
> commands, e-mail: user-h...@guacamole.apache.org


Re: RDP sessions freeze on resize

2022-01-26 Thread Mike Jumper
Sorry - that's resize method set to "reconnect", not "resize".

On Wed, Jan 26, 2022, 15:43 Mike Jumper  wrote:

> So far, testing on my own XRDP connection with a deployment of 1.4.0 and
> resize method set to "resize", I'm not seeing any issue. There is a brief
> pause as the session with XRDP is re-established, but no hanging.
>
> Do you see anything in XRDP's logs that might indicate it's having trouble
> handling the resize?
>
> Anything in the guacd logs?
>
> My suspicions would currently be that something is amiss on the XRDP side,
> and that there isn't anything specific to 1.4.0 causing what you're seeing.
>
> - Mike
>
> On Tue, Jan 25, 2022, 23:47 michael böhm  wrote:
>
>> Hi,
>>
>> could anyone recreate this in his environment? Should I open a Jira
>> ticket?
>>
>> Best wishes
>>
>> Michael
>>
>>
>> *Gesendet:* Montag, 10. Januar 2022 um 11:36 Uhr
>> *Von:* "michael böhm" 
>> *An:* user@guacamole.apache.org
>> *Betreff:* RDP sessions freeze on resize
>> Hi everyone,
>>
>> I open an RDP session to a Linux host running xrdp in Guacamole 1.4.0.
>> When I resize the browser window by pointing the mouse to the edge of the
>> window, the RDP session freezes immediately. I have to use ctrl + shift +
>> alt menu to disconnect / reconnect manually. Oddly, this does not happen
>> when I maximize / minimize the browser window.
>>
>> I tested on Windows and Linux as Client OS and Firefox and Chrome /
>> Chromium as browsers.
>>
>> Resize Method is set to Reconnect. If I remember correctly, in 1.3.0
>> everything worked fine.
>>
>> Is this a known issue in 1.4.0 or should I do something different? Can
>> you reproduce this or is it something with my setup?
>>
>> Thanks and best wishes
>>
>> Michael
>> - To
>> unsubscribe, e-mail: user-unsubscr...@guacamole.apache.org For
>> additional commands, e-mail: user-h...@guacamole.apache.org
>> - To
>> unsubscribe, e-mail: user-unsubscr...@guacamole.apache.org For
>> additional commands, e-mail: user-h...@guacamole.apache.org
>
>