You signed in with another tab or window. Reload to refresh your session.You signed out in another tab or window. Reload to refresh your session.You switched accounts on another tab or window. Reload to refresh your session.Dismiss alert
Clipboard and drive redirection not available. Chansrv log contains lines like these:-
[2024-09-09T15:15:37.732+0100] [ERROR] [setup_api_listen(chansrv.c:1380)] setup_api_listen: trans_listen failed for port /var/run/xrdp/1001/xrdpapi_1
[2024-09-09T15:15:37.497+0100] [ERROR] [setup_listen(chansrv.c:1357)] setup_listen: trans_listen failed for port /var/run/xrdp/1001/xrdp_chansrv_socket_1
The socket directory needs to be present when chansrv is started, or chansrv can't create its main listening socket.
One option might be to move the socket directory for configurations like this. This has a couple of disadvantages:-
The user has to create the directory in such a way that only the user and the xrdp process can access it. This is challenging to get right, and makes it hard for the xrdp team to re-design this directory.
If the directory moves, other components like the sound driver(s) need to be aware this has happened. Again,the onus to get this right is on the user, rather than the developer(s).
A better solution is for chansrv to ask sesman to create the socket directory via an additional SCP message. If chansrv finds the socket directory for the user to be missing, it can simply ask sesman to create it.
This does require sesman to be running. UDS authentication will be adequate for this, and no complicated run-time configuration is required by the user.
xrdp version
0.10.x and later
Detailed xrdp version, build options
Operating system & version
Any
Installation method
Doesn't matter
Which backend do you use?
x11vnc, typically
What desktop environment do you use?
various
Environment xrdp running on
Typically physical machine
What's your client?
Any
Area(s) with issue?
Clipboard, File transfer / drive redirection
Steps to reproduce
Make a note of the DISPLAY
Create a VNC-compatible stanza for xrdp in xrdp.ini, e.g.:-
The above is for console display :1
✔️ Expected Behavior
Clipboard and drive redirection available
❌ Actual Behavior
Clipboard and drive redirection not available. Chansrv log contains lines like these:-
Anything else?
See #3237
The text was updated successfully, but these errors were encountered: