You are viewing a plain text version of this content. The canonical link for it is here.
Posted to user@guacamole.apache.org by Lance Gropper <La...@encorehollywood.com> on 2019/04/25 16:31:29 UTC

Problem w/VNC

Hello All:

I switched to the older Guacamole (0.9.14), and can't establish a VNC connection: I see the following in /var/log/messages. I'm in the process of testing different protocols - ssh is fine so far...

Apr 25 09:27:07 guacamole-post server: 09:27:07.340 [http-bio-8080-exec-6] INFO  o.a.g.r.auth.AuthenticationService - User "test" successfully authenticated from 10.17.102.91.
Apr 25 09:27:10 guacamole-post server: 09:27:10.337 [http-bio-8080-exec-10] INFO  o.a.g.environment.LocalEnvironment - GUACAMOLE_HOME is "/etc/guacamole".
Apr 25 09:27:10 guacamole-post server: 09:27:10.338 [http-bio-8080-exec-10] INFO  o.a.g.environment.LocalEnvironment - No guacamole.properties file found within GUACAMOLE_HOME or the classpath. Using defaults.
Apr 25 09:27:10 guacamole-post guacd[12449]: Creating new client for protocol "vnc"
Apr 25 09:27:10 guacamole-post guacd[12449]: Connection ID is "$a7d3d720-2d6c-4716-a59b-f67c221b0100"
Apr 25 09:27:10 guacamole-post guacd[31535]: Cursor rendering: local
Apr 25 09:27:10 guacamole-post guacd[31535]: User "@5118193c-c415-4eb1-9644-d09ae27ca4c4" joined connection "$a7d3d720-2d6c-4716-a59b-f67c221b0100" (1 users now present)
Apr 25 09:27:10 guacamole-post server: 09:27:10.400 [http-bio-8080-exec-10] INFO  o.a.g.tunnel.TunnelRequestService - User "test" connected to connection "DDR22".
Apr 25 09:27:10 guacamole-post guacd[31535]: ConnectClientToTcpAddr6: connect
Apr 25 09:27:10 guacamole-post guacd[31535]: ConnectToTcpAddr: connect
Apr 25 09:27:10 guacamole-post guacd[31535]: Unable to connect to VNC server
Apr 25 09:27:10 guacamole-post guacd[31535]: Unable to connect to VNC server.
Apr 25 09:27:10 guacamole-post kernel: guacd[31538]: segfault at 10 ip 00007f9a8d526df2 sp 00007f9a8df32b90 error 4 in libguac-client-vnc.so.0.0.0[7f9a8d51e000+13000]
Apr 25 09:27:10 guacamole-post server: 09:27:10.623 [http-bio-8080-exec-10] INFO  o.a.g.tunnel.TunnelRequestService - User "test" disconnected from connection "DDR22". Duration: 222 milliseconds
Apr 25 09:27:10 guacamole-post abrt-hook-ccpp: Process 31535 (guacd) of user 0 killed by SIGSEGV - dumping core
Apr 25 09:27:10 guacamole-post abrt-hook-ccpp: Failed to create core_backtrace: waitpid failed: No child processes
Apr 25 09:27:10 guacamole-post guacd[12449]: Connection "$a7d3d720-2d6c-4716-a59b-f67c221b0100" removed.
Apr 25 09:27:11 guacamole-post abrt-server: Executable '/usr/local/sbin/guacd' doesn't belong to any package and ProcessUnpackaged is set to 'no'
Apr 25 09:27:11 guacamole-post abrt-server: 'post-create' on '/var/spool/abrt/ccpp-2019-04-25-09:27:10-31535' exited with 1
Apr 25 09:27:11 guacamole-post abrt-server: Deleting problem directory '/var/spool/abrt/ccpp-2019-04-25-09:27:10-31535'

In dmesg, I see these:

[ 5823.478384] guacd[11935]: segfault at 10 ip 00007fde31be2df2 sp 00007fde32defb90 error 4 in libguac-client-vnc.so.0.0.0[7fde31bda000+13000]
[64362.327388] guacd[31538]: segfault at 10 ip 00007f9a8d526df2 sp 00007f9a8df32b90 error 4 in libguac-client-vnc.so.0.0.0[7f9a8d51e000+13000]

Is there a fix?

Lance
This e-mail and any attachments are intended only for use by the addressee(s) named herein and may contain confidential information. If you are not the intended recipient of this e-mail, you are hereby notified any dissemination, distribution or copying of this email and any attachments is strictly prohibited. If you receive this email in error, please immediately notify the sender by return email and permanently delete the original, any copy and any printout thereof. The integrity and security of e-mail cannot be guaranteed.

RE: Problem w/VNC

Posted by Lance Gropper <La...@encorehollywood.com>.
Similar result with rdp:

Apr 25 09:37:50 guacamole-post guacd[32078]: Creating new client for protocol "rdp"
Apr 25 09:37:50 guacamole-post guacd[32078]: Connection ID is "$88020a6f-b3db-4aa7-bf8d-62c8aa05fa8f"
Apr 25 09:37:50 guacamole-post guacd[32090]: No security mode specified. Defaulting to RDP.
Apr 25 09:37:50 guacamole-post guacd[32090]: Resize method: none
Apr 25 09:37:50 guacamole-post guacd[32090]: User "@f4b6816f-b8ef-4dbb-9ea4-fd248326278a" joined connection "$88020a6f-b3db-4aa7-bf8d-62c8aa05fa8f" (1 users now present)
Apr 25 09:37:50 guacamole-post server: 09:37:50.122 [http-bio-8080-exec-7] INFO  o.a.g.tunnel.TunnelRequestService - User "test" connected to connection "NUC-RDP".
Apr 25 09:37:50 guacamole-post guacd[32090]: Loading keymap "base"
Apr 25 09:37:50 guacamole-post guacd[32090]: Loading keymap "en-us-qwerty"
Apr 25 09:37:50 guacamole-post guacd[32090]: Error connecting to RDP server
Apr 25 09:37:50 guacamole-post guacd[32090]: User "@f4b6816f-b8ef-4dbb-9ea4-fd248326278a" disconnected (0 users remain)
Apr 25 09:37:50 guacamole-post guacd[32090]: Last user of connection "$88020a6f-b3db-4aa7-bf8d-62c8aa05fa8f" disconnected
Apr 25 09:37:50 guacamole-post guacd[32078]: Connection "$88020a6f-b3db-4aa7-bf8d-62c8aa05fa8f" removed.
Apr 25 09:37:50 guacamole-post server: 09:37:50.312 [http-bio-8080-exec-7] INFO  o.a.g.tunnel.TunnelRequestService - User "test" disconnected from connection "NUC-RDP". Duration: 190 milliseconds

Lance

From: Lance Gropper <La...@encorehollywood.com>
Sent: Thursday, April 25, 2019 9:31 AM
To: user@guacamole.apache.org
Subject: Problem w/VNC


[ CAUTION ]

This email originated outside Deluxe.



Hello All:

I switched to the older Guacamole (0.9.14), and can't establish a VNC connection: I see the following in /var/log/messages. I'm in the process of testing different protocols - ssh is fine so far...

Apr 25 09:27:07 guacamole-post server: 09:27:07.340 [http-bio-8080-exec-6] INFO  o.a.g.r.auth.AuthenticationService - User "test" successfully authenticated from 10.17.102.91.
Apr 25 09:27:10 guacamole-post server: 09:27:10.337 [http-bio-8080-exec-10] INFO  o.a.g.environment.LocalEnvironment - GUACAMOLE_HOME is "/etc/guacamole".
Apr 25 09:27:10 guacamole-post server: 09:27:10.338 [http-bio-8080-exec-10] INFO  o.a.g.environment.LocalEnvironment - No guacamole.properties file found within GUACAMOLE_HOME or the classpath. Using defaults.
Apr 25 09:27:10 guacamole-post guacd[12449]: Creating new client for protocol "vnc"
Apr 25 09:27:10 guacamole-post guacd[12449]: Connection ID is "$a7d3d720-2d6c-4716-a59b-f67c221b0100"
Apr 25 09:27:10 guacamole-post guacd[31535]: Cursor rendering: local
Apr 25 09:27:10 guacamole-post guacd[31535]: User "@5118193c-c415-4eb1-9644-d09ae27ca4c4" joined connection "$a7d3d720-2d6c-4716-a59b-f67c221b0100" (1 users now present)
Apr 25 09:27:10 guacamole-post server: 09:27:10.400 [http-bio-8080-exec-10] INFO  o.a.g.tunnel.TunnelRequestService - User "test" connected to connection "DDR22".
Apr 25 09:27:10 guacamole-post guacd[31535]: ConnectClientToTcpAddr6: connect
Apr 25 09:27:10 guacamole-post guacd[31535]: ConnectToTcpAddr: connect
Apr 25 09:27:10 guacamole-post guacd[31535]: Unable to connect to VNC server
Apr 25 09:27:10 guacamole-post guacd[31535]: Unable to connect to VNC server.
Apr 25 09:27:10 guacamole-post kernel: guacd[31538]: segfault at 10 ip 00007f9a8d526df2 sp 00007f9a8df32b90 error 4 in libguac-client-vnc.so.0.0.0[7f9a8d51e000+13000]
Apr 25 09:27:10 guacamole-post server: 09:27:10.623 [http-bio-8080-exec-10] INFO  o.a.g.tunnel.TunnelRequestService - User "test" disconnected from connection "DDR22". Duration: 222 milliseconds
Apr 25 09:27:10 guacamole-post abrt-hook-ccpp: Process 31535 (guacd) of user 0 killed by SIGSEGV - dumping core
Apr 25 09:27:10 guacamole-post abrt-hook-ccpp: Failed to create core_backtrace: waitpid failed: No child processes
Apr 25 09:27:10 guacamole-post guacd[12449]: Connection "$a7d3d720-2d6c-4716-a59b-f67c221b0100" removed.
Apr 25 09:27:11 guacamole-post abrt-server: Executable '/usr/local/sbin/guacd' doesn't belong to any package and ProcessUnpackaged is set to 'no'
Apr 25 09:27:11 guacamole-post abrt-server: 'post-create' on '/var/spool/abrt/ccpp-2019-04-25-09:27:10-31535' exited with 1
Apr 25 09:27:11 guacamole-post abrt-server: Deleting problem directory '/var/spool/abrt/ccpp-2019-04-25-09:27:10-31535'

In dmesg, I see these:

[ 5823.478384] guacd[11935]: segfault at 10 ip 00007fde31be2df2 sp 00007fde32defb90 error 4 in libguac-client-vnc.so.0.0.0[7fde31bda000+13000]
[64362.327388] guacd[31538]: segfault at 10 ip 00007f9a8d526df2 sp 00007f9a8df32b90 error 4 in libguac-client-vnc.so.0.0.0[7f9a8d51e000+13000]

Is there a fix?

Lance
This e-mail and any attachments are intended only for use by the addressee(s) named herein and may contain confidential information. If you are not the intended recipient of this e-mail, you are hereby notified any dissemination, distribution or copying of this email and any attachments is strictly prohibited. If you receive this email in error, please immediately notify the sender by return email and permanently delete the original, any copy and any printout thereof. The integrity and security of e-mail cannot be guaranteed.



[ CAUTION ]

DO NOT open attachments or click links from unknown senders. Only respond if you can validate the senders legitimacy.




This e-mail and any attachments are intended only for use by the addressee(s) named herein and may contain confidential information. If you are not the intended recipient of this e-mail, you are hereby notified any dissemination, distribution or copying of this email and any attachments is strictly prohibited. If you receive this email in error, please immediately notify the sender by return email and permanently delete the original, any copy and any printout thereof. The integrity and security of e-mail cannot be guaranteed.

RE: Problem w/VNC

Posted by Lance Gropper <La...@encorehollywood.com>.
Going back to this problem - I rechecked everything - port was wrong. After correcting it, I'm now having this problem:

Apr 25 11:55:59 guacamole-post guacd[6881]: Creating new client for protocol "vnc"
Apr 25 11:55:59 guacamole-post guacd[6881]: Connection ID is "$8b2c77b3-75d7-4e71-bfbf-79cbddbffae4"
Apr 25 11:55:59 guacamole-post guacd[6883]: Cursor rendering: local
Apr 25 11:55:59 guacamole-post guacd[6883]: User "@8f4639ae-bfb3-4203-aab8-f1b4fd6ac452" joined connection "$8b2c77b3-75d7-4e71-bfbf-79cbddbffae4" (1 users now present)
Apr 25 11:55:59 guacamole-post guacd[6883]: VNC server supports protocol version 5.0 (viewer 3.8)
Apr 25 11:55:59 guacamole-post guacd[6883]: We have 5 security types to read
Apr 25 11:55:59 guacamole-post guacd[6883]: 0) Received security type 13
Apr 25 11:55:59 guacamole-post guacd[6883]: 1) Received security type 133
Apr 25 11:55:59 guacamole-post guacd[6883]: 2) Received security type 5
Apr 25 11:55:59 guacamole-post guacd[6883]: 3) Received security type 129
Apr 25 11:55:59 guacamole-post guacd[6883]: 4) Received security type 192
Apr 25 11:55:59 guacamole-post guacd[6883]: Unknown authentication scheme from VNC server: 13, 133, 5, 129, 192
Apr 25 11:55:59 guacamole-post guacd[6883]: Unable to connect to VNC server.
Apr 25 11:55:59 guacamole-post kernel: guacd[6886]: segfault at 10 ip 00007f90c3df3df2 sp 00007f90bf29ab90 error 4 in libguac-client-vnc.so.0.0.0[7f90c3deb000+13000]
Apr 25 11:55:59 guacamole-post abrt-hook-ccpp: Process 6883 (guacd) of user 0 killed by SIGSEGV - dumping core
Apr 25 11:56:00 guacamole-post abrt-hook-ccpp: Failed to create core_backtrace: waitpid failed: No child processes
Apr 25 11:56:00 guacamole-post guacd[6881]: Connection "$8b2c77b3-75d7-4e71-bfbf-79cbddbffae4" removed.
Apr 25 11:56:00 guacamole-post abrt-server: Executable '/usr/local/sbin/guacd' doesn't belong to any package and ProcessUnpackaged is set to 'no'
Apr 25 11:56:00 guacamole-post abrt-server: 'post-create' on '/var/spool/abrt/ccpp-2019-04-25-11:55:59-6883' exited with 1
Apr 25 11:56:00 guacamole-post abrt-server: Deleting problem directory '/var/spool/abrt/ccpp-2019-04-25-11:55:59-6883'

From: Lance Gropper <La...@encorehollywood.com>
Sent: Thursday, April 25, 2019 10:56 AM
To: user@guacamole.apache.org
Subject: RE: Problem w/VNC


[ CAUTION ]

This email originated outside Deluxe.



Hopefully this will change when I get the postgresql going, but I only have the hostname, port, and password in the file - I also tried ports 5900 and 5901 - both yield same error.

From: Nick Couchman <vn...@apache.org>
Sent: Thursday, April 25, 2019 10:52 AM
To: user@guacamole.apache.org
Subject: Re: Problem w/VNC


[ CAUTION ]

This email originated outside Deluxe.



On Thu, Apr 25, 2019 at 1:48 PM Lance Gropper <La...@encorehollywood.com>> wrote:
Hello Nick:

I can connect from another client over VNC - it is only asking for the password, so I don't know what the user name is...Is the segfault issue part of the connection issue? If so, how did guacamole ever work?


