Quantcast

ReverseVNC issue

classic Classic list List threaded Threaded
16 messages Options
Reply | Threaded
Open this post in threaded view
|  
Report Content as Inappropriate

ReverseVNC issue

khchew
Hi All,

Reply | Threaded
Open this post in threaded view
|  
Report Content as Inappropriate

Re: ReverseVNC issue

Mike Jumper
Hi.

On Mar 2, 2017 16:25, "Kok Hooi Chew" <[hidden email]> wrote:
Hi All,

Reply | Threaded
Open this post in threaded view
|  
Report Content as Inappropriate

Re: ReverseVNC issue

khchew
In reply to this post by khchew
Hi All,
I'm using Guacamole v0.9.10 with NoAuth extension. I'm having issues when using ReverseVNC where most of the time it's either getting connection timeout or screen is shown but no mouse cursor or screen is shown but not updated

Guacd log
Mar  3 00:21:11 FMUbuntu guacd[1398]: Creating new client for protocol "vnc"
Mar  3 00:21:11 FMUbuntu guacd[1398]: Connection ID is "$996828ec-99ca-4141-b49f-60f7ebd0ea25"
Mar  3 00:21:11 FMUbuntu guacd[40842]: Cursor rendering: local
Mar  3 00:21:11 FMUbuntu guacd[40842]: User "@3a384570-f795-4722-a232-27d4fbd45a94" joined connection "$996828ec-99ca-4141-b49f-60f7ebd0ea25" (1 users now present)
Mar  3 00:21:11 FMUbuntu guacd[40842]: Listening for connections on port 7716
Mar  3 00:21:11 FMUbuntu guacd[40842]:  -listennofork: Listening on port 7716
Mar  3 00:21:11 FMUbuntu guacd[40842]:  -listennofork: Command line errors are not reported until a connection comes in.
Mar  3 00:21:15 FMUbuntu systemd[40649]: Time has been changed

Catalina log
00:21:11.455 [http-nio-8080-exec-1] INFO  o.a.g.tunnel.TunnelRequestService - User "d8af80b4-233c-4a9f-bca0-83b980718e94" connected to connection "ReverseVNC7716".
00:22:11.451 [http-nio-8080-exec-8] INFO  o.a.g.tunnel.TunnelRequestService - User "d8af80b4-233c-4a9f-bca0-83b980718e94" disconnected from connection "ReverseVNC7716". Duration: 59996 milliseconds
00:22:27.466 [http-nio-8080-exec-10] INFO  o.a.g.tunnel.TunnelRequestService - User "d8af80b4-233c-4a9f-bca0-83b980718e94" connected to connection "ReverseVNC7716".
Exception in thread "Thread-1698" java.lang.IllegalStateException: Message will not be sent because the WebSocket session has been closed
at org.apache.tomcat.websocket.WsRemoteEndpointImplBase.writeMessagePart(WsRemoteEndpointImplBase.java:384)
at org.apache.tomcat.websocket.WsRemoteEndpointImplBase.startMessage(WsRemoteEndpointImplBase.java:340)
at org.apache.tomcat.websocket.WsRemoteEndpointImplBase$TextMessageSendHandler.write(WsRemoteEndpointImplBase.java:755)
at org.apache.tomcat.websocket.WsRemoteEndpointImplBase.sendPartialString(WsRemoteEndpointImplBase.java:252)
at org.apache.tomcat.websocket.WsRemoteEndpointImplBase.sendString(WsRemoteEndpointImplBase.java:195)
at org.apache.tomcat.websocket.WsRemoteEndpointBasic.sendText(WsRemoteEndpointBasic.java:37)
at org.apache.guacamole.websocket.GuacamoleWebSocketTunnelEndpoint$2.run(GuacamoleWebSocketTunnelEndpoint.java:169)

Appreciate your help as I'm having the same issues even though we setup a new deployment

Thanks

Regards
Chew

On Fri, Mar 3, 2017 at 8:25 AM, Kok Hooi Chew <[hidden email]> wrote:
Hi All,


Reply | Threaded
Open this post in threaded view
|  
Report Content as Inappropriate

Re: ReverseVNC issue

khchew
Hi All
Any advise?



From: Kok Hooi Chew <[hidden email]>
Sent: Friday, March 3, 2017 8:28:12 AM
To: [hidden email]
Subject: Re: ReverseVNC issue
 
Hi All,
I'm using Guacamole v0.9.10 with NoAuth extension. I'm having issues when using ReverseVNC where most of the time it's either getting connection timeout or screen is shown but no mouse cursor or screen is shown but not updated

Guacd log
Mar  3 00:21:11 FMUbuntu guacd[1398]: Creating new client for protocol "vnc"
Mar  3 00:21:11 FMUbuntu guacd[1398]: Connection ID is "$996828ec-99ca-4141-b49f-60f7ebd0ea25"
Mar  3 00:21:11 FMUbuntu guacd[40842]: Cursor rendering: local
Mar  3 00:21:11 FMUbuntu guacd[40842]: User "@3a384570-f795-4722-a232-27d4fbd45a94" joined connection "$996828ec-99ca-4141-b49f-60f7ebd0ea25" (1 users now present)
Mar  3 00:21:11 FMUbuntu guacd[40842]: Listening for connections on port 7716
Mar  3 00:21:11 FMUbuntu guacd[40842]:  -listennofork: Listening on port 7716
Mar  3 00:21:11 FMUbuntu guacd[40842]:  -listennofork: Command line errors are not reported until a connection comes in.
Mar  3 00:21:15 FMUbuntu systemd[40649]: Time has been changed

Catalina log
00:21:11.455 [http-nio-8080-exec-1] INFO  o.a.g.tunnel.TunnelRequestService - User "d8af80b4-233c-4a9f-bca0-83b980718e94" connected to connection "ReverseVNC7716".
00:22:11.451 [http-nio-8080-exec-8] INFO  o.a.g.tunnel.TunnelRequestService - User "d8af80b4-233c-4a9f-bca0-83b980718e94" disconnected from connection "ReverseVNC7716". Duration: 59996 milliseconds
00:22:27.466 [http-nio-8080-exec-10] INFO  o.a.g.tunnel.TunnelRequestService - User "d8af80b4-233c-4a9f-bca0-83b980718e94" connected to connection "ReverseVNC7716".
Exception in thread "Thread-1698" java.lang.IllegalStateException: Message will not be sent because the WebSocket session has been closed
at org.apache.tomcat.websocket.WsRemoteEndpointImplBase.writeMessagePart(WsRemoteEndpointImplBase.java:384)
at org.apache.tomcat.websocket.WsRemoteEndpointImplBase.startMessage(WsRemoteEndpointImplBase.java:340)
at org.apache.tomcat.websocket.WsRemoteEndpointImplBase$TextMessageSendHandler.write(WsRemoteEndpointImplBase.java:755)
at org.apache.tomcat.websocket.WsRemoteEndpointImplBase.sendPartialString(WsRemoteEndpointImplBase.java:252)
at org.apache.tomcat.websocket.WsRemoteEndpointImplBase.sendString(WsRemoteEndpointImplBase.java:195)
at org.apache.tomcat.websocket.WsRemoteEndpointBasic.sendText(WsRemoteEndpointBasic.java:37)
at org.apache.guacamole.websocket.GuacamoleWebSocketTunnelEndpoint$2.run(GuacamoleWebSocketTunnelEndpoint.java:169)

Appreciate your help as I'm having the same issues even though we setup a new deployment

Thanks

Regards
Chew

On Fri, Mar 3, 2017 at 8:25 AM, Kok Hooi Chew <[hidden email]> wrote:
Hi All,


Reply | Threaded
Open this post in threaded view
|  
Report Content as Inappropriate

Re: ReverseVNC issue

