Hi,
I would suggest checking target machine journal logs. Do you see any
attempts to connect there, any errors?

сб, 5 июл. 2025 г. в 16:26, Horváth Csaba <[email protected]>:

> Hi,
>
> The previous log was written by guacd with parameter -L debug, i only
> copied from syslog.
>
> Now i tried again. In the below log i first connected to a VNC server
> (so you can see the server is basically working) and then tried SSH,
> but this time i got the message "Connected to Guacamole" and right
> after the red ribbon with "Error occurred within the Guacamole
> server..."
>
> # /usr/local/sbin/guacd -f -b 127.0.0.1 -L debug -l 4822 -p /tmp/guacd.pid
> guacd[2658943]: INFO:    Guacamole proxy daemon (guacd) version 1.6.0
> started
> guacd[2658943]: DEBUG:    Successfully bound AF_INET socket to host
> 127.0.0.1, port 4822
> guacd[2658943]: INFO:    Listening on host 127.0.0.1, port 4822
> guacd[2658943]: INFO:    Creating new client for protocol "vnc"
> guacd[2658943]: INFO:    Connection ID is
> "$d7c6fc92-4f29-42f3-b194-fc28b114bf77"
> guacd[2659157]: DEBUG:    Processing instruction: size
> guacd[2659157]: DEBUG:    Processing instruction: audio
> guacd[2659157]: DEBUG:    Processing instruction: video
> guacd[2659157]: DEBUG:    Processing instruction: image
> guacd[2659157]: DEBUG:    Processing instruction: timezone
> guacd[2659157]: DEBUG:    Processing instruction: name
> guacd[2659157]: INFO:    Cursor rendering: local
> guacd[2659157]: DEBUG:    Parameter "swap-red-blue" omitted. Using
> default value of 0.
> guacd[2659157]: DEBUG:    Parameter "read-only" omitted. Using default
> value of 0.
> guacd[2659157]: DEBUG:    Parameter "disable-server-input" omitted.
> Using default value of 0.
> guacd[2659157]: DEBUG:    Parameter "disable-display-resize" omitted.
> Using default value of 0.
> guacd[2659157]: DEBUG:    Parameter "color-depth" omitted. Using
> default value of 0.
> guacd[2659157]: DEBUG:    Parameter "force-lossless" omitted. Using
> default value of 0.
> guacd[2659157]: DEBUG:    Parameter "compress-level" omitted. Using
> default value of -1.
> guacd[2659157]: DEBUG:    Parameter "quality-level" omitted. Using
> default value of -1.
> guacd[2659157]: DEBUG:    Parameter "dest-port" omitted. Using default
> value of 0.
> guacd[2659157]: DEBUG:    Parameter "encodings" omitted. Using default
> value of "zrle ultra copyrect hextile zlib corre rre raw".
> guacd[2659157]: DEBUG:    Parameter "autoretry" omitted. Using default
> value of 0.
> guacd[2659157]: DEBUG:    Parameter "reverse-connect" omitted. Using
> default value of 0.
> guacd[2659157]: DEBUG:    Parameter "listen-timeout" omitted. Using
> default value of 5000.
> guacd[2659157]: DEBUG:    Parameter "enable-sftp" omitted. Using
> default value of 0.
> guacd[2659157]: DEBUG:    Parameter "sftp-hostname" omitted. Using
> default value of "sm-g900f".
> guacd[2659157]: DEBUG:    Parameter "sftp-port" omitted. Using default
> value of "22".
> guacd[2659157]: DEBUG:    Parameter "sftp-timeout" omitted. Using
> default value of 10.
> guacd[2659157]: DEBUG:    Parameter "sftp-username" omitted. Using
> default value of "".
> guacd[2659157]: DEBUG:    Parameter "sftp-password" omitted. Using
> default value of "".
> guacd[2659157]: DEBUG:    Parameter "sftp-passphrase" omitted. Using
> default value of "".
> guacd[2659157]: DEBUG:    Parameter "sftp-root-directory" omitted.
> Using default value of "/".
> guacd[2659157]: DEBUG:    Parameter "sftp-server-alive-interval"
> omitted. Using default value of 0.
> guacd[2659157]: DEBUG:    Parameter "sftp-disable-download" omitted.
> Using default value of 0.
> guacd[2659157]: DEBUG:    Parameter "sftp-disable-upload" omitted.
> Using default value of 0.
> guacd[2659157]: DEBUG:    Parameter "recording-name" omitted. Using
> default value of "recording".
> guacd[2659157]: DEBUG:    Parameter "recording-exclude-output"
> omitted. Using default value of 0.
> guacd[2659157]: DEBUG:    Parameter "recording-exclude-mouse" omitted.
> Using default value of 0.
> guacd[2659157]: DEBUG:    Parameter "recording-include-keys" omitted.
> Using default value of 0.
> guacd[2659157]: DEBUG:    Parameter "create-recording-path" omitted.
> Using default value of 0.
> guacd[2659157]: DEBUG:    Parameter "recording-write-existing"
> omitted. Using default value of 0.
> guacd[2659157]: DEBUG:    Parameter "disable-copy" omitted. Using
> default value of 0.
> guacd[2659157]: DEBUG:    Parameter "clipboard-buffer-size" omitted.
> Using default value of 0.
> guacd[2659157]: INFO:    Unspecified or invalid clipboard buffer size:
> "". Using the default minimum size: 262144.
> guacd[2659157]: DEBUG:    Parameter "disable-paste" omitted. Using
> default value of 0.
> guacd[2659157]: DEBUG:    Parameter "wol-send-packet" omitted. Using
> default value of 0.
> guacd[2659157]: INFO:    User "@0edd5925-f684-44ac-b1ff-0825175da3e7"
> joined connection "$d7c6fc92-4f29-42f3-b194-fc28b114bf77" (1 users now
> present)
> guacd[2659157]: DEBUG:    Client is using protocol version "VERSION_1_5_0"
> guacd[2659157]: INFO:    Local system reports 4 processor(s) are available.
> guacd[2659157]: INFO:    Graphical updates will be encoded using 4
> worker thread(s).
> guacd[2659157]: DEBUG:    Screen is now initialized.
> guacd[2659157]: DEBUG:    Sending initial screen size to VNC server.
> guacd[2659157]: DEBUG:    Sending VNC display size for owner's display.
> guacd[2659157]: INFO:    User "@0edd5925-f684-44ac-b1ff-0825175da3e7"
> disconnected (0 users remain)
> guacd[2659157]: INFO:    Last user of connection
> "$d7c6fc92-4f29-42f3-b194-fc28b114bf77" disconnected
> guacd[2659157]: DEBUG:    Requesting termination of client...
> guacd[2659157]: INFO:    Internal VNC client disconnected
> guacd[2659157]: DEBUG:    Client terminated successfully.
> guacd[2658943]: INFO:    Connection
> "$d7c6fc92-4f29-42f3-b194-fc28b114bf77" removed.
> guacd[2658943]: DEBUG:    Unable to request termination of client
> process: No such process
> guacd[2658943]: DEBUG:    All child processes for connection
> "$d7c6fc92-4f29-42f3-b194-fc28b114bf77" have been terminated.
> guacd[2658943]: INFO:    Creating new client for protocol "ssh"
> guacd[2658943]: INFO:    Connection ID is
> "$0eb617c4-ec41-46a0-9be9-7d0705aea227"
> guacd[2659316]: DEBUG:    Processing instruction: size
> guacd[2659316]: DEBUG:    Processing instruction: audio
> guacd[2659316]: DEBUG:    Processing instruction: video
> guacd[2659316]: DEBUG:    Processing instruction: image
> guacd[2659316]: DEBUG:    Processing instruction: timezone
> guacd[2659316]: DEBUG:    Processing instruction: name
> guacd[2659316]: INFO:    User "@04f87cbf-6f45-4785-897f-5df0cdfd8fbc"
> joined connection "�!A�" (1 users now present)
> guacd[2659316]: DEBUG:    Client is using protocol version "VERSION_1_5_0"
> guacd[2658943]: INFO:    Creating new client for protocol "ssh"
> guacd[2658943]: INFO:    Connection ID is
> "$ad924c87-097e-4f1b-b0ab-8e3788c0a7ab"
> guacd[2659508]: DEBUG:    Processing instruction: size
> guacd[2659508]: DEBUG:    Processing instruction: audio
> guacd[2659508]: DEBUG:    Processing instruction: video
> guacd[2659508]: DEBUG:    Processing instruction: image
> guacd[2659508]: DEBUG:    Processing instruction: timezone
> guacd[2659508]: DEBUG:    Processing instruction: name
> guacd[2659508]: INFO:    User "@ca7f6e87-53c6-4b6b-be2c-9e28255a04d9"
> joined connection "�@�" (1 users now present)
> guacd[2659508]: DEBUG:    Client is using protocol version "VERSION_1_5_0"
> guacd[2659316]: ERROR:    User is not responding.
> guacd[2659316]: INFO:    User "@04f87cbf-6f45-4785-897f-5df0cdfd8fbc"
> disconnected (0 users remain)
> guacd[2659316]: INFO:    Last user of connection "�!A�" disconnected
> guacd[2659316]: DEBUG:    Requesting termination of client...
> double free or corruption (out)
> guacd[2658943]: INFO:    Connection
> "$0eb617c4-ec41-46a0-9be9-7d0705aea227" removed.
> guacd[2658943]: DEBUG:    Unable to request termination of client
> process: No such process
> guacd[2658943]: DEBUG:    All child processes for connection
> "$0eb617c4-ec41-46a0-9be9-7d0705aea227" have been terminated.
> guacd[2659508]: ERROR:    User is not responding.
> guacd[2659508]: INFO:    User "@ca7f6e87-53c6-4b6b-be2c-9e28255a04d9"
> disconnected (0 users remain)
> guacd[2659508]: INFO:    Last user of connection "�@�" disconnected
> guacd[2659508]: DEBUG:    Requesting termination of client...
> double free or corruption (out)
> guacd[2658943]: INFO:    Connection
> "$ad924c87-097e-4f1b-b0ab-8e3788c0a7ab" removed.
> guacd[2658943]: DEBUG:    Unable to request termination of client
> process: No such process
> guacd[2658943]: DEBUG:    All child processes for connection
> "$ad924c87-097e-4f1b-b0ab-8e3788c0a7ab" have been terminated.
>
> Cs.
>
> If i run the guacd in the background, i only get the grey "Connected
> to guacamole" message, and short after "Client took too long to
> respond". However, the client is definitely reachable via SSH from the
> same computer where Guacamole is running.
>
> # /usr/local/sbin/guacd -f -b 127.0.0.1 -L debug -l 4822 -p /tmp/guacd.pid
> &
> [1] 2665853
> root@homeserver:/home/colt# guacd[2665853]: INFO:    Guacamole proxy
> daemon (guacd) version 1.6.0 started
> guacd[2665853]: DEBUG:    Successfully bound AF_INET socket to host
> 127.0.0.1, port 4822
> guacd[2665853]: INFO:    Listening on host 127.0.0.1, port 4822
> guacd[2665853]: INFO:    Creating new client for protocol "ssh"
> guacd[2665853]: INFO:    Connection ID is
> "$3390f4ee-3dd3-4a80-9b85-1da09610d47f"
> guacd[2666549]: DEBUG:    Processing instruction: size
> guacd[2666549]: DEBUG:    Processing instruction: audio
> guacd[2666549]: DEBUG:    Processing instruction: video
> guacd[2666549]: DEBUG:    Processing instruction: image
> guacd[2666549]: DEBUG:    Processing instruction: timezone
> guacd[2666549]: DEBUG:    Processing instruction: name
> guacd[2666549]: INFO:    User "@d05d0cbb-6411-4265-bfe2-a1366b934e0b"
> joined connection "��ޒ4" (1 users now present)
> guacd[2666549]: DEBUG:    Client is using protocol version "VERSION_1_5_0"
> guacd[2666549]: ERROR:    User is not responding.
> guacd[2666549]: INFO:    User "@d05d0cbb-6411-4265-bfe2-a1366b934e0b"
> disconnected (0 users remain)
> guacd[2666549]: INFO:    Last user of connection "��ޒ4" disconnected
> guacd[2666549]: DEBUG:    Requesting termination of client...
> double free or corruption (out)
> guacd[2665853]: INFO:    Connection
> "$3390f4ee-3dd3-4a80-9b85-1da09610d47f" removed.
> guacd[2665853]: DEBUG:    Unable to request termination of client
> process: No such process
> guacd[2665853]: DEBUG:    All child processes for connection
> "$3390f4ee-3dd3-4a80-9b85-1da09610d47f" have been terminated.
>
>
> This was working with Guacamole 1.5.5, also self-compiled. so i
> suspect some bugs in the 1.6
>
> Thanks for your support in advance :)
>
> Cs.
>
> On Sat, Jul 5, 2025 at 1:53 PM Nick Couchman <[email protected]> wrote:
> >
> > On Thu, Jul 3, 2025 at 9:52 AM Horváth Csaba <
> [email protected]> wrote:
> >>
> >> Hi,
> >>
> >> I haven't got a working SSH connection since i upgraded from 1.5.5 to
> >> 1.6. RDP and VNC is working, and SSH worked before. Now i only get a
> >> "Connected to Guacamole, waiting for response" message.
> >>
> >> In the syslog, i have only the log pasted at the end of the mail.
> >> I have built guacd from source, with the ./configure --with-rdp
> >> --with-ssh2 --with-vnc command line. So SSH should be built in. System
> >> is a Debian Testing.
> >>
> >> I really don't see where i can start troubleshooting (SSH otherwise
> >> works, so Guacd can use it), so i hope someone has an idea.
> >>
> >> root@homeserver:~# tail -f /var/log/syslog|grep "guacd\|ssh"
> >> 2025-07-03T15:40:16.745559+02:00 homeserver guacd[2175063]: Creating
> >> new client for protocol "ssh"
> >> 2025-07-03T15:40:16.746013+02:00 homeserver guacd[2175063]: Connection
> >> ID is "$0b9c3df0-9743-469a-a9d1-7a40454b67ea"
> >> 2025-07-03T15:40:16.762119+02:00 homeserver guacd[3905910]: Processing
> >> instruction: size
> >> 2025-07-03T15:40:16.762512+02:00 homeserver guacd[3905910]: Processing
> >> instruction: audio
> >> 2025-07-03T15:40:16.763606+02:00 homeserver guacd[3905910]: Processing
> >> instruction: video
> >> 2025-07-03T15:40:16.763820+02:00 homeserver guacd[3905910]: Processing
> >> instruction: image
> >> 2025-07-03T15:40:16.764127+02:00 homeserver guacd[3905910]: Processing
> >> instruction: timezone
> >> 2025-07-03T15:40:16.764363+02:00 homeserver guacd[3905910]: Processing
> >> instruction: name
> >> 2025-07-03T15:40:16.764896+02:00 homeserver guacd[3905910]: Client is
> >> using protocol version "VERSION_1_5_0"
> >>
> >
> > Can you start guacd with the "-L debug" flag and see if you get anything
> more helpful from the log output?
> >
> > -Nick
> >
>
> ---------------------------------------------------------------------
> To unsubscribe, e-mail: [email protected]
> For additional commands, e-mail: [email protected]
>
>

Reply via email to