The vast majority of VNC servers don't require a username, just a password, so that makes sense.  Make sure you're entering that password into the connection information for Guacamole.  You shouldn't need a username.

I can't remember the exact details of the segfault, but seems like it happened when the password was missing or incorrect (rather than displaying a warning), and maybe under some other set of circumstances.

-Nick



[ CAUTION ]

DO NOT open attachments or click links from unknown senders. Only respond if you can validate the senders legitimacy.



This e-mail and any attachments are intended only for use by the addressee(s) named herein and may contain confidential information. If you are not the intended recipient of this e-mail, you are hereby notified any dissemination, distribution or copying of this email and any attachments is strictly prohibited. If you receive this email in error, please immediately notify the sender by return email and permanently delete the original, any copy and any printout thereof. The integrity and security of e-mail cannot be guaranteed.



[ CAUTION ]

DO NOT open attachments or click links from unknown senders. Only respond if you can validate the senders legitimacy.




This e-mail and any attachments are intended only for use by the addressee(s) named herein and may contain confidential information. If you are not the intended recipient of this e-mail, you are hereby notified any dissemination, distribution or copying of this email and any attachments is strictly prohibited. If you receive this email in error, please immediately notify the sender by return email and permanently delete the original, any copy and any printout thereof. The integrity and security of e-mail cannot be guaranteed.

RE: Problem w/VNC

Posted by Lance Gropper <La...@encorehollywood.com>.
Hopefully this will change when I get the postgresql going, but I only have the hostname, port, and password in the file - I also tried ports 5900 and 5901 - both yield same error.

From: Nick Couchman <vn...@apache.org>
Sent: Thursday, April 25, 2019 10:52 AM
To: user@guacamole.apache.org
Subject: Re: Problem w/VNC


[ CAUTION ]

This email originated outside Deluxe.



On Thu, Apr 25, 2019 at 1:48 PM Lance Gropper <La...@encorehollywood.com>> wrote:
Hello Nick:

I can connect from another client over VNC - it is only asking for the password, so I don't know what the user name is...Is the segfault issue part of the connection issue? If so, how did guacamole ever work?


The vast majority of VNC servers don't require a username, just a password, so that makes sense.  Make sure you're entering that password into the connection information for Guacamole.  You shouldn't need a username.

I can't remember the exact details of the segfault, but seems like it happened when the password was missing or incorrect (rather than displaying a warning), and maybe under some other set of circumstances.

-Nick



[ CAUTION ]

DO NOT open attachments or click links from unknown senders. Only respond if you can validate the senders legitimacy.




This e-mail and any attachments are intended only for use by the addressee(s) named herein and may contain confidential information. If you are not the intended recipient of this e-mail, you are hereby notified any dissemination, distribution or copying of this email and any attachments is strictly prohibited. If you receive this email in error, please immediately notify the sender by return email and permanently delete the original, any copy and any printout thereof. The integrity and security of e-mail cannot be guaranteed.

Re: Problem w/VNC

Posted by Nick Couchman <vn...@apache.org>.
On Thu, Apr 25, 2019 at 1:48 PM Lance Gropper <
Lance.Gropper@encorehollywood.com> wrote:

> Hello Nick:
>
>
>
> I can connect from another client over VNC - it is only asking for the
> password, so I don't know what the user name is...Is the segfault issue
> part of the connection issue? If so, how did guacamole ever work?
>
>
>

The vast majority of VNC servers don't require a username, just a password,
so that makes sense.  Make sure you're entering that password into the
connection information for Guacamole.  You shouldn't need a username.

I can't remember the exact details of the segfault, but seems like it
happened when the password was missing or incorrect (rather than displaying
a warning), and maybe under some other set of circumstances.

-Nick

>

RE: Problem w/VNC

Posted by Lance Gropper <La...@encorehollywood.com>.
Hello Nick:

I can connect from another client over VNC - it is only asking for the password, so I don't know what the user name is...Is the segfault issue part of the connection issue? If so, how did guacamole ever work?

Lance

