-
-
Notifications
You must be signed in to change notification settings - Fork 1.7k
Description
xrdp version
0.10.80
Detailed xrdp version, build options
xrdp 0.10.80
A Remote Desktop Protocol Server.
Copyright (C) 2004-2024 Jay Sorg, Neutrino Labs, and all contributors.
See https://github.com/neutrinolabs/xrdp for more information.
Configure options:
--enable-fuse
--enable-ipv6
--enable-rdpsndaudin
--enable-mp3lame
LDFLAGS=-ldl
Operating system & version
debian deepin
Installation method
git clone & make install
Which backend do you use?
xorgxrdp
What desktop environment do you use?
xfce dde
Environment xrdp running on
No response
What's your client?
mstsc xfreerdp wfreerdp
Area(s) with issue?
Clipboard, File transfer / drive redirection
Steps to reproduce
Specific filenames cause File transfer / drive redirection error or crash
The anomalies are not due to specific single characters but are caused by combinations of multiple normal characters utf-8
1.When the filename contains specific characters, copying via the file clipboard fails.
For example: "日照香炉生紫烟遥看瀑布挂前川飞流直下三千尺疑是银河落九天.txt"
Pasting from local to xrdp session works normally.
Copying within the xrdp session to thinclient_drives also works.
But copying from the xrdp session and pasting to the local disk does not work.
2.thinclient_drives cannot see files with specific character names.
For example: "暮从碧山下,山月随人归。却顾所来径,苍苍横翠微。相携及田家,童稚开荆扉。绿竹入幽径,青萝拂行衣。欢言得所憩,美酒聊共挥。长歌吟松风,曲尽河星稀。我醉君复乐,陶然共忘机。.txt"
In the thinclient_drives directory of the xrdp session, other files can be seen, but this file is not visible.
This phenomenon also occurs in file managers like thunar and dde-file-manager on Debian Deepin.
3.Copying files with specific character names causes thinclient_drives to crash.
For example: "暮从碧山下山月随人归却顾所来径苍苍横翠微相携及田家童稚开荆扉绿竹入幽径青萝拂行衣欢言得所憩美酒聊共挥长歌吟松风曲尽河星稀我醉君复乐陶然共忘机.txt"
Pasting from local to xrdp session works normally.
But pressing CTRL+C on this file within the xrdp session causes thinclient_drives to crash instantly.
This phenomenon also occurs in file managers like thunar and dde-file-manager on Debian Deepin.
4.Deepin dde-file-manager file clipboard behaves abnormally (complex situations driving me crash).
all filenames have issues.possible that the dde-file-manager has a significant impact.
Normal:
Copying single or multiple files in the xrdp session's Thunar or dde-file-manager and pasting to the windows local disk works normally (client programs: mstsc, wfreerdp).
Pasting into the xrdp session's Thunar File Manager works normally (client programs: mstsc, xfreerdp, wfreerdp).
Copying single or multiple files locally, and seeing them in the thinclient_drives/.clipboard directory in the dde-file-manager (client programs: mstsc, xfreerdp, wfreerdp).
Abnormal:
Copying single or multiple files in the xrdp session's Thunar or dde-file-manager and pasting to the linux local disk
can copy file,but local linux system file Manager prompt: "file Concatenation Error".
XRDP Session Error Message:[clipboard_send_file_data(clipboard_file.c:511)] clipboard_send_file_data: read error, want 131072 got 0. Any file Error Message:want 131072 got 0(client programs: xfreerdp).
Copying single or multiple files locally, and pasting in the dde-file-manager has no effect (client program: mstsc).
Copying single or multiple files locally, and pasting in the dde-file-manager sometimes has no effect, but works after renaming the file (client program: xfreerdp).
Pasting works the first time in the dde-file-manager, but fails after copying other files. Closing and reopening the dde-file-manager allows the first paste, but the issue recurs with subsequent copies (client program: wfreerdp).
Other situations:
Files with overly long filenames in English characters cannot be copied via the file clipboard.
For example: aaa...aaaa.txt (233-255 characters).
Copying within the xrdp session fails:
xrdp-chansrv[43485]: [ERROR] clipboard_get_file: Can't add client-side file /home/temp/thinclient_drives/_home_bb/Desktop/aaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaarrrrrrrrrrrrrrrrrrrrrrrrrrrrrrrrrrrrrrrrrrrrrr to clipboard
but pasting the same file from local to the xrdp session works.
This might be due to the path+filename length exceeding 255 characters? The OS's maximum filename length may also affect this.
✔️ Expected Behavior
1.Filenames do not cause File transfer / drive redirection to crash.
2.dde-file-manager can use the file clipboard normally.
provide help in analyzing the direction for solving these issues.
3.File transfer / drive redirection can handle special filenames.
Requested Feature:
File transfer / drive redirection add the ability to copy directories.^^
❌ Actual Behavior
No response
Anything else?
No response