Re: "Error handling message from VNC server" in Debian based builds

2018-09-19 Thread Ou Changkun
Hi Jeff,

Thanks for your response. However that doesn’t help too much. I know where to 
find a typical log file, VNC logs are missing in /var/log. That’s the reason I 
post question for help.

Could you maybe try the provided only three reproduce steps yourself to see 
what is going on?

Best,
Changkun

On Sep 19, 2018, at 23:41, McRoy, Jeffrey (GE Healthcare) 
mailto:jeffrey.mc...@ge.com>> wrote:

Sounds like you setup an Ubuntu container to run the VNC server in. So, in 
Linux the log files typically go in the directory /var/log. You could look 
there. Try this to look for files with vnc entries: grep vnc /var/log/* -R | 
less

You could also try tailing the messages log file in Ubuntu while you try to 
connect to the vnc server: tail -f /var/log/messages.log

It might help to see what the vnc server is logging when you try to connect 
with the client.


Regards,
-Jeff



From: Ou Changkun mailto:ouchang...@outlook.com>>
Reply-To: "user@guacamole.apache.org" 
mailto:user@guacamole.apache.org>>
Date: Wednesday, September 19, 2018 at 2:44 PM
To: "user@guacamole.apache.org" 
mailto:user@guacamole.apache.org>>
Subject: EXT: Re: "Error handling message from VNC server" in Debian based 
builds

Hi Jeffrey,

Could you maybe tell where is the location of VNC log files and what exactly 
you want for log?

Here is all I get from `docker log` command:

USER_ID: 1000, GROUP_ID: 0
nss_wrapper location: /usr/lib/libnss_wrapper.so

-- update chromium-browser.init --

... set window size 1280 x 1024 as chrome window size!


-- change VNC password  --

-- start noVNC  

-- start VNC server 
remove old vnc locks to be a reattachable container
start vncserver with param: VNC_COL_DEPTH=24, VNC_RESOLUTION=1280x1024
...
start window manager
...


-- VNC environment started --

VNCSERVER started on DISPLAY= :1
=> connect via VNC viewer with 172.16.250.11:5901


On Sep 19, 2018, at 20:52, McRoy, Jeffrey (GE Healthcare) 
mailto:jeffrey.mc...@ge.com>> wrote:

Hi Changkun,

Could you attach the log from the VNC server?



Re: "Error handling message from VNC server" in Debian based builds

2018-09-19 Thread McRoy, Jeffrey (GE Healthcare)
Sounds like you setup an Ubuntu container to run the VNC server in. So, in 
Linux the log files typically go in the directory /var/log. You could look 
there. Try this to look for files with vnc entries: grep vnc /var/log/* -R | 
less

 

You could also try tailing the messages log file in Ubuntu while you try to 
connect to the vnc server: tail -f /var/log/messages.log

 

It might help to see what the vnc server is logging when you try to connect 
with the client.

 

 

Regards,

-Jeff

 

 

 

From: Ou Changkun 
Reply-To: "user@guacamole.apache.org" 
Date: Wednesday, September 19, 2018 at 2:44 PM
To: "user@guacamole.apache.org" 
Subject: EXT: Re: "Error handling message from VNC server" in Debian based 
builds

 

Hi Jeffrey, 

 

Could you maybe tell where is the location of VNC log files and what exactly 
you want for log?

 

Here is all I get from `docker log` command:

 

USER_ID: 1000, GROUP_ID: 0

nss_wrapper location: /usr/lib/libnss_wrapper.so

 

-- update chromium-browser.init --

 

... set window size 1280 x 1024 as chrome window size!

 

 

-- change VNC password  --

 

-- start noVNC  

 

-- start VNC server 

remove old vnc locks to be a reattachable container

start vncserver with param: VNC_COL_DEPTH=24, VNC_RESOLUTION=1280x1024

...

start window manager

...

 

 

-- VNC environment started --

 

VNCSERVER started on DISPLAY= :1

=> connect via VNC viewer with 172.16.250.11:5901



On Sep 19, 2018, at 20:52, McRoy, Jeffrey (GE Healthcare) 
 wrote:

 

Hi Changkun,

 

Could you attach the log from the VNC server?

 

 



smime.p7s
Description: S/MIME cryptographic signature


Re: VNC connection problem

2018-09-19 Thread VolandSZ
Any ideas?



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


Re: "Error handling message from VNC server" in Debian based builds

2018-09-19 Thread Ou Changkun
Hi Jeffrey,

Could you maybe tell where is the location of VNC log files and what exactly 
you want for log?

Here is all I get from `docker log` command:

USER_ID: 1000, GROUP_ID: 0
nss_wrapper location: /usr/lib/libnss_wrapper.so

-- update chromium-browser.init --

... set window size 1280 x 1024 as chrome window size!


-- change VNC password  --

-- start noVNC  

-- start VNC server 
remove old vnc locks to be a reattachable container
start vncserver with param: VNC_COL_DEPTH=24, VNC_RESOLUTION=1280x1024
...
start window manager
...


-- VNC environment started --

VNCSERVER started on DISPLAY= :1
=> connect via VNC viewer with 172.16.250.11:5901

On Sep 19, 2018, at 20:52, McRoy, Jeffrey (GE Healthcare) 
mailto:jeffrey.mc...@ge.com>> wrote:

Hi Changkun,

Could you attach the log from the VNC server?




Re: "Error handling message from VNC server" in Debian based builds

2018-09-19 Thread McRoy, Jeffrey (GE Healthcare)
Hi Changkun,

 

Could you attach the log from the VNC server?

 

Regards,

-Jeff

 

From: Ou Changkun 
Reply-To: "user@guacamole.apache.org" 
Date: Wednesday, September 19, 2018 at 9:16 AM
To: "user@guacamole.apache.org" 
Subject: EXT: "Error handling message from VNC server" in Debian based builds 

 

Hey guys,

 

I installed guacamole from source code on a Debian stretch based container. The 
browser display automatically froze after operates a little bit when I use VNC 
protocol. The cause is different from GUACAMOLE-620: guacd[9]: ERROR:
Error handling message from VNC server.

 

This behavior can be reproduced by the following steps:

 

1. Build docker image, say guacd-master, from guacamole-server master 
332e187813595fc2e769f3e29c0582b7ec726ea1.

2. Use consol/ubuntu-xfce-vnc:1.3.0 create a container as VNC server.

3. Connect to the VNC container.

4. When display appears, open a file manager, drag the window and move very 
fast. After few seconds, the display froze and connection is observed as an 
exit status.

 

I checked the source code of VNC protocol on guacamole-server side. It seems 
because of `HandleRFBServerMessage` failed without any useful context 
information, since libvncserver-dev is installed via apt-get, it seems hard to 
debug on the VNC side.

 

What could be wrong here? Is there any conflict between the VNC server and 
guacamole VNC protocol plugin? How to properly solve this problem?

 

Thank you in advance.

 

Best,

Changkun

 

 

 

 

Complete outputs:

===

guacd[7]: INFO: Guacamole proxy daemon (guacd) version 1.0.0 started

guacd[7]: DEBUG:Successfully bound socket to host 0.0.0.0, port 4822

guacd[7]: INFO: Listening on host 0.0.0.0, port 4822

guacd[7]: INFO: Creating new client for protocol "vnc"

guacd[7]: INFO: Connection ID is "$3fdc295a-d82f-4f81-97fc-a483b591944e"

guacd[9]: INFO: Cursor rendering: local

guacd[9]: DEBUG:Parameter "swap-red-blue" omitted. Using default value 
of 0.

guacd[9]: DEBUG:Parameter "read-only" omitted. Using default value of 0.

guacd[9]: DEBUG:Parameter "color-depth" omitted. Using default value of 
0.

guacd[9]: DEBUG:Parameter "dest-port" omitted. Using default value of 0.

guacd[9]: DEBUG:Parameter "encodings" omitted. Using default value of 
"zrle ultra copyrect hextile zlib corre rre raw".

guacd[9]: DEBUG:Parameter "autoretry" omitted. Using default value of 0.

guacd[9]: DEBUG:Parameter "reverse-connect" omitted. Using default 
value of 0.

guacd[9]: DEBUG:Parameter "listen-timeout" omitted. Using default value 
of 5000.

guacd[9]: DEBUG:Parameter "enable-audio" omitted. Using default value 
of 0.

guacd[9]: DEBUG:Parameter "enable-sftp" omitted. Using default value of 
0.

guacd[9]: DEBUG:Parameter "sftp-hostname" omitted. Using default value 
of "172.16.250.11".

guacd[9]: DEBUG:Parameter "sftp-host-key" omitted. Using default value 
of "22".

guacd[9]: DEBUG:Parameter "sftp-port" omitted. Using default value of 
"".

guacd[9]: DEBUG:Parameter "sftp-password" omitted. Using default value 
of "".

guacd[9]: DEBUG:Parameter "sftp-passphrase" omitted. Using default 
value of "".

guacd[9]: DEBUG:Parameter "sftp-root-directory" omitted. Using default 
value of "/".

guacd[9]: DEBUG:Parameter "sftp-server-alive-interval" omitted. Using 
default value of 0.

guacd[9]: DEBUG:Parameter "recording-name" omitted. Using default value 
of "recording".

guacd[9]: DEBUG:Parameter "recording-exclude-output" omitted. Using 
default value of 0.

guacd[9]: DEBUG:Parameter "recording-exclude-mouse" omitted. Using 
default value of 0.

guacd[9]: DEBUG:Parameter "recording-include-keys" omitted. Using 
default value of 0.

guacd[9]: DEBUG:Parameter "create-recording-path" omitted. Using 
default value of 0.

guacd[9]: INFO: User "@c38445a9-288e-4ec2-b09b-64ec1b0d337c" joined connection 
"$3fdc295a-d82f-4f81-97fc-a483b591944e" (1 users now present)

guacd[9]: ERROR:Error handling message from VNC server.

guacd[9]: INFO: Internal VNC client disconnected

guacd[9]: INFO: User "@c38445a9-288e-4ec2-b09b-64ec1b0d337c" disconnected (0 
users remain)

guacd[9]: INFO: Last user of connection "$3fdc295a-d82f-4f81-97fc-a483b591944e" 
disconnected

guacd[9]: DEBUG:Requesting termination of client...

guacd[9]: DEBUG:Client terminated successfully.

guacd[7]: INFO: Connection "$3fdc295a-d82f-4f81-97fc-a483b591944e" removed.



smime.p7s
Description: S/MIME cryptographic signature