Mike Jumper
In reply to this post by khchew
On Thu, Mar 2, 2017 at 4:28 PM, Kok Hooi Chew <[hidden email]> wrote:
Hi All,
I'm using Guacamole v0.9.10 with NoAuth extension. I'm having issues when using ReverseVNC where most of the time it's either getting connection timeout or screen is shown but no mouse cursor or screen is shown but not updated

Guacd log
Mar  3 00:21:11 FMUbuntu guacd[1398]: Creating new client for protocol "vnc"
Mar  3 00:21:11 FMUbuntu guacd[1398]: Connection ID is "$996828ec-99ca-4141-b49f-60f7ebd0ea25"
Mar  3 00:21:11 FMUbuntu guacd[40842]: Cursor rendering: local
Mar  3 00:21:11 FMUbuntu guacd[40842]: User "@3a384570-f795-4722-a232-27d4fbd45a94" joined connection "$996828ec-99ca-4141-b49f-60f7ebd0ea25" (1 users now present)
Mar  3 00:21:11 FMUbuntu guacd[40842]: Listening for connections on port 7716
Mar  3 00:21:11 FMUbuntu guacd[40842]:  -listennofork: Listening on port 7716
Mar  3 00:21:11 FMUbuntu guacd[40842]:  -listennofork: Command line errors are not reported until a connection comes in.
Mar  3 00:21:15 FMUbuntu systemd[40649]: Time has been changed


Are you sure port 7716 is open and reachable from the VNC server initiating the reverse connection?

- Mike

Reply | Threaded
Open this post in threaded view
|  
Report Content as Inappropriate

Re: ReverseVNC issue

khchew
Hi Mike
Yup, the port is open, intermittenly we will face issue like screen not updated or mouse doesn't show, but sometimes it's working fine. 



From: Mike Jumper <[hidden email]>
Sent: Sunday, March 5, 2017 5:51:29 AM
To: [hidden email]
Subject: Re: ReverseVNC issue
 
On Thu, Mar 2, 2017 at 4:28 PM, Kok Hooi Chew <[hidden email]> wrote:
Hi All,
I'm using Guacamole v0.9.10 with NoAuth extension. I'm having issues when using ReverseVNC where most of the time it's either getting connection timeout or screen is shown but no mouse cursor or screen is shown but not updated

Guacd log
Mar  3 00:21:11 FMUbuntu guacd[1398]: Creating new client for protocol "vnc"
Mar  3 00:21:11 FMUbuntu guacd[1398]: Connection ID is "$996828ec-99ca-4141-b49f-60f7ebd0ea25"
Mar  3 00:21:11 FMUbuntu guacd[40842]: Cursor rendering: local
Mar  3 00:21:11 FMUbuntu guacd[40842]: User "@3a384570-f795-4722-a232-27d4fbd45a94" joined connection "$996828ec-99ca-4141-b49f-60f7ebd0ea25" (1 users now present)
Mar  3 00:21:11 FMUbuntu guacd[40842]: Listening for connections on port 7716
Mar  3 00:21:11 FMUbuntu guacd[40842]:  -listennofork: Listening on port 7716
Mar  3 00:21:11 FMUbuntu guacd[40842]:  -listennofork: Command line errors are not reported until a connection comes in.
Mar  3 00:21:15 FMUbuntu systemd[40649]: Time has been changed


Are you sure port 7716 is open and reachable from the VNC server initiating the reverse connection?

- Mike

Reply | Threaded
Open this post in threaded view
|  
Report Content as Inappropriate

Re: ReverseVNC issue

khchew
Hi Mike,
   Will installing Guacamole in Windows Azure causing all these issues? Sometimes even when the mouse are not showing, I still can click on the screen, and the click event is being passed successfully to the phone

  What else I can check on my side?

Thanks

Regards
KokHooi

On Sun, Mar 5, 2017 at 7:46 AM, Kok Hooi Chew <[hidden email]> wrote:
Hi Mike
Yup, the port is open, intermittenly we will face issue like screen not updated or mouse doesn't show, but sometimes it's working fine. 



