You are viewing a plain text version of this content. The canonical link for it is here.
Posted to user@guacamole.apache.org by Jon Westgate <or...@fsck.tv> on 2016/08/17 09:18:00 UTC

Listener problem with 9.9.0 when using single click ultravnc

 

Hi Folks,
I'm trying to get Guacamole to work with single click (ultra-vnc).
It looks like it's trying to work. I see this is the log
Aug 17 09:57:31 support guacd[5624]: Connection did not succeed
Aug 17 09:57:47 support guacd[5683]: Protocol "vnc" selected
Aug 17 09:57:47 support guacd[5683]: Connection ID is
"$a9dc59e7-6ba4-4136-bb0f-a080cd0ac121"
Aug 17 09:57:47 support guacd[5683]: Listening for connections on port
61111
Aug 17 09:57:47 support guacd[5683]: -listennofork: Listening on port
61111
Aug 17 09:57:47 support guacd[5683]: -listennofork: Command line errors
are not reported until a connection comes in.
Aug 17 09:58:06 support guacd[5683]: UltraVNC Single Click server
detected, enabling UltraVNC specific messages
Aug 17 09:58:06 support guacd[5683]: VNC server supports protocol
version 3.6 (viewer 3.8)
Aug 17 09:58:06 support guacd[5683]: Selected Security Scheme 1
Aug 17 09:58:06 support guacd[5683]: No authentication needed
Aug 17 09:58:07 support guacd[5683]: Desktop name "WinVNC"
Aug 17 09:58:07 support guacd[5683]: Connected to VNC server, using
protocol version 3.6
Aug 17 09:58:07 support guacd[5683]: VNC server default format:
Aug 17 09:58:07 support guacd[5683]: 32 bits per pixel.
Aug 17 09:58:07 support guacd[5683]: Least significant byte first in
each pixel.
Aug 17 09:58:07 support guacd[5683]: TRUE colour: max red 255 green 255
blue 255, shift red 16 green 8 blue 0
Aug 17 09:58:07 support guacd[5683]: Starting client

The server side does all the changing the windows basic colours etc, but
it does say connecting, rather than connected.
On guacamole it just says "CONNECTING" "Connected to Guacamole. Waiting
for response..."

Any ideas?
If I hit refresh on the guacamole page I get this:
Aug 17 10:09:35 support kernel: [222797.069901] guacd[5683]: segfault at
7 ip b6ac1b74 sp bf8310b0 error 4 in
libguac-client-vnc.so.0.0.0[b6ab7000+f000 ]
Aug 17 10:09:35 support guacd[5683]: Client disconnected
Aug 17 10:09:36 support guacd[5718]: Protocol "vnc" selected
Aug 17 10:09:36 support guacd[5718]: Connection ID is
"$a3a69be8-3be9-4ac2-98eb-2f9140b6c45b"
Aug 17 10:09:36 support guacd[5718]: Listening for connections on port
61111
Aug 17 10:09:36 support guacd[5718]: -listennofork: Listening on port
61111
Aug 17 10:09:36 support guacd[5718]: -listennofork: Command line errors
are not reported until a connection comes in.
Aug 17 10:09:56 support guacd[5718]: Connect failed. Waiting 1000ms
before retrying...
Aug 17 10:09:57 support guacd[5718]: Listening for connections on port
61111
Aug 17 10:09:57 support guacd[5718]: ListenAtTcpPortAndAddress: error in
bind: Address family not supported by protocol
Aug 17 10:09:57 support guacd[5718]: Connect failed. Waiting 1000ms
before retrying...
Aug 17 10:09:58 support guacd[5718]: Listening for connections on port
61111
Aug 17 10:09:58 support guacd[5718]: ListenAtTcpPortAndAddress: error in
bind: Address family not supported by protocol
Aug 17 10:09:58 support guacd[5718]: Connect failed. Waiting 1000ms
before retrying...
Aug 17 10:09:59 support guacd[5718]: Listening for connections on port
61111
Aug 17 10:09:59 support guacd[5718]: ListenAtTcpPortAndAddress: error in
bind: Address family not supported by protocol
Aug 17 10:09:59 support guacd[5718]: Connect failed. Waiting 1000ms
before retrying...
Aug 17 10:10:00 support guacd[5718]: Listening for connections on port
61111
Aug 17 10:10:00 support guacd[5718]: ListenAtTcpPortAndAddress: error in
bind: Address family not supported by protocol
Aug 17 10:10:00 support guacd[5718]: Connect failed. Waiting 1000ms
before retrying...
Aug 17 10:10:01 support guacd[5718]: Listening for connections on port
61111
Aug 17 10:10:01 support guacd[5718]: ListenAtTcpPortAndAddress: error in
bind: Address family not supported by protocol
Aug 17 10:10:01 support guacd[5718]: Connect failed. Waiting 1000ms
before retrying...
Aug 17 10:10:02 support guacd[5718]: Listening for connections on port
61111
Aug 17 10:10:02 support guacd[5718]: ListenAtTcpPortAndAddress: error in
bind: Address family not supported by protocol
Aug 17 10:10:02 support guacd[5718]: Connect failed. Waiting 1000ms
before retrying...
Aug 17 10:10:03 support guacd[5718]: Listening for connections on port
61111
Aug 17 10:10:03 support guacd[5718]: ListenAtTcpPortAndAddress: error in
bind: Address family not supported by protocol
Aug 17 10:10:03 support guacd[5718]: Connect failed. Waiting 1000ms
before retrying...
Aug 17 10:10:04 support guacd[5718]: Listening for connections on port
61111
Aug 17 10:10:04 support guacd[5718]: ListenAtTcpPortAndAddress: error in
bind: Address family not supported by protocol
Aug 17 10:10:04 support guacd[5718]: Connect failed. Waiting 1000ms
before retrying...
Aug 17 10:10:05 support guacd[5718]: Listening for connections on port
61111
Aug 17 10:10:05 support guacd[5718]: ListenAtTcpPortAndAddress: error in
bind: Address family not supported by protocol
Aug 17 10:10:05 support guacd[5718]: Connect failed. Waiting 1000ms
before retrying...
Aug 17 10:10:06 support guacd[5718]: Listening for connections on port
61111
Aug 17 10:10:06 support guacd[5718]: ListenAtTcpPortAndAddress: error in
bind: Address family not supported by protocol
Aug 17 10:10:06 support guacd[5718]: Connect failed. Waiting 1000ms
before retrying...
Aug 17 10:10:07 support guacd[5718]: Listening for connections on port
61111
Aug 17 10:10:07 support guacd[5718]: ListenAtTcpPortAndAddress: error in
bind: Address family not supported by protocol
Aug 17 10:10:07 support guacd[5718]: Connect failed. Waiting 1000ms
before retrying...
Aug 17 10:10:08 support guacd[5718]: Listening for connections on port
61111
Aug 17 10:10:08 support guacd[5718]: ListenAtTcpPortAndAddress: error in
bind: Address family not supported by protocol
Aug 17 10:10:08 support guacd[5718]: Connect failed. Waiting 1000ms
before retrying...
Aug 17 10:10:09 support guacd[5718]: Listening for connections on port
61111
Aug 17 10:10:09 support guacd[5718]: ListenAtTcpPortAndAddress: error in
bind: Address family not supported by protocol
Aug 17 10:10:09 support guacd[5718]: Connect failed. Waiting 1000ms
before retrying...
Aug 17 10:10:10 support guacd[5718]: Listening for connections on port
61111
Aug 17 10:10:10 support guacd[5718]: ListenAtTcpPortAndAddress: error in
bind: Address family not supported by protocol
Aug 17 10:10:10 support guacd[5718]: Connect failed. Waiting 1000ms
before retrying...
Aug 17 10:10:11 support guacd[5718]: Listening for connections on port
61111
Aug 17 10:10:11 support guacd[5718]: ListenAtTcpPortAndAddress: error in
bind: Address family not supported by protocol
Aug 17 10:10:11 support guacd[5718]: Connect failed. Waiting 1000ms
before retrying...
Aug 17 10:10:12 support guacd[5718]: Listening for connections on port
61111
Aug 17 10:10:12 support guacd[5718]: ListenAtTcpPortAndAddress: error in
bind: Address family not supported by protocol
Aug 17 10:10:12 support guacd[5718]: Connect failed. Waiting 1000ms
before retrying...
Aug 17 10:10:13 support guacd[5718]: Listening for connections on port
61111
Aug 17 10:10:13 support guacd[5718]: ListenAtTcpPortAndAddress: error in
bind: Address family not supported by protocol
Aug 17 10:10:13 support guacd[5718]: Connect failed. Waiting 1000ms
before retrying...
Aug 17 10:10:14 support guacd[5718]: Listening for connections on port
61111
Aug 17 10:10:14 support guacd[5718]: ListenAtTcpPortAndAddress: error in
bind: Address family not supported by protocol
Aug 17 10:10:14 support guacd[5718]: Connect failed. Waiting 1000ms
before retrying...
Aug 17 10:10:15 support guacd[5718]: Listening for connections on port
61111
Aug 17 10:10:15 support guacd[5718]: ListenAtTcpPortAndAddress: error in
bind: Address family not supported by protocol
Aug 17 10:10:15 support guacd[5718]: Connect failed. Waiting 1000ms
before retrying...
Aug 17 10:10:16 support guacd[5718]: Listening for connections on port
61111
Aug 17 10:10:16 support guacd[5718]: ListenAtTcpPortAndAddress: error in
bind: Address family not supported by protocol
Aug 17 10:10:16 support guacd[5718]: Unable to connect to VNC server.
Aug 17 10:10:16 support guacd[5718]: Connection did not succeed
Aug 17 10:10:32 support guacd[5764]: Protocol "vnc" selected
Aug 17 10:10:32 support guacd[5764]: Connection ID is
"$d4252ca4-76bb-41bc-9051-95249f88318c"
Aug 17 10:10:32 support guacd[5764]: Listening for connections on port
61111
Aug 17 10:10:32 support guacd[5764]: -listennofork: Listening on port
61111
Aug 17 10:10:32 support guacd[5764]: -listennofork: Command line errors
are not reported until a connection comes in.

Just to add some notes of interest, I was originally trying to use the
debian shipped version 8.3.x but that didn't seem to support reverse
connections at all.
My /etc/guacamole/user-mapping.xml looks like this:
 <authorize username="fred" password="in_a_shed">
 <connection name="Fredinashedsupport1">
 <protocol>vnc</protocol>
 <param name="hostname">localhost</param>
 <param name="port">61111</param>
 <param name="reverse-connect">true</param>
 <param name="autoretry">20</param>
 <param name="listen-timeout">20000</param>
 </connection>
 </authorize>

Any ideas?

-- 
Regards
Jon