Unable to reach guacamole server

I hope you can help.
I am unable to use Guacamole. I can open the application and log in with the users I have authorized, but when I chose the connection I want to access, I get the following error:

“CONNECTION ERRROR - The remote desktop server is currently unreachable, If the problem persists, please notify your system admin”

I configured following instructions in your site:

  1. Start by creating a new Guacamole Configuration inside the ‘guacamole’ container. This can be done through the LDAP directory module. You will have to create one configuration for each connection you wish to offer.

    1. First I added the computer in ‘devices’ – ‘computers’
    2. I set ‘DNS forward zone’ as the name of my domain, which is the only choice I get
    3. IP address 192.168.1.66, which is the IP address of the machine on the lan
    4. I set ‘DNS reverse zone’ as 192.168.1, which is the only choice
    5. With IP address again 192.168.1.66
  2. Then created in LDAP. Named as the computer name, a windows workstation

  3. After creating a guacamole configuration, I set the needed protocol and parameters for your connection below the tab group Parameters . Each protocol needs at least the parameter hostname set (schema: ‘hostname=foobar’ ). Protocol Telnet and VNC also need the parameter port set. Protocol RDP additionally needs the parameters username and password , if ‘Network Level Authentication’ is chosen as security mode.

  4. Added parameters

  5. Protocol vnc

  6. Hostname=name (equal to name of computer in UCS config and netwrok name in the lan)

  7. Protocol=vnc

  8. Port=5900

  9. Now add the desired members to the configuration and save your settings.

  10. Under ‘ldap’ - ‘guacamole’- ‘basic settings’ I included my user as ‘member of this configuration’

  11. Additionally, users will have to be activated for the Guacamole app. This can be done on each user object by activating ‘Activate user for Guacamole’ below tab group Guacamole of tab Apps .

  12. Under ‘users’ – ‘users’ – ‘apps’ I activated my user for guacamole

  • The workstation has VNC server running and can be accessed with vnc viewer without problems
  • I am currently testing with computers all in the same network
  • I have a passcode for vnc, which I have no idea if it has to be inserted somewhere in the settings or it will be requested in a dialog box

Hi,

maybe you should also set your VNC password as parameter see:

https://guacamole.apache.org/doc/gug/configuring-guacamole.html#vnc

rg
Christian

Thanks Christian. I had tried that and I tried it again right now with no success. Please note that the error says ‘server unreachable’. That’s why I suspect I am doing something wrong with the network settings (I am no network expert.)
Is it right to use as IP address the 192.168.1.66, which is my address on my lan/router?
is it right to use 192.168.1 as ‘DNS forward zone’?
Any other point (see what I did from my prior message) where I might be missing something?
Thanks again and in advance.
Claudio

Hi.
Looking at the Guac doc and the logs, I see the following:


messages log:
ar 23 17:48:43 ownclaudio kernel: [431684.511891] guacd[16062]: segfault at 10 ip 00007f7a11323d$
Mar 23 17:48:49 ownclaudio kernel: [431689.878543] guacd[16070]: segfault at 10 ip 00007f7a11323d$

docker log:
17:48:43.350 [http-nio-8080-exec-5] INFO o.a.g.tunnel.TunnelRequestService - User “myuser” connected to connection “mytarget”.
17:48:43.350 [http-nio-8080-exec-5] INFO o.a.g.t.h.RestrictedGuacamoleHTTPTunnelServlet - Using HTTP tunnel (not WebSocket). Performance may be sub-optimal.
17:48:48.965 [http-nio-8080-exec-6] INFO o.a.g.tunnel.TunnelRequestService - User “myuser” connected to connection “mytarget”.
17:48:48.965 [http-nio-8080-exec-6] INFO o.a.g.t.h.RestrictedGuacamoleHTTPTunnelServlet - Using HTTP tunnel (not WebSocket). Performance may be sub-optimal.
17:48:58.796 [http-nio-8080-exec-3] INFO o.a.g.tunnel.TunnelRequestService - User “myuser” disconnected from connection “mytarget”. Duration: 15446 milliseconds
17:48:58.807 [http-nio-8080-exec-3] ERROR o.a.g.s.GuacamoleHTTPTunnelServlet - HTTP tunnel request failed: Connection to guacd timed out.
17:49:04.106 [http-nio-8080-exec-10] INFO o.a.g.tunnel.TunnelRequestService - User “myuser” disconnected from connection “mytarget”. Duration: 15141 milliseconds
17:49:04.108 [http-nio-8080-exec-10] ERROR o.a.g.s.GuacamoleHTTPTunnelServlet - HTTP tunnel request failed: Connection to guacd timed out.


The log for my VNC server shows no connection attempt. I have UltraVNC running on the target machine.
Any suggestions?

Hi Claudio,

did you alredy found a solution?

rg

Afraid not… I gave up, but I plan to try again in the next few days. Will update.

Hi schlomotion

I just tried again and it simply worked. No idea as to what I might have done differently.

Thanks.

Claudio

Mastodon