On 6/22/23 17:34, Michael Jumper wrote:
On 6/22/23 14:32, Jason Keltz wrote:
Thanks, Nick for your quick response!
On 6/22/23 17:11, Nick Couchman wrote:
On Thu, Jun 22, 2023 at 4:25 PM Jason Keltz <[email protected]> wrote:
Hi..
I've been running Guacamole for quite awhile now. One of my users
just
noticed that drag and drop file transfers have stopped working! It's
not clear when it happened, but it was definately working at some
point.
When you say drag-and-drop file transfers, can you clarify where
you're dragging and dropping? Is this from within the Guacamole menu
(Ctrl-Shift-Alt)?
I see that sftp doesn't happen whether I drag and drop from my GNOME
desktop right onto my guacamole session running in Firefox (which I
100% used to be able to do). sftp also doesn't happen if I drag and
drop from my windows 10 desktop to a Linux OR Windows desktop running
in Guacamole. The error that I get is: "File transfer is either not
supported or not enabled. Please contact your system administrator,
or check your system logs."
Inside the Ctrl-Shift-Alt menu, there's no "Devices" menu in the
guac menu like there used to be, except that menu does appear with
just an SSH session configured.
I see no errors in catalina.out. I started guacd in debug mode,
and
see no errors there either. Each host has sftp enabled , and when
I do
a network packet trace for connection to port 22, nothing happens, so
something is up. I haven't changed this host configuration in quite a
long time. How can I debug this? (I'm running self-compiled with
Rocky
Enterprise Linux 8.8).
I think this is unlikely to be a guacd issue, and more likely to be a
Guacamole Client issue - Tomcat, the web application, etc. I'd look in
both the bowser developer/JS console, as well as Tomcat logs, and see
what shows up there.
I checked in catalina.out (tomcat log) and didn't see anything.
Nothing in the js console either.
I just noticed that if I open up an SSH session through guac, then the
file transfer works perfectly.
The problem is for all the hosts using RDP. Doesn't the file transfer
go over sftp anyway?
Not necessarily - this depends on how you have the connection
configured. With RDP you definitely can configure SFTP - which, from
the configuration you posted, looks like what you're doing, but you
can also configure RDP Drive Redirection, which is completely internal
to the RDP connection and does not use SFTP at all.
I'm configuring SFTP for SSH, and both RDP to Windows/Linux systems.
I don't even have anything set in the "Device Redirection".
The fact that it works with a straight SSH connection puzzles me to
no end since it must be using the exact same code for the
Linux/Windows RDP SFTP session!
Something has to be producing an error that I'm not seeing.
I suspect you're missing a parameter needed for authentication. With
SSH connections, it's simple enough to just use the auth parameters
for the SSH connection as the defaults. For non-SSH connections with
SFTP enabled, additional parameters might be needed.
What do you see in your guacd logs for the connection in question?
I am now seeing a few errors that I didn't see before:
For grepping for ssh from guacd logs, the only error I'm seeing (not
frequently) is:
- Unable to set the timezone: SSH server refused to set "TZ" variable.
but I only see a few of them..
For SFTP, I'm seeing a few of these:
- Cannot create SFTP filesystem - "<user>" is not a valid path - but I
have the full path specified to the user everywhere and the handful of
them in the logs aren't referring to my user anyway..
- and I see a few instances of:
- Parameter "sftp-disable-download" omitted. Using default value of 0.
- Parameter "sftp-disable-upload" omitted. Using default value of 0.
But I have so many users logging in and very few errors..
Now, albeit guacd debug mode is now turned back off but this is what I'm
seeing when I login from syslog..
2023-06-22T17:46:21.056398-04:00 remote guacd[1351060]: Creating new
client for protocol "rdp"
2023-06-22T17:46:21.056808-04:00 remote guacd[1351060]: Connection ID is
"$81dff13b-e3ab-4eb9-9107-1c55abf48f4f"
2023-06-22T17:46:21.101869-04:00 remote guacd[1358486]: Resize method:
reconnect
2023-06-22T17:46:21.101872-04:00 remote guacd[1358486]: No clipboard
line-ending normalization specified. Defaulting to preserving the format
of all line endings.
2023-06-22T17:46:21.101918-04:00 remote guacd[1358486]: User
"@654f098a-5000-4ce1-a79e-30d62d5f18ba" joined connection
"$81dff13b-e3ab-4eb9-9107-1c55abf48f4f" (1 users now present)
2023-06-22T17:46:21.102922-04:00 remote guacd[1358486]: Loading keymap
"base"
2023-06-22T17:46:21.102945-04:00 remote guacd[1358486]: Loading keymap
"en-us-qwerty"
2023-06-22T17:46:21.056416-04:00 remote guacd[1351060]: guacd[1351060]:
INFO:#011Creating new client for protocol "rdp"
2023-06-22T17:46:21.056929-04:00 remote guacd[1351060]: guacd[1351060]:
INFO:#011Connection ID is "$81dff13b-e3ab-4eb9-9107-1c55abf48f4f"
2023-06-22T17:46:21.101863-04:00 remote guacd[1358486]: guacd[1358486]:
INFO:#011Resize method: reconnect
2023-06-22T17:46:21.101863-04:00 remote guacd[1358486]: guacd[1358486]:
INFO:#011No clipboard line-ending normalization specified. Defaulting to
preserving the format of all line endings.
2023-06-22T17:46:21.102115-04:00 remote guacd[1358486]: guacd[1358486]:
INFO:#011User "@654f098a-5000-4ce1-a79e-30d62d5f18ba" joined connection
"$81dff13b-e3ab-4eb9-9107-1c55abf48f4f" (1 users now present)
2023-06-22T17:46:21.102939-04:00 remote guacd[1358486]: guacd[1358486]:
INFO:#011Loading keymap "base"
2023-06-22T17:46:21.102962-04:00 remote guacd[1358486]: guacd[1358486]:
INFO:#011Loading keymap "en-us-qwerty"
2023-06-22T17:46:23.050127-04:00 remote guacd[1358486]: Accepted format:
16-bit PCM with 2 channels at 44100 Hz
2023-06-22T17:46:23.050141-04:00 remote guacd[1358486]: Accepted format:
16-bit PCM with 2 channels at 22050 Hz
2023-06-22T17:46:23.050169-04:00 remote guacd[1358486]: Connected to
RDPDR 1.12 as client 0x14ff5ca6
2023-06-22T17:46:23.050394-04:00 remote guacd[1358486]: RDPDR user logged on
2023-06-22T17:46:23.050142-04:00 remote guacd[1358486]: guacd[1358486]:
INFO:#011Accepted format: 16-bit PCM with 2 channels at 44100 Hz
2023-06-22T17:46:23.050142-04:00 remote guacd[1358486]: guacd[1358486]:
INFO:#011Accepted format: 16-bit PCM with 2 channels at 22050 Hz
2023-06-22T17:46:23.050386-04:00 remote guacd[1358486]: guacd[1358486]:
INFO:#011Connected to RDPDR 1.12 as client 0x14ff5ca6
2023-06-22T17:46:23.050402-04:00 remote guacd[1358486]: guacd[1358486]:
INFO:#011RDPDR user logged on
Not even a mention of sftp....
Jason.
---------------------------------------------------------------------
To unsubscribe, e-mail: [email protected]
For additional commands, e-mail: [email protected]