From: Mike Jumper <[hidden email]>
Sent: Sunday, March 5, 2017 5:51:29 AM
To: [hidden email]
Subject: Re: ReverseVNC issue
 
On Thu, Mar 2, 2017 at 4:28 PM, Kok Hooi Chew <[hidden email]> wrote:
Hi All,
I'm using Guacamole v0.9.10 with NoAuth extension. I'm having issues when using ReverseVNC where most of the time it's either getting connection timeout or screen is shown but no mouse cursor or screen is shown but not updated

Guacd log
Mar  3 00:21:11 FMUbuntu guacd[1398]: Creating new client for protocol "vnc"
Mar  3 00:21:11 FMUbuntu guacd[1398]: Connection ID is "$996828ec-99ca-4141-b49f-60f7ebd0ea25"
Mar  3 00:21:11 FMUbuntu guacd[40842]: Cursor rendering: local
Mar  3 00:21:11 FMUbuntu guacd[40842]: User "@3a384570-f795-4722-a232-27d4fbd45a94" joined connection "$996828ec-99ca-4141-b49f-60f7ebd0ea25" (1 users now present)
Mar  3 00:21:11 FMUbuntu guacd[40842]: Listening for connections on port 7716
Mar  3 00:21:11 FMUbuntu guacd[40842]:  -listennofork: Listening on port 7716
Mar  3 00:21:11 FMUbuntu guacd[40842]:  -listennofork: Command line errors are not reported until a connection comes in.
Mar  3 00:21:15 FMUbuntu systemd[40649]: Time has been changed


Are you sure port 7716 is open and reachable from the VNC server initiating the reverse connection?

- Mike


Reply | Threaded
Open this post in threaded view
|  
Report Content as Inappropriate

Re: ReverseVNC issue

Mike Jumper
On Sun, Mar 5, 2017 at 5:14 PM, Kok Hooi Chew <[hidden email]> wrote:
Hi Mike,
   Will installing Guacamole in Windows Azure causing all these issues?

No, that is unlikely.

Sometimes even when the mouse are not showing, I still can click on the screen, and the click event is being passed successfully to the phone


The VNC server is running on a phone?

- Mike

Reply | Threaded
Open this post in threaded view
|  
Report Content as Inappropriate

Re: ReverseVNC issue

khchew
Hi Mike,
Yup, it's a customize VNC server written by my colleagues. Doubt it could be the VNC server on phone, as I'm having the same issues when using reverseVNC from desktop using TightVNC server. 

Hope you can shed some lights as Guacamole is really a powerful software

On Mon, Mar 6, 2017 at 11:37 AM, Mike Jumper <[hidden email]> wrote:
On Sun, Mar 5, 2017 at 5:14 PM, Kok Hooi Chew <[hidden email]> wrote:
Hi Mike,
   Will installing Guacamole in Windows Azure causing all these issues?

No, that is unlikely.

Sometimes even when the mouse are not showing, I still can click on the screen, and the click event is being passed successfully to the phone


The VNC server is running on a phone?

- Mike


Reply | Threaded
Open this post in threaded view
|  
Report Content as Inappropriate

Re: ReverseVNC issue

khchew
Hi All,
Anything that I can do to further troubleshoot the issue?

Thanks

Regards
KokHooi

On Mon, Mar 6, 2017 at 11:55 AM, Kok Hooi Chew <[hidden email]> wrote:
Hi Mike,
Yup, it's a customize VNC server written by my colleagues. Doubt it could be the VNC server on phone, as I'm having the same issues when using reverseVNC from desktop using TightVNC server. 

Hope you can shed some lights as Guacamole is really a powerful software

On Mon, Mar 6, 2017 at 11:37 AM, Mike Jumper <[hidden email]> wrote:
On Sun, Mar 5, 2017 at 5:14 PM, Kok Hooi Chew <[hidden email]> wrote:
Hi Mike,
   Will installing Guacamole in Windows Azure causing all these issues?

No, that is unlikely.

Sometimes even when the mouse are not showing, I still can click on the screen, and the click event is being passed successfully to the phone


