xRDP fix clipboard stop working

Reference: https://github.com/neutrinolabs/xrdp/issues/2596


From within xRDP session

  • Check if xrdp-chansrv  is running. If yes. Kill it.
$ pkill xrdp-chansrv
  • Unmount thinclient_drives
$ fusermount -u ~/thinclient_drives
  • Start xrdp-chansrv again
$ xrdp-chansrv
Global configuration:
    UseUnixSocket (derived):   true

Security configuration:
    RestrictOutboundClipboard: false

Chansrv configuration:
    EnableFuseMount            true
    FuseMountName:             thinclient_drives
    FileMask:                  077
chansrv::main: using log file [/home/user/.local/share/xrdp/xrdp-chansrv.10.log]


  • Disconnect and reconnect from the RDP session. (this is important)