On Wed, Dec 2, 2020 at 7:04 AM Romain Chatillon <[email protected]> wrote:
> Dear, > > I'm trying to connect on MACOS with VNC & Guacamole. > On the MAC, I'm using the default "screen sharing vnc server", listening > on port 5900 > With some classic VNC client (realVNC binary) I can connect. > With Guacamole, I can't. And even with "trace" logs on GuacD I can't see > much: > > guacd[8]: INFO: Creating new client for protocol "vnc" > guacd[8]: INFO: Connection ID is "$1dbbb8c3-3fed-4eb7-9c0d-9caca1cf7fbd" > guacd[4074]: DEBUG: Processing instruction: size > guacd[4074]: DEBUG: Processing instruction: audio > guacd[4074]: DEBUG: Processing instruction: video > guacd[4074]: DEBUG: Processing instruction: image > guacd[4074]: DEBUG: Processing instruction: timezone > guacd[4074]: DEBUG: Parameter "username" omitted. Using default value of > "". > guacd[4074]: DEBUG: Parameter "password" omitted. Using default value of > "". > guacd[4074]: INFO: Cursor rendering: local > guacd[4074]: DEBUG: Parameter "swap-red-blue" omitted. Using default value > of 0. > guacd[4074]: DEBUG: Parameter "read-only" omitted. Using default value of > 0. > guacd[4074]: DEBUG: Parameter "dest-port" omitted. Using default value of > 0. > guacd[4074]: DEBUG: Parameter "encodings" omitted. Using default value of > "zrle ultra copyrect hextile zlib corre rre raw". > guacd[4074]: DEBUG: Parameter "autoretry" omitted. Using default value of > 0. > guacd[4074]: DEBUG: Parameter "reverse-connect" omitted. Using default > value of 0. > guacd[4074]: DEBUG: Parameter "listen-timeout" omitted. Using default > value of 5000. > guacd[4074]: DEBUG: Parameter "enable-audio" omitted. Using default value > of 0. > guacd[4074]: DEBUG: Parameter "enable-sftp" omitted. Using default value > of 0. > guacd[4074]: DEBUG: Parameter "sftp-hostname" omitted. Using default value > of "192.168.57.12". > guacd[4074]: DEBUG: Parameter "sftp-port" omitted. Using default value of > "22". > guacd[4074]: DEBUG: Parameter "sftp-username" omitted. Using default value > of "". > guacd[4074]: DEBUG: Parameter "sftp-password" omitted. Using default value > of "". > guacd[4074]: DEBUG: Parameter "sftp-passphrase" omitted. Using default > value of "". > guacd[4074]: DEBUG: Parameter "sftp-root-directory" omitted. Using default > value of "/". > guacd[4074]: DEBUG: Parameter "sftp-server-alive-interval" omitted. Using > default value of 0. > guacd[4074]: DEBUG: Parameter "sftp-disable-download" omitted. Using > default value of 0. > guacd[4074]: DEBUG: Parameter "sftp-disable-upload" omitted. Using default > value of 0. > guacd[4074]: DEBUG: Parameter "recording-name" omitted. Using default > value of "recording". > guacd[4074]: DEBUG: Parameter "recording-exclude-output" omitted. Using > default value of 0. > guacd[4074]: DEBUG: Parameter "recording-exclude-mouse" omitted. Using > default value of 0. > guacd[4074]: DEBUG: Parameter "recording-include-keys" omitted. Using > default value of 0. > guacd[4074]: DEBUG: Parameter "create-recording-path" omitted. Using > default value of 0. > guacd[4074]: DEBUG: Parameter "disable-copy" omitted. Using default value > of 0. > guacd[4074]: DEBUG: Parameter "disable-paste" omitted. Using default value > of 0. > guacd[4074]: DEBUG: Parameter "wol-send-packet" omitted. Using default > value of 0. > guacd[4074]: INFO: User "@1d791e62-db66-4f67-bfaf-3658239c37eb" joined > connection "$1dbbb8c3-3fed-4eb7-9c0d-9caca1cf7fbd" (1 users now present) > guacd[4074]: DEBUG: Client is using protocol version "VERSION_1_1_0" > guacd[4074]: ERROR: Unable to connect to VNC server. > guacd[4074]: INFO: User "@1d791e62-db66-4f67-bfaf-3658239c37eb" > disconnected (0 users remain) > guacd[4074]: INFO: Last user of connection > "$1dbbb8c3-3fed-4eb7-9c0d-9caca1cf7fbd" disconnected > guacd[4074]: DEBUG: Requesting termination of client... > guacd[4074]: DEBUG: Client terminated successfully. > guacd[8]: INFO: Connection "$1dbbb8c3-3fed-4eb7-9c0d-9caca1cf7fbd" removed. > > Is your Mac VNC server set up to use no username/password? Guacamole 1.2.0 and earlier do not support prompting for credentials, and, from the output above, it does not appear that you've specified those? That said, I'm not certain that's the issue - the generic "Unable to connect to VNC server" without any security negotiation indicates that it actually cannot contact the VNC server. Any firewalls or routing that would prevent this Docker guacd instance from talking to the VNC server? Can you log into other servers with this Guacamole install that are on the same network (SSH, RDP, etc.)? -Nick
