-
-
Notifications
You must be signed in to change notification settings - Fork 1.7k
New issue
Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.
By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.
Already on GitHub? Sign in to your account
Xrdp file transfer problem #1429
Comments
Hi @alemrsrl Can I ask you a few questions regarding this, to try to narrow down where the problem is?
Thanks |
1 Windows -> Linux (from thinclient_drives to /home/user/folder) |
Thanks - that's useful. From that it looks like:-
By default, xrdp-chansrv writes a log file in A couple more questions:-
|
I've seen that the problem might be related to the disk free space. When looking at the properties of the mapped drive, you see it has "0 bytes available". Some tools work as they don't care about the remaining disk space, some check the capacity first and fail. So the question here is why xrdp reports the mapped drive as "0 bytes available"? |
Hi @musu68 - thanks for the thought. The free space may be the case here, but I don't think it's the whole story. If it was, I'd expect the desktop environment to report an error like 'no space available' and simply not do the copy. This is somewhat different in that it's a hang-up, and to me it sounds more like a bug in the xrdp implementation of the copy. I'm still waiting for @alemrsrl to clarify his environment. When he does, I'm happy to try to reproduce the problem, but I'll bear the disk space info in mind. Are you seeing this problem too? If so, are you using the latest version of Ubuntu 18.04, and are you using GNOME? |
@matt335672 BTW, thank you for your continuous contribution on drive redirection feature. |
Ubuntu 18.04.3 LTS [20191022-12:23:40] [CORE ] main: app started pid 2629(0x00000a45) if i look at properties of thinclient_drives folder i correctly see the space used |
That's useful - thanks. I'll try to reproduce this with GNOME when I get a bit of time later in the week. If you can tell me a bit about the kinds of files you're trying to copy, and how often this happens it might be useful. Does it always happen on all files? Or does it only happen on certain files and directories? If it's certain files only, how big are they according to |
simple txt files from 5Kb to 1000kb for example (every files every dimension) folder copy always crash |
@matt335672 I can reproduce this on latest MINT running Mate. Output from df: |
Hi @alemrsrl - I've just spent a couple of hours on this, and I'm not able to reproduce your problem, so I'm obviously not doing something you are, or something is different in your environment. I've set up a VM with 2GB of RAM and installed Ubuntu 18.04 LTS with all the updates. The command I've installed xrdp 0.9.5 from the repositories, as that's easy to do (although this version has significant limitations when it come to drive redirection). I started with an empty user account on both the Linux and Windows sides, and logged in to the VM from a Windows 10 Home PC. I selected the Xvnc backend. I then copied two lots of text files as follows:-
Both copies were fine, and that's a lot of files. My nautilus file windows are set up to show file details. Can you tell from my description what you might be doing differently from me? Thanks. |
my scenario is: Virtual machine properties: Guest OS: Xrdp Rdp client: Access method; xorg (because i must use 2 monitors) i've made a lot of test with every distro and e desktop env. and Virtual machine properties: Guest OS: Xrdp Rdp client: Access method; xorg (because i must use 2 monitors) i'm very confused about it |
Thanks for the info. I'll have a play around with the xorg backend and your locale and see if I can get a hang. Can I ask you to try temporarily renaming your .bashrc to see if there's anything in there which makes a difference? Can you also specify what sort of drive you are copying from on the Windows side. I'm assuming the C: drive at the moment, but you might be using something else. If you are using something else, can you make the hang happen when using the C: drive? If you can find a standard Windows file on the C: drive which causes the hang when you copy it to the Linux side I can concentrate on that file. |
I'm still not able to reproduce this. I'm not entirely clear whether xrdp-chansrv is crashing or not. The initial evidence is that it isn't, but your log file would tend to suggest that it is. I suggest we enable coredumps on the machine, to see whether we can get a useful dump. To enable coredumps, edit
with:-
Then reboot to be on the safe side. When you log in, check that the output of When the problem happens, we may then get a file called |
Hi @alemrsrl |
Hi everybody, |
Hi, i've a problem with xrdp and ubuntu 18.04
after installing and configuring xrdp on ubuntu i try to connect to my remote host with drive redirection enabled and on my remote desktop i see the thinclient_drive folder and i can navigate into folder structure.
But if i try to copy any file, my home dir entirely stuck and i'm not be able to navigate to i with nautilus and shell.
to resolve the problem i must reboot the remote linux system or use the command fusermount -z -u /home/user/thinclient_drives and try to reconnect.
this problem does not occur if i try to copy the file from my local pc (ctrl+c) and the go to remote host and past it to any folder (ctrl+v).
i've tried xrdp version 0.9.5 0.9.8 0.9.11 builded from source or via apt on ubuntu 18.04 and debian 9 (always taking care to use clean operating systems installations)
my local pc is windows 10 and i've used the default windows rdp client
i' ve made some test with freerdp client on windows and in this case i've this problem:
i see the thinclient_drives folder and i'm be able to navigate into and i can copy file from this folder to my home dir but if i close the thinclient_drives folder and i reopen it this is empy and i've to close and reopen rdp session to see it.
The text was updated successfully, but these errors were encountered: