After setting up and login into Guacamole I get

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

So I know I have to set up guacd. But how? I started guacd without any
further configuration:

# ps -edf
...
root      3446     1  0 14:28 ?        00:00:00 ./guacd
...

My setup is as following:
Windows with RDP activated: 192.168.100.188
Devuan with Tomcat/Guacamole and guacd: 192.168.100.253
Client with Firefox: 192.168.178.38

The user shall connect to the Win-machine via guacamole via guacd
# cat /opt/tomcat9/webapps/guacamole-1.1.0/conf/user-mapping.xml
<?xml version="1.0" encoding="UTF-8"?>
<user-mapping>
    <authorize username="q" password="xxxx">
        <protocol>rdp</protocol>
        <param name="hostname">192.168.100.188</param>
        <param name="port">3389</param>
    </authorize>
</user-mapping>

The log I get is:
14:55:07.042 [http-nio-0.0.0.0-8080-exec-5] INFO
o.a.g.environment.LocalEnvironment - GUACAMOLE_HOME is
"/opt/tomcat9/webapps/guacamole-1.1.0/conf".
14:55:07.055 [http-nio-0.0.0.0-8080-exec-5] DEBUG
o.a.g.net.InetGuacamoleSocket - Connecting to guacd at localhost:4822.
14:55:07.121 [http-nio-0.0.0.0-8080-exec-5] INFO
o.a.g.tunnel.TunnelRequestService - User "g" connected to connection
"DEFAULT".
14:55:07.164 [http-nio-0.0.0.0-8080-exec-2] INFO
o.a.g.tunnel.TunnelRequestService - User "g" disconnected from
connection "DEFAULT". Duration: 42 milliseconds
Exception in thread "Thread-221" 14:55:07.164
[http-nio-0.0.0.0-8080-exec-2] DEBUG o.a.g.net.InetGuacamoleSocket -
Closing socket to guacd.
java.lang.IllegalStateException: Message will not be sent because the
WebSocket session has been closed
    at 
org.apache.tomcat.websocket.WsRemoteEndpointImplBase.writeMessagePart(WsRemoteEndpointImplBase.java:425)
    at 
org.apache.tomcat.websocket.WsRemoteEndpointImplBase.sendMessageBlock(WsRemoteEndpointImplBase.java:309)
    at 
org.apache.tomcat.websocket.WsRemoteEndpointImplBase.sendMessageBlock(WsRemoteEndpointImplBase.java:250)
    at 
org.apache.tomcat.websocket.WsRemoteEndpointImplBase.sendString(WsRemoteEndpointImplBase.java:191)
    at 
org.apache.tomcat.websocket.WsRemoteEndpointBasic.sendText(WsRemoteEndpointBasic.java:37)
    at 
org.apache.guacamole.websocket.GuacamoleWebSocketTunnelEndpoint.sendInstruction(GuacamoleWebSocketTunnelEndpoint.java:152)
    at 
org.apache.guacamole.websocket.GuacamoleWebSocketTunnelEndpoint.access$200(GuacamoleWebSocketTunnelEndpoint.java:53)
    at 
org.apache.guacamole.websocket.GuacamoleWebSocketTunnelEndpoint$2.run(GuacamoleWebSocketTunnelEndpoint.java:253)

What am I doing wrong?
Regards
Goran

---------------------------------------------------------------------
To unsubscribe, e-mail: [email protected]
For additional commands, e-mail: [email protected]

Reply via email to