From: Nick Couchman <vn...@apache.org>
Sent: Thursday, April 25, 2019 10:46 AM
To: user@guacamole.apache.org
Subject: Re: Problem w/VNC


[ CAUTION ]

This email originated outside Deluxe.



On Thu, Apr 25, 2019 at 12:31 PM Lance Gropper <La...@encorehollywood.com>> wrote:
Hello All:

Apr 25 09:27:10 guacamole-post server: 09:27:10.400 [http-bio-8080-exec-10] INFO  o.a.g.tunnel.TunnelRequestService - User "test" connected to connection "DDR22".
Apr 25 09:27:10 guacamole-post guacd[31535]: ConnectClientToTcpAddr6: connect
Apr 25 09:27:10 guacamole-post guacd[31535]: ConnectToTcpAddr: connect
Apr 25 09:27:10 guacamole-post guacd[31535]: Unable to connect to VNC server
Apr 25 09:27:10 guacamole-post guacd[31535]: Unable to connect to VNC server.
Apr 25 09:27:10 guacamole-post kernel: guacd[31538]: segfault at 10 ip 00007f9a8d526df2 sp 00007f9a8df32b90 error 4 in libguac-client-vnc.so.0.0.0[7f9a8d51e000+13000]

A couple of things, here:
- Have you verified that you can connect to the VNC server with some other VNC client from the same system (or at least the same network) where guacd is running?
- I believe there was a VNC segfault issue present prior to 1.0.0 that was resolved in 1.0.0.  I'd have to dig back through the list of changes in 1.0.0, but I seem to recall this.
- There's a small bug regarding VNC + TLS connections (GUACAMOLE-414) that just got merged into the git tree, that'll be fixed in 1.2.0 when that comes out later this year.

-Nick



[ CAUTION ]

DO NOT open attachments or click links from unknown senders. Only respond if you can validate the senders legitimacy.




This e-mail and any attachments are intended only for use by the addressee(s) named herein and may contain confidential information. If you are not the intended recipient of this e-mail, you are hereby notified any dissemination, distribution or copying of this email and any attachments is strictly prohibited. If you receive this email in error, please immediately notify the sender by return email and permanently delete the original, any copy and any printout thereof. The integrity and security of e-mail cannot be guaranteed.

Re: Problem w/VNC

Posted by Nick Couchman <vn...@apache.org>.
On Thu, Apr 25, 2019 at 12:31 PM Lance Gropper <
Lance.Gropper@encorehollywood.com> wrote:

> Hello All:
>
>
>
> Apr 25 09:27:10 guacamole-post server: 09:27:10.400
> [http-bio-8080-exec-10] INFO  o.a.g.tunnel.TunnelRequestService - User
> "test" connected to connection "DDR22".
>
> Apr 25 09:27:10 guacamole-post guacd[31535]: ConnectClientToTcpAddr6:
> connect
>
> Apr 25 09:27:10 guacamole-post guacd[31535]: ConnectToTcpAddr: connect
>
> Apr 25 09:27:10 guacamole-post guacd[31535]: Unable to connect to VNC
> server
>
> Apr 25 09:27:10 guacamole-post guacd[31535]: Unable to connect to VNC
> server.
>
> Apr 25 09:27:10 guacamole-post kernel: guacd[31538]: segfault at 10 ip
> 00007f9a8d526df2 sp 00007f9a8df32b90 error 4 in
> libguac-client-vnc.so.0.0.0[7f9a8d51e000+13000]
>

A couple of things, here:
- Have you verified that you can connect to the VNC server with some other
VNC client from the same system (or at least the same network) where guacd
is running?
- I believe there was a VNC segfault issue present prior to 1.0.0 that was
resolved in 1.0.0.  I'd have to dig back through the list of changes in
1.0.0, but I seem to recall this.
- There's a small bug regarding VNC + TLS connections (GUACAMOLE-414) that
just got merged into the git tree, that'll be fixed in 1.2.0 when that
comes out later this year.

-Nick

>