The VNC server is running on a phone?

- Mike



Reply | Threaded
Open this post in threaded view
|  
Report Content as Inappropriate

Re: ReverseVNC issue

khchew
Hi All,
Upgraded to 0.9.11, even though the reverse vnc feels more responsive, but still having the issues occasionally the screen is not being updated



On Wed, Mar 8, 2017 at 7:33 AM, Kok Hooi Chew <[hidden email]> wrote:
Hi All,
Anything that I can do to further troubleshoot the issue?

Thanks

Regards
KokHooi

On Mon, Mar 6, 2017 at 11:55 AM, Kok Hooi Chew <[hidden email]> wrote:
Hi Mike,
Yup, it's a customize VNC server written by my colleagues. Doubt it could be the VNC server on phone, as I'm having the same issues when using reverseVNC from desktop using TightVNC server. 

Hope you can shed some lights as Guacamole is really a powerful software

On Mon, Mar 6, 2017 at 11:37 AM, Mike Jumper <[hidden email]> wrote:
On Sun, Mar 5, 2017 at 5:14 PM, Kok Hooi Chew <[hidden email]> wrote:
Hi Mike,
   Will installing Guacamole in Windows Azure causing all these issues?

No, that is unlikely.

Sometimes even when the mouse are not showing, I still can click on the screen, and the click event is being passed successfully to the phone


The VNC server is running on a phone?

- Mike




Reply | Threaded
Open this post in threaded view
|  
Report Content as Inappropriate

Re: ReverseVNC issue

Mike Jumper
On Thu, Mar 16, 2017 at 4:05 PM, Kok Hooi Chew <[hidden email]> wrote:
Hi All,

Hey Kok Hooi,
 
Upgraded to 0.9.11, even though the reverse vnc feels more responsive

Great! I'd be interested to hear whether things are further improved with recent changes on master. There are changes related to the experimental X.Org driver development (https://issues.apache.org/jira/browse/GUACAMOLE-168) which have been merged that have performance implications.

but still having the issues occasionally the screen is not being updated


The fact that a connection is normal VNC vs. reverse VNC is pretty opaque to Guacamole's VNC client, with much of the difference abstracted away by the library we use which actually implements the VNC protocol (libvncclient). There is a difference in the way the connection is initially established, but other than that the functions, etc. invoked/provided for the remainder of the session are identical. I would lean toward there possibly being a bug in the handling of reverse VNC in libvncclient, but testing that would require using some other VNC client which also uses libvncclient.

I believe Remmina uses libvncclient as well. Could you see if the same problem occurs there? (Assuming that your distribution shows a dependency on libvncclient for the remmina package or its VNC plugin ... if not then this test may be useless...)

Thanks,

- Mike

Reply | Threaded
Open this post in threaded view
|  
Report Content as Inappropriate

Re: ReverseVNC issue

khchew
Hi Mike
Thanks a lot for the suggestion. will get back to you once i've done on the testing you suggested

From: Mike Jumper <[hidden email]>
Sent: Friday, March 17, 2017 9:43:19 AM
To: [hidden email]
Subject: Re: ReverseVNC issue
 
On Thu, Mar 16, 2017 at 4:05 PM, Kok Hooi Chew <[hidden email]> wrote:
Hi All,

Hey Kok Hooi,
 
Upgraded to 0.9.11, even though the reverse vnc feels more responsive

Great! I'd be interested to hear whether things are further improved with recent changes on master. There are changes related to the experimental X.Org driver development (https://issues.apache.org/jira/browse/GUACAMOLE-168) which have been merged that have performance implications.

but still having the issues occasionally the screen is not being updated


The fact that a connection is normal VNC vs. reverse VNC is pretty opaque to Guacamole's VNC client, with much of the difference abstracted away by the library we use which actually implements the VNC protocol (libvncclient). There is a difference in the way the connection is initially established, but other than that the functions, etc. invoked/provided for the remainder of the session are identical. I would lean toward there possibly being a bug in the handling of reverse VNC in libvncclient, but testing that would require using some other VNC client which also uses libvncclient.

