You are viewing a plain text version of this content. The canonical link for it is here.
Posted to user@guacamole.apache.org by shahidashraf78 <sa...@coresense.com> on 2020/07/20 11:10:11 UTC

guacd[]: Unable to connect to VNC server

Hi,

I'm facing guacamole connectivity with x11vnc.

the x11vnc server is Ubuntu 18 LTS.
the guacamole server is Ubuntu 18 LTS with "guacamole-1.2.0.war"
"guacamole-server-1.2.0" "guacamole-auth-jdbc-1.2.0.tar.gz"

I'm getting the following error.

Ubuntu Syslog:
Jul 17 11:23:00 guacamole2 guacd[652]: Creating new client for protocol
"vnc"
Jul 17 11:23:00 guacamole2 guacd[652]: Connection ID is
"$b379e68c-7974-4051-8cc5-050f871a0ed8"
Jul 17 11:23:00 guacamole2 guacd[2538]: Cursor rendering: local
Jul 17 11:23:00 guacamole2 guacd[2538]: User
"@33b51f5c-010f-4ec1-baec-45d9eafdd0d9" joined connection
"$b379e68c-7974-4051-8cc5-050f871a0ed8" (1 users now present)
Jul 17 11:23:00 guacamole2 guacd[2538]: ConnectClientToTcpAddr6: getaddrinfo
(Name or service not known)
Jul 17 11:23:00 guacamole2 guacd[2538]: ConnectToTcpAddr: connect
Jul 17 11:23:00 guacamole2 guacd[2538]: Unable to connect to VNC server
Jul 17 11:23:00 guacamole2 guacd[2538]: Unable to connect to VNC server.
Jul 17 11:23:01 guacamole2 guacd[2538]: User
"@33b51f5c-010f-4ec1-baec-45d9eafdd0d9" disconnected (0 users remain)
Jul 17 11:23:01 guacamole2 guacd[2538]: Last user of connection
"$b379e68c-7974-4051-8cc5-050f871a0ed8" disconnected

Tomcat 8 log:

11:23:01.026 [http-nio-8080-exec-3] INFO  o.a.g.tunnel.TunnelRequestService
- User "cstest" disconnected from connection "1". Duration: 399 milliseconds
Exception in thread "Thread-38" 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)

Please help me to fix this issue.

-- 



--
Sent from: http://apache-guacamole-general-user-mailing-list.2363388.n4.nabble.com/

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


Re: guacd[]: Unable to connect to VNC server

Posted by shahidashraf78 <sa...@coresense.com>.
Name resolution didn't fix the issue. 
Jul 20 08:14:09 guacamole guacd[10548]: User
"@1dc6a6a6-b3db-4405-92c8-8c62bd4ea81e" joined connection
"$130ae87a-13f5-4ba9-b4e9-6d28e75c3545" (1 users now present)
Jul 20 08:14:12 guacamole guacd[10548]: VNC server supports protocol version
3.8 (viewer 3.8)
Jul 20 08:14:12 guacamole guacd[10548]: We have 2 security types to read
Jul 20 08:14:12 guacamole guacd[10548]: 0) Received security type 19
Jul 20 08:14:12 guacamole guacd[10548]: Selecting security type 19 (0/2 in
the list)
Jul 20 08:14:12 guacamole guacd[10548]: 1) Received security type 18
Jul 20 08:14:12 guacamole guacd[10548]: Selected Security Scheme 19
Jul 20 08:14:12 guacamole guacd[10548]: GnuTLS initialized.
Jul 20 08:14:12 guacamole guacd[10548]: Got VeNCrypt version 0.2 from
server.
Jul 20 08:14:13 guacamole guacd[10548]: We have 2 security types to read
Jul 20 08:14:13 guacamole guacd[10548]: 0) Received security type 258
Jul 20 08:14:13 guacamole guacd[10548]: Selecting security type 258 (0/2 in
the list)
Jul 20 08:14:13 guacamole guacd[10548]: 1) Received security type 261
Jul 20 08:14:13 guacamole guacd[10548]: TLS session initialized.
Jul 20 08:14:13 guacamole guacd[10548]: TLS anonymous credential created.
Jul 20 08:14:13 guacamole guacd[10548]: TLS handshake blocking.
Jul 20 08:14:14 guacamole guacd[10548]: TLS handshake failed: A TLS fatal
alert has been received..
Jul 20 08:14:14 guacamole guacd[10548]: Unable to connect to VNC server.
Jul 20 08:14:14 guacamole guacd[17771]: Connection
"$130ae87a-13f5-4ba9-b4e9-6d28e75c3545" removed.
Jul 20 08:14:14 guacamole kernel: [51977749.652716] guacd[10551]: segfault
at 10 ip 00007fea933dade2 sp 00007fea915e1cb0 error 4 in
libguac-client-vnc.so.0.0.0[7fea933d2000+14000]
Jul 20 08:14:17 guacamole guacd[17771]: Creating new client for protocol
"vnc"
Jul 20 08:14:17 guacamole guacd[17771]: Connection ID is
"$11206d87-5c75-4541-afd6-8a30ea7833aa"
Jul 20 08:14:17 guacamole guacd[10562]: Cursor rendering: local
Jul 20 08:14:17 guacamole guacd[10562]: User
"@92b94391-51f6-49d3-9a92-3dea873fac77" joined connection
"$11206d87-5c75-4541-afd6-8a30ea7833aa" (1 users now present)
Jul 20 08:14:20 guacamole guacd[10562]: VNC server supports protocol version
3.8 (viewer 3.8)






--
Sent from: http://apache-guacamole-general-user-mailing-list.2363388.n4.nabble.com/

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


Re: guacd[]: Unable to connect to VNC server

Posted by Nick Couchman <vn...@apache.org>.
On Mon, Jul 20, 2020 at 7:10 AM shahidashraf78 <sa...@coresense.com>
wrote:

> Hi,
>
> I'm facing guacamole connectivity with x11vnc.
>
> the x11vnc server is Ubuntu 18 LTS.
> the guacamole server is Ubuntu 18 LTS with "guacamole-1.2.0.war"
> "guacamole-server-1.2.0" "guacamole-auth-jdbc-1.2.0.tar.gz"
>
> I'm getting the following error.
>
> Ubuntu Syslog:
> Jul 17 11:23:00 guacamole2 guacd[652]: Creating new client for protocol
> "vnc"
> Jul 17 11:23:00 guacamole2 guacd[652]: Connection ID is
> "$b379e68c-7974-4051-8cc5-050f871a0ed8"
> Jul 17 11:23:00 guacamole2 guacd[2538]: Cursor rendering: local
> Jul 17 11:23:00 guacamole2 guacd[2538]: User
> "@33b51f5c-010f-4ec1-baec-45d9eafdd0d9" joined connection
> "$b379e68c-7974-4051-8cc5-050f871a0ed8" (1 users now present)
> Jul 17 11:23:00 guacamole2 guacd[2538]: ConnectClientToTcpAddr6:
> getaddrinfo
> (Name or service not known)
>

The server where guacd is running cannot resolve the name of the VNC
server.  You need to fix the name resolution issue - from the server
running guacd you should be able to do "nslookup <hostname>" or "host
<hostname>" or "ping <hostname>" and the address should resolve correctly.

-Nick