Re: VNC connection problem
On Tue, Sep 25, 2018 at 8:19 PM VolandSZ wrote: > I am still struggling on how to run guacd in debug mode (step by step > manual > on how to add -L debug) smiley image="anim_handshake.gif"/> > With Docker, I'm not sure the current released version (0.9.14) has a way to specify the debug level, but this should be part of the 1.0.0 release. See: https://issues.apache.org/jira/browse/GUACAMOLE-42 > > BUT it seems that i have found the cause of my problem and i tend to think > that it could be bug that needs to be fixed. > Long story short. I am from russia and the PC i was trying to connect via > VNC protocol had cyrilic letters in its name (Windows default settings > suggest such naming scheme SOMETHING-ПК (PC in russian letters)) and that > was what caused connection problems. When i removed cyrilic from PC name, > everything works fine. > But since it is Microsoft default naming scheme and i suspect it is > implemented in other countries > > > This definitely sounds like undesirable behavior - I'm not certain if it's a bug in Guacamole or in the upstream libvncserver/libvncclient code that Guacamole uses. It would definitely be helpful if you could provide debug output from guacd when this problem occurs. -Nick
Re: VNC connection problem
I am still struggling on how to run guacd in debug mode (step by step manual on how to add -L debug) smiley image="anim_handshake.gif"/> BUT it seems that i have found the cause of my problem and i tend to think that it could be bug that needs to be fixed. Long story short. I am from russia and the PC i was trying to connect via VNC protocol had cyrilic letters in its name (Windows default settings suggest such naming scheme SOMETHING-ПК (PC in russian letters)) and that was what caused connection problems. When i removed cyrilic from PC name, everything works fine. But since it is Microsoft default naming scheme and i suspect it is implemented in other countries -- Sent from: http://apache-guacamole-general-user-mailing-list.2363388.n4.nabble.com/
Re: VNC connection problem
I did not manage to run guacd in debug, but thats what i see in syslog so far: Sep 25 13:01:52 ubuntu guacd[29979]: Creating new client for protocol "vnc" Sep 25 13:01:52 ubuntu guacd[29979]: Connection ID is "$bbc812dc-5921-4b97-80f0-e57076005354" Sep 25 13:01:52 ubuntu guacd[30926]: Cursor rendering: local Sep 25 13:01:52 ubuntu guacd[30926]: User "@cc931e51-c1d0-45f2-955f-9f6315479b00" joined connection "$bbc812dc-5921-4b97-80f0-e57076005354" (1 users now present) Sep 25 13:01:52 ubuntu guacd[30926]: VNC server supports protocol version 3.8 (viewer 3.8) Sep 25 13:01:52 ubuntu guacd[30926]: We have 2 security types to read Sep 25 13:01:52 ubuntu guacd[30926]: 0) Received security type 17 Sep 25 13:01:52 ubuntu guacd[30926]: 1) Received security type 2 Sep 25 13:01:52 ubuntu guacd[30926]: Selecting security type 2 (1/2 in the list) Sep 25 13:01:52 ubuntu guacd[30926]: Selected Security Scheme 2 Sep 25 13:01:52 ubuntu guacd[30926]: VNC authentication succeeded Sep 25 13:01:52 ubuntu guacd[30926]: Connected to VNC server, using protocol version 3.8 Sep 25 13:01:52 ubuntu guacd[30926]: VNC server default format: Sep 25 13:01:52 ubuntu guacd[30926]: 32 bits per pixel. Sep 25 13:01:52 ubuntu guacd[30926]: Least significant byte first in each pixel. Sep 25 13:01:52 ubuntu guacd[30926]: TRUE colour: max red 255 green 255 blue 255, shift red 16 green 8 blue 0 Sep 25 13:01:52 ubuntu guacd[30926]: User "@cc931e51-c1d0-45f2-955f-9f6315479b00" disconnected (0 users remain) Sep 25 13:01:52 ubuntu guacd[30926]: Last user of connection "$bbc812dc-5921-4b97-80f0-e57076005354" disconnected Sep 25 13:01:52 ubuntu guacd[30926]: Internal VNC client disconnected Sep 25 13:01:53 ubuntu guacd[29979]: Connection "$0aaf2146-9235-47ef-b9e7-99324529c830" removed. Sep 25 13:01:57 ubuntu guacd[29979]: Connection "$bbc812dc-5921-4b97-80f0-e57076005354" removed. Sep 25 13:04:42 ubuntu guacd[29979]: Creating new client for protocol "vnc" Sep 25 13:04:42 ubuntu guacd[29979]: Connection ID is "$6757b113-0520-47c2-9cd7-a43034ad4806" Sep 25 13:04:42 ubuntu guacd[30950]: Cursor rendering: local Sep 25 13:04:42 ubuntu guacd[30950]: User "@cd4d389f-6422-495a-aca3-51c72eb03ace" joined connection "$6757b113-0520-47c2-9cd7-a43034ad4806" (1 users now present) Sep 25 13:04:42 ubuntu guacd[30950]: VNC server supports protocol version 3.8 (viewer 3.8) Sep 25 13:04:42 ubuntu guacd[30950]: We have 2 security types to read Sep 25 13:04:42 ubuntu guacd[30950]: 0) Received security type 17 Sep 25 13:04:42 ubuntu guacd[30950]: 1) Received security type 2 Sep 25 13:04:42 ubuntu guacd[30950]: Selecting security type 2 (1/2 in the list) Sep 25 13:04:42 ubuntu guacd[30950]: Selected Security Scheme 2 Sep 25 13:04:42 ubuntu guacd[30950]: VNC authentication succeeded Sep 25 13:04:43 ubuntu guacd[30950]: Desktop name "t6-pc ( 192.168.1.7 ) - service mode" Sep 25 13:04:43 ubuntu guacd[30950]: Connected to VNC server, using protocol version 3.8 Sep 25 13:04:43 ubuntu guacd[30950]: VNC server default format: Sep 25 13:04:43 ubuntu guacd[30950]: 32 bits per pixel. Sep 25 13:04:43 ubuntu guacd[30950]: Least significant byte first in each pixel. Sep 25 13:04:43 ubuntu guacd[30950]: TRUE colour: max red 255 green 255 blue 255, shift red 16 green 8 blue 0 Sep 25 13:05:00 ubuntu guacd[29979]: Creating new client for protocol "vnc" Sep 25 13:05:00 ubuntu guacd[29979]: Connection ID is "$6152796e-b63c-4699-8e8f-456f8fa740e2" Sep 25 13:05:00 ubuntu guacd[30969]: Cursor rendering: local Sep 25 13:05:00 ubuntu guacd[30969]: User "@7917d7ce-ea5b-44dc-98d9-639aff09e2f3" joined connection "$6152796e-b63c-4699-8e8f-456f8fa740e2" (1 users now present) Sep 25 13:05:00 ubuntu guacd[30969]: VNC server supports protocol version 3.8 (viewer 3.8) Sep 25 13:05:00 ubuntu guacd[30969]: We have 2 security types to read Sep 25 13:05:00 ubuntu guacd[30969]: 0) Received security type 17 Sep 25 13:05:00 ubuntu guacd[30969]: 1) Received security type 2 Sep 25 13:05:00 ubuntu guacd[30969]: Selecting security type 2 (1/2 in the list) Sep 25 13:05:00 ubuntu guacd[30969]: Selected Security Scheme 2 Sep 25 13:05:00 ubuntu guacd[30969]: VNC authentication succeeded Sep 25 13:05:00 ubuntu guacd[30969]: Connected to VNC server, using protocol version 3.8 Sep 25 13:05:00 ubuntu guacd[30969]: VNC server default format: Sep 25 13:05:00 ubuntu guacd[30969]: 32 bits per pixel. Sep 25 13:05:00 ubuntu guacd[30969]: Least significant byte first in each pixel. Sep 25 13:05:00 ubuntu guacd[30969]: TRUE colour: max red 255 green 255 blue 255, shift red 16 green 8 blue 0 Sep 25 13:05:01 ubuntu guacd[30969]: User "@7917d7ce-ea5b-44dc-98d9-639aff09e2f3" disconnected (0 users remain) Sep 25 13:05:01 ubuntu guacd[30969]: Last user of connection "$6152796e-b63c-4699-8e8f-456f8fa740e2" disconnected Sep 25 13:05:02 ubuntu guacd[30969]: Internal VNC client disconnected Sep 25 13:05:05 ubuntu guacd[29979]: Connection "$6152796e-b63c-4699-8e8f-456f8fa740e2" removed. Empy lines is where line: Desktop
Re: VNC connection problem
Here is a link to folder wiht screenshots and catalina.out https://drive.google.com/open?id=1xJJfa2aitw6k5eLRUeHaGI-_MwVBePF- good is connection "1" bad connection "2" as for running guacd in debug mode and where to find logs of server i would much appreciate some more help ie console commands how to run it in debug ^^ and where to look for log files. as for my docker question the lines in manual just plain dont do anything if you copy|paste them in terminal as they are not accepted as correct command i understand that "\" symbol is equal to CRLF but this way $ docker run --name some-guacamole \ --link some-guacd:guacd\ ... -d -p 8080:8080 guacamole/guacamole or $ docker run --name some-guacamole --link some-guacd:guacd ... -d -p 8080:8080 guacamole/guacamole this is not recognised as correct command -- Sent from: http://apache-guacamole-general-user-mailing-list.2363388.n4.nabble.com/
Re: VNC connection problem
On Sat, Sep 22, 2018 at 5:44 PM VolandSZ wrote: > Thats why i posted screenshots.. > I didn't see any screenshots. If you're posting from Nabble (looks like you are), and you try to put screenshots inline in the message (insert pictures), the Apache list server tends to strip these out. I think you can attach them instead of inserting them inline, or you could upload them somewhere temporary and paste a link to the image. You also might want to provide full logs for both guacd (in debug mode, using the "-L debug" startup flag) and the Guacamole Client (catalina.out) so that we can look and see if anything looks amiss. > Ok i am trying this another way via docker now and maybe someone can > explain > me what does this mean or how to type it in terminal: > > $ docker run --name some-guacamole \ > --link some-guacd:guacd\ > ... > -d -p 8080:8080 guacamole/guacamole > This should run the Guacamole client container in Docker, and should link the guacd container such that the networking functions in the Guacamole container can access the guacd daemon inside of its container. It also forwards the host port 8080 into the guacamole container port 8080, so you can access docker at http://docker-host:8080/guacamole. > > These lines was taken from guacamole docker setup manual, but they dont > work > if you copy|paste them or type in. > I understand that it may be wy to easy to cover it in manual, but still > why it can be presented the way you can use it? > > You'll have to be more specific about what issues you're running into using it - either the errors you're receiving, or the steps that are unclear. -Nick
Re: VNC connection problem
Thats why i posted screenshots.. Ok i am trying this another way via docker now and maybe someone can explain me what does this mean or how to type it in terminal: $ docker run --name some-guacamole \ --link some-guacd:guacd\ ... -d -p 8080:8080 guacamole/guacamole These lines was taken from guacamole docker setup manual, but they dont work if you copy|paste them or type in. I understand that it may be wy to easy to cover it in manual, but still why it can be presented the way you can use it? -- Sent from: http://apache-guacamole-general-user-mailing-list.2363388.n4.nabble.com/
Re: VNC connection problem
As Nick suggests, please verify that you are not accidentally configuring the connection to attempt to connect to the VNC server as if it is guacd. The fields in the web interface for the guacd hostname/port and the VNC server hostname/port are fairly close together, so this would be an easy mistake to make. If you did accidentally specify the VNC server hostname/port for the guacd hostname/port, the protocol error you see in catalina.out is exactly what would be expected. - Mike On Sep 19, 2018 14:02, "VolandSZ" wrote: Any ideas? -- Sent from: http://apache-guacamole-general-user-mailing-list.2363388.n4.nabble.com/
Re: VNC connection problem
Any ideas? -- Sent from: http://apache-guacamole-general-user-mailing-list.2363388.n4.nabble.com/
Re: VNC connection problem
Yes bouth are from same version, i used this script https://github.com/MysticRyuujin/guac-install -- Sent from: http://apache-guacamole-general-user-mailing-list.2363388.n4.nabble.com/
Re: VNC connection problem
I use MySQL authentication and have no problems with all VNC connections that are in the same network Guacamole server is 192.168.1.10 and all connections that are set up in this network are ok (192.168.1.7, 192.168.1.115 and so on) but when i try to connect to 213.30.130.141 i get error described above. Or i dont understand you. -- Sent from: http://apache-guacamole-general-user-mailing-list.2363388.n4.nabble.com/
Re: VNC connection problem
On Tue, Sep 18, 2018 at 1:26 PM VolandSZ wrote: > Hi friends! First of all i must say that i am quite a new user to guacamole > and linux ecosystem in general. So please dont judge me very strict > We're here to help you, not judge you, so don't hesitate to ask any questions you have! > > Now to the topic, i`ve installed Debian 9 stretch and Guacamole 0.9.14 and > set up several VNC connetions in the same network as Guacamole server is > (192.168 etc.) And everything worked fine. But when i wanted to establish > VNC connection to ip located outside local network 213.XXX.XXX.XXX i get > error message and in Catalina.out i see this error: > *Element terminator of instruction was not ';' nor ','* > It sounds to me like you're configuring the connection such that the Guacamole Client is trying to connect to the VNC server as if it were a Guacamole Server and not a VNC server. So, instead of Guacamole Client -> guacd -> VNC, it's trying to do Guacamole Cient -> VNC. Can you describe how you're configuring the connection? Are you using basic file authentication, JDBC, LDAP, etc.? Can you post the configuration - either the file configuration or a basic screen shot of the JDBC configuration? -Nick
Re: VNC connection problem
On Tue, Sep 18, 2018 at 10:26 AM, VolandSZ wrote: > Hi friends! First of all i must say that i am quite a new user to guacamole > and linux ecosystem in general. So please dont judge me very strict > > Now to the topic, i`ve installed Debian 9 stretch and Guacamole 0.9.14 and > set up several VNC connetions in the same network as Guacamole server is > (192.168 etc.) And everything worked fine. But when i wanted to establish > VNC connection to ip located outside local network 213.XXX.XXX.XXX i get > error message and in Catalina.out i see this error: > *Element terminator of instruction was not ';' nor ','* > > Are both the web application and guacamole-server (guacd, libguac, etc.) from the same version (0.9.14)? - Mike