The xrdp‐chansrv program - neutrinolabs/xrdp GitHub Wiki
This page applies to version v0.10.x of xrdp
xrdp-chansrv is a component of xrdp which runs after a user logs in.
It is responsible for handling drive redirections, copy/paste operations, and some Unicode input features.
You might see the following symptoms:
- A pause when reconnecting to a session
- Drive redirections no longer work in the session
- Copy-paste operations between the server and the client will no longer work.
- Unicode input may no longer work.
This is normally caused by a defect in xrdp-chansrv.
Please report any failures of xrdp-chansrv you encounter to the project. This helps to make xrdp better for everyone.
Query the system for the process using (for example):
$ ps -C xrdp-chansrv
PID TTY TIME CMD
26964 ? 00:00:00 xrdp-chansrv
This is normally in ~/.local/share/xrdp/xrdp-chansrv.<dname>.log, where <dname> is the name of your session display.
Follow this process to restart a failed xrdp-chansrv.
- Make sure
xrdp-chansrvis not running for the user (see above) - Start a terminal program
- Unmount any redirected drives with the command
fusermount -u ~/thinclient_drivescommand. - Run
xrdp-chansrvin the terminal with thexrdp-chansrvcommand. The command will now generate logging in the terminal window. - Disconnect from your session and reconnect. A connection to your new chansrv process will be established.