It appears to be a ipv4 vs. ipv6 issue. Here is what I get with
systemctl status guacd after a failed attempt:
Jan 30 15:54:04 pi4dev guacd[6014]: Creating new client for protocol
"vnc"
Jan 30 15:54:04 pi4dev guacd[6014]: Connection ID is
"$ea3a9369-9157-428c-be87-3b0e08498367"
Jan 30 15:54:04 pi4dev guacd[6061]: Cursor rendering: local
Jan 30 15:54:04 pi4dev guacd[6061]: User
"@d1cf66c3-9bb5-4a46-b8eb-82a718cae00f" joined connection
"$ea3a9369-9157-428c-be87-3b0e08498367" (1 users >
Jan 30 15:54:04 pi4dev guacd[6061]: ConnectClientToTcpAddr6: connect
Jan 30 15:54:04 pi4dev guacd[6061]: Unable to connect to VNC server
Jan 30 15:54:04 pi4dev guacd[6061]: Unable to connect to VNC server.
Jan 30 15:54:04 pi4dev guacd[6061]: User
"@d1cf66c3-9bb5-4a46-b8eb-82a718cae00f" disconnected (0 users remain)
Jan 30 15:54:04 pi4dev guacd[6061]: Last user of connection
"$ea3a9369-9157-428c-be87-3b0e08498367" disconnected
Jan 30 15:54:04 pi4dev guacd[6014]: Connection
"$ea3a9369-9157-428c-be87-3b0e08498367" removed.
I've already found as many "localhost" that I can find and replaced them
with "127.0.0.1"
Here is guacd.conf:
[server]
bind_host = 127.0.0.1
bind_port = 4822
and user-mapping.xml
<user-mapping>
<!-- Per-user authentication and config information -->
<authorize username="xxxxx" password="xxxxx">
<protocol>vnc</protocol>
<!-- <protocol>rdp</protocol> -->
<param name="hostname">127.0.0.1</param>
<param name="port">5900</param>
<param name="password">VNCPASS</param>
</authorize>
<!-- Another user, but using md5 to hash the password
(example below uses the md5 hash of "PASSWORD") -->
<authorize
username="USERNAME2"
password="319f4d26e3c536b5dd871bb2c52e3178"
encoding="md5">
<!-- First authorized connection -->
<connection name="127.0.0.1">
<protocol>vnc</protocol>
<param name="hostname">127.0.0.1</param>
<param name="port">5901</param>
<param name="password">VNCPASS</param>
</connection>
<!-- Second authorized connection -->
<connection name="otherhost">
<protocol>vnc</protocol>
<param name="hostname">otherhost</param>
<param name="port">5900</param>
<param name="password">VNCPASS</param>
</connection>
</authorize>
</user-mapping>
Any suggestions?
Regards, Jim
---------------------------------------------------------------------
To unsubscribe, e-mail: user-unsubscr...@guacamole.apache.org
For additional commands, e-mail: user-h...@guacamole.apache.org