I am totally new to using Apache Guacamole. I installed the Docker images using:
$ sudo docker run --name some-guacd -d guacamole / guacd
$ sudo docker run --name some-guacamole --link some-guacd: guacd -e $ POSTGRES_DATABASE = guacamole_db -e POSTGRES_USER = postgres -e POSTGRES_PASSWORD = asus -e POSTGRES_HOSTNAME = 192.168.138.5 -e POSTGRES_ : 8080 guacamole / guacamole
$ sudo docker run --rm guacamole / guacamole /opt/guacamole/bin/initdb.sh --postgres> initdb.sql
I ran the initdb.sql command on postgres.
I can connect through the browser, and created two connections, one to an SSH server and one to an MS RDP server.
The SSH server connects and works perfectly.
The connection to the RDP server features:
'Connected to Guacamole. Waiting for response ... '
and right after.
The remote desktop server is currently unreachable. If the problem persists, please notify your system administrator, or check your system logs.
Reconnect in xxxx ...
$ sudo docker logs some-guacamole
I get ...
11: 12: 26.880 [http-nio-8080-exec-4] INFO o.a.g.tunnel.TunnelRequestService - User "guacadmin" connected to connection "2".
Exception in thread "Thread-6" java.lang.IllegalStateException: Message will not be sent because the WebSocket session has been closed
at org.apache.tomcat.websocket.WsRemoteEndpointImplBase.writeMessagePart (WsRemoteEndpointImplBase.java:424)
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)
11: 12: 41.907 [http-nio-8080-exec-3] INFO o.a.g.tunnel.TunnelRequestService - User "guacadmin" disconnected from connection "2". Duration: 15022 milliseconds
11: 12: 57.053 [http-nio-8080-exec-9] INFO o.a.g.tunnel.TunnelRequestService - User "guacadmin" connected to connection "2".
11: 13: 12.082 [http-nio-8080-exec-6] INFO o.a.g.tunnel.TunnelRequestService - User "guacadmin" disconnected from connection "2". Duration: 15029 milliseconds
11: 13: 28.179 [http-nio-8080-exec-2] INFO o.a.g.tunnel.TunnelRequestService - User "guacadmin" connected to connection "2".
Whats wrong in my installation?
When you created the RDP connection, did you set the security parameters as required by the server, and did you try checking the "Ignore Certificate" box to see if it's an issue with certificate trust?
I have filled:
Network:Hostname: <IP of the server>
Network:Security mode: Any / I have tried NLA too
Ignore server certificate: Checked
No more fields touched.
In desktop environment (out of docker containers) i ran: xfreerdp +clipboard /u:Administrator /v:<IP of the server> /p:myPassword
And the connection is established.
Thanks in advance.
Are you using the 1.2.0-staging changes or 1.1.0?
There are some issues that may not yield proper logging that have been fixed in 1.2.0-staging.
I don't know Time!
I have not make version choice at any time. And tried to find it on web interface, but can't find.
How i can find it?
Fastest way I know is to open the Guacamole web page, open a developer console and run `Guacamole.API_VERSION`.
How i can upgrade to 1.2.0-staging? Or it have docker images for desired version?
Unless someone else here knows where to get a more recent image on a public registry you may need to make your own docker image by pulling the latest code from https://github.com/apache/guacamole-server and compiling it.
But, in previous versions it does not work?
1.1.0 introduced the update to FreeRDP 2.0 which was not a trivial change. There have been issues documented and fixed.
I supposed you could try 1.0.0 and see if that works for you for now :)
On Wed, Jun 3, 2020 at 10:44 AM Douglas <[hidden email]> wrote:
I installed version 1.0.0 and it was possible to connect as I needed!
Thanks a lot for the help!
Em qua., 3 de jun. de 2020 às 12:24, Tim Worcester <[hidden email]> escreveu:
|Free forum by Nabble||Edit this page|