I believe Remmina uses libvncclient as well. Could you see if the same problem occurs there? (Assuming that your distribution shows a dependency on libvncclient for the remmina package or its VNC plugin ... if not then this test may be useless...)

Thanks,

- Mike

Reply | Threaded
Open this post in threaded view
|  
Report Content as Inappropriate

Re: ReverseVNC issue

khchew
Hi All,
I've configured both the Guacamole and Remmina in the same ubuntu server running the same libvncclient. I'm still having the issue where screen not updated or mouse cursor missing when using Guacamole, but not when using Remmina. 

Any idea?

Thanks

On Fri, Mar 17, 2017 at 10:04 AM, Kok Hooi Chew <[hidden email]> wrote:
Hi Mike
Thanks a lot for the suggestion. will get back to you once i've done on the testing you suggested

From: Mike Jumper <[hidden email]>
Sent: Friday, March 17, 2017 9:43:19 AM
To: [hidden email]
Subject: Re: ReverseVNC issue
 
On Thu, Mar 16, 2017 at 4:05 PM, Kok Hooi Chew <[hidden email]> wrote:
Hi All,

Hey Kok Hooi,
 
Upgraded to 0.9.11, even though the reverse vnc feels more responsive

Great! I'd be interested to hear whether things are further improved with recent changes on master. There are changes related to the experimental X.Org driver development (https://issues.apache.org/jira/browse/GUACAMOLE-168) which have been merged that have performance implications.

but still having the issues occasionally the screen is not being updated


The fact that a connection is normal VNC vs. reverse VNC is pretty opaque to Guacamole's VNC client, with much of the difference abstracted away by the library we use which actually implements the VNC protocol (libvncclient). There is a difference in the way the connection is initially established, but other than that the functions, etc. invoked/provided for the remainder of the session are identical. I would lean toward there possibly being a bug in the handling of reverse VNC in libvncclient, but testing that would require using some other VNC client which also uses libvncclient.

I believe Remmina uses libvncclient as well. Could you see if the same problem occurs there? (Assuming that your distribution shows a dependency on libvncclient for the remmina package or its VNC plugin ... if not then this test may be useless...)

Thanks,

- Mike


Reply | Threaded
Open this post in threaded view
|  
Report Content as Inappropriate

Re: ReverseVNC issue

Mike Jumper
On Sun, Mar 19, 2017 at 8:59 PM, Kok Hooi Chew <[hidden email]> wrote:
Hi All,
I've configured both the Guacamole and Remmina in the same ubuntu server running the same libvncclient. I'm still having the issue where screen not updated or mouse cursor missing when using Guacamole, but not when using Remmina. 

Any idea?


At this point, not specifically, but if you're not seeing the same issue with Remmina, then I can only assume it must be a bug in Guacamole.

Mind opening an issue for this in JIRA?

Thanks,

- Mike

Reply | Threaded
Open this post in threaded view
|  
Report Content as Inappropriate

Re: ReverseVNC issue

khchew
Hi Mike
Any implication if i set the listen-timeout way longer like 60seconds? after open the reverse vnc connection from guacamole, the longer the server try to connect back the higher the chances of missing mouse cursor and screen not updated



From: Mike Jumper <[hidden email]>
Sent: Monday, March 20, 2017 12:33:10 PM
To: [hidden email]
Subject: Re: ReverseVNC issue
 
On Sun, Mar 19, 2017 at 8:59 PM, Kok Hooi Chew <[hidden email]> wrote:
Hi All,
I've configured both the Guacamole and Remmina in the same ubuntu server running the same libvncclient. I'm still having the issue where screen not updated or mouse cursor missing when using Guacamole, but not when using Remmina. 

Any idea?


At this point, not specifically, but if you're not seeing the same issue with Remmina, then I can only assume it must be a bug in Guacamole.

Mind opening an issue for this in JIRA?

Thanks,

- Mike

Loading...