You are viewing a plain text version of this content. The canonical link for it is here.
Posted to user@guacamole.apache.org by 박제형 <sj...@naver.com> on 2022/04/14 14:41:20 UTC

I can't connect VNC and DRP

​ssh connects successfully, but VNC and DRP don't connect. 
The following is the log when trying to connect to VNC.
 
system log
Apr 14 22:40:04 raspberrypi guacd[26140]: Connection "$e01e238e-a799-45e5-b809-1b627e39b99d" removed.
Apr 14 22:46:10 raspberrypi guacd[26140]: Creating new client for protocol "vnc"
Apr 14 22:46:10 raspberrypi guacd[26140]: Connection ID is "$3e3adf64-6fb9-45e7-a3f9-f136c7cbbf17"
Apr 14 22:46:10 raspberrypi guacd[27295]: Cursor rendering: local
Apr 14 22:46:10 raspberrypi guacd[27295]: User "@2d1cb845-621b-42ca-b77d-3800d20132ce" joined connection "$3e3adf64-6fb9-45e7-a3f9-f136c7cbbf17" (1 users now present)
Apr 14 22:46:10 raspberrypi guacd[27295]: ConnectClientToTcpAddr6: connect
Apr 14 22:46:10 raspberrypi guacd[27295]: ConnectToTcpAddr: connect
Apr 14 22:46:10 raspberrypi guacd[27295]: Unable to connect to VNC server
Apr 14 22:46:10 raspberrypi guacd[27295]: Unable to connect to VNC server.
Apr 14 22:46:10 raspberrypi guacd[27295]: User "@2d1cb845-621b-42ca-b77d-3800d20132ce" disconnected (0 users remain)
Apr 14 22:46:10 raspberrypi guacd[27295]: Last user of connection "$3e3adf64-6fb9-45e7-a3f9-f136c7cbbf17" disconnected
Apr 14 22:46:10 raspberrypi guacd[26140]: Connection "$3e3adf64-6fb9-45e7-a3f9-f136c7cbbf17" removed.
 
Tomcat log
[2022-04-14 22:46:10] [info] 22:46:10.419 [ajp-nio-8009-exec-3] INFO  o.a.g.tunnel.TunnelRequestService - User "jhpark" connected to connection "5".
[2022-04-14 22:46:10] [info] 22:46:10.419 [ajp-nio-8009-exec-3] INFO  o.a.g.t.h.RestrictedGuacamoleHTTPTunnelServlet - Using HTTP tunnel (not WebSocket). Performance may be sub-optimal.
[2022-04-14 22:46:25] [info] 22:46:25.498 [ajp-nio-8009-exec-9] INFO  o.a.g.tunnel.TunnelRequestService - User "jhpark" disconnected from connection "5". Duration: 15079 milliseconds
[2022-04-14 22:46:25] [info] 22:46:25.524 [ajp-nio-8009-exec-9] ERROR o.a.g.s.GuacamoleHTTPTunnelServlet - HTTP tunnel request failed: Connection to guacd timed out.

Re: I can't connect VNC and DRP

Posted by Nick Couchman <vn...@apache.org>.
On Thu, Apr 14, 2022 at 10:41 AM 박제형 <sj...@naver.com> wrote:

> ssh connects successfully, but VNC and DRP don't connect.
>
> The following is the log when trying to connect to VNC.
>
>
>
> *system log*
>
> Apr 14 22:40:04 raspberrypi guacd[26140]: Connection
> "$e01e238e-a799-45e5-b809-1b627e39b99d" removed.
>
> Apr 14 22:46:10 raspberrypi guacd[26140]: Creating new client for protocol
> "vnc"
>
> Apr 14 22:46:10 raspberrypi guacd[26140]: Connection ID is
> "$3e3adf64-6fb9-45e7-a3f9-f136c7cbbf17"
>
> Apr 14 22:46:10 raspberrypi guacd[27295]: Cursor rendering: local
>
> Apr 14 22:46:10 raspberrypi guacd[27295]: User
> "@2d1cb845-621b-42ca-b77d-3800d20132ce" joined connection
> "$3e3adf64-6fb9-45e7-a3f9-f136c7cbbf17" (1 users now present)
>
> Apr 14 22:46:10 raspberrypi guacd[27295]: ConnectClientToTcpAddr6: connect
>
> Apr 14 22:46:10 raspberrypi guacd[27295]: ConnectToTcpAddr: connect
>
> Apr 14 22:46:10 raspberrypi guacd[27295]: Unable to connect to VNC server
>
> Apr 14 22:46:10 raspberrypi guacd[27295]: Unable to connect to VNC server.
>

There's not really a lot to say besides what the log says - it cannot
locate or connect to the VNC server. Also, I'm not entirely sure, but it
looks like it's trying to connect to a server called "connect". If you're
using a custom-built Guacamole application, rather than the provided
Guacamole Client, you may be sending instructions incorrectly such that the
"connect" instruction is being delivered as one of the arguments for the
connection.

If you're using the stock Guacamole Client, then you just need to make sure
your connection parameters are configured correctly and that the system
running guacd can both resolve server names and actually connect to them.

-Nick

>