Hi Tom,

try vmconnect instead of nla for security. See 
https://issues.apache.org/jira/browse/GUACAMOLE-952.

Best Regards, Joachim

 

Von: Daniëls, Tom <daniel...@buas.nl> 
Gesendet: Friday, 8 May 2020 08:37
An: user@guacamole.apache.org
Betreff: RE: Ubuntu 20.04 / Guacamole 1.1.0 / FreeRDP preconception PDU Broken

 

Hi Nick,

 

Deployed the war file on a test machine and unfortunately it still does not 
work. I receive error

The remote desktop server is currently unreachable. If the problem persists, 
please notify your system administrator, or check your system logs.

 

If I check syslog I see:

May  8 05:52:46 guapo guacd[22182]: Creating new client for protocol "rdp"

May  8 05:52:46 guapo guacd[22182]: Connection ID is 
"$a2314fab-46c5-4c75-8e5e-0f25e22cb900"

May  8 05:52:46 guapo guacd[22288]: Security mode: NLA

May  8 05:52:46 guapo guacd[22288]: Resize method: none

May  8 05:52:46 guapo guacd[22288]: User 
"@c984483e-03f1-496d-8b72-ecd5831ed6b3" joined connection 
"$a2314fab-46c5-4c75-8e5e-0f25e22cb900 (1 users now present)

May  8 05:52:46 guapo guacd[22288]: Loading keymap "base"

May  8 05:52:46 guapo guacd[22288]: Loading keymap "en-us-qwerty"

May  8 05:52:46 guapo guacd[22288]: Error connecting to RDP server

May  8 05:52:46 guapo guacd[22288]: User 
"@c984483e-03f1-496d-8b72-ecd5831ed6b3" disconnected (0 users remain)

May  8 05:52:46 guapo guacd[22288]: Last user of connection 
"$a2314fab-46c5-4c75-8e5e-0f25e22cb900" disconnected

May  8 05:52:46 guapo guacd[22182]: Connection "$ 
a2314fab-46c5-4c75-8e5e-0f25e22cb900" removed.

 

Tomcat logs when connecting:

May  8 06:21:21 guapo tomcat9[19360]: 06:21:21.403 [http-nio-8080-exec-2] INFO  
o.a.g.environment.LocalEnvironment - GUACAMOLE_HOME is "/etc/guacamole".

May  8 06:21:21 guapo tomcat9[19360]: 06:21:21.424 [http-nio-8080-exec-2] INFO  
o.a.g.tunnel.TunnelRequestService - User "connect-user" connected to connection 
"VMConnect RDP (Win10)".

May  8 06:21:21 guapo tomcat9[19360]: 06:21:21.424 [http-nio-8080-exec-2] INFO  
o.a.g.t.h.RestrictedGuacamoleHTTPTunnelServlet - Using HTTP tunnel (not 
WebSocket). Performance may be sub-optimal.

May  8 06:21:36 guapo tomcat9[19360]: 06:21:36.684 [http-nio-8080-exec-5] INFO  
o.a.g.tunnel.TunnelRequestService - User "connect-user" disconnected from 
connection "VMConnect RDP (Win10)". Duration: 15260 milliseconds

May  8 06:21:36 guapo tomcat9[19360]: 06:21:36.686 [http-nio-8080-exec-5] ERROR 
o.a.g.s.GuacamoleHTTPTunnelServlet - HTTP tunnel request failed: Connection to 
guacd timed out.

 

Connecting to regular RDP servers works without a hitch (even the Hyper-V host 
for the guest I am trying to connect to). Relevant settings:

 

        <connection name="VMConnect RDP (Win10)">

                <protocol>rdp</protocol>

                <param name="hostname">hyper-vhost.local</param>

                <param name="port">2179</param>

                <param name="ignore-cert">true</param>

                <param name="security">nla</param>

                <param name="ignore-cert">true</param>

                <param name="username">connect-user</param>

                <param name="password">Pwd1234</param>

                <param name="domain">AD</param>

                <param 
name="preconnection-blob">970e1fcf-e920-4042-8774-4602c2f831fb</param>

        </connection>

 

        <connection name="Hyper-V RDP (Win2019)">

                <protocol>rdp</protocol>

                <param name="hostname"> hyper-vhost.local </param>

                <param name="port">3389</param>

                <param name="ignore-cert">true</param>

                <param name="security">nla</param>

                <param name="ignore-cert">true</param>

                <param name="username">connect-user</param>

                <param name="password">Pwd1234</param>

        </connection>

 

All info including hostname, username, password and preconnection-blob work 
with Guacamole 1.0.0. (on Ubuntu 18.04), connecting to hyper-vhost.local with 
‘regular’ RDP works so it does not appear to be a network issue:

 

Checking guacd reveales it is indeed the 1.2.0 version:

May 08 06:16:55 guapo guacd[19318]: Guacamole proxy daemon (guacd) version 
1.2.0 started

 

Any pointers and/or help would be greatly appreciated.

 

Kind regards,

Tom Daniels

 

 

From: Daniëls, Tom <daniel...@buas.nl <mailto:daniel...@buas.nl> > 
Sent: vrijdag 8 mei 2020 07:37
To: user@guacamole.apache.org <mailto:user@guacamole.apache.org> 
Subject: RE: Ubuntu 20.04 / Guacamole 1.1.0 / FreeRDP preconception PDU Broken

 

Hi Nick,

 

Thanks so much for your swift reply; using openjdk-8 did the trick. Will roll 
out the 1.2.0 build during off hours and will let you know if everything is 
working as expected!

 

Kind regards,

Tom Daniels

 

From: Nick Couchman <vn...@apache.org <mailto:vn...@apache.org> > 
Sent: donderdag 7 mei 2020 17:35
To: user@guacamole.apache.org <mailto:user@guacamole.apache.org> 
Subject: Re: Ubuntu 20.04 / Guacamole 1.1.0 / FreeRDP preconception PDU Broken

 

On Thu, May 7, 2020 at 10:43 AM Daniëls, Tom <daniel...@buas.nl 
<mailto:daniel...@buas.nl> > wrote:

Hi Nick,

 

Thanks so much for you reply. I will be happy with a working solution ;-)

For the last week I have been fruitlessly trying to compile the git version of 
guacamole-client using maven.

With openjdk-13 or openjdk-14 installed I receive this error when running nvm 
-X package

error: Source option 6 is no longer supported. Use 7 or later.

 

With openjdk-11 installed I receive this error 

Exit code: 1 - javadoc: error - The code being documented uses modules but the 
packages defined in http://docs.oracle.com/javase/6/docs/api/ are in the 
unnamed module.

which supposedly is fixed in 11.0.8 and higher; 
https://bugs.openjdk.java.net/browse/JDK-8212233 which will release in July.

 

 

Yeah, if you have an option to use JDK8, I would use that, instead.  11 
*should* work, but there may be a Maven issue that blocks that.  8 works 
consistently.

 

-Nick

Reply via email to