xrdp
From Gentoo Wiki
xrdp is an open source RDP server that supports many session runners.
One of the runners, xorgxrdp, starts a standalone X11 server. In this guide we'll use it.
Features
- Two-way clipboard transfer
- Drive redirection (mount local client drives on remote machine)
- TLS encryption
- Proxying RDP and VNC
- Reconnect to an existing session
Installation
Emerge
Enable the dilfridge repository:
root #
eselect repository enable dilfridge
root #
emaint sync -r dilfridge
Install xorgxrdp:
root #
emerge --ask net-misc/xorgxrdp
Configuration
The configuration file is installed into /etc/xrdp/xrdp.ini.
The default startwm.sh respects $XSESSION variable set in /etc/profile.
Service
To start xrdp at boot, run the following commands:
OpenRC
root #
rc-service xrdp start
root #
rc-update add xrdp default
systemd
root #
systemctl start xrdp.service
root #
systemctl enable xrdp.service
Audio support
Enable the GURU repository:
root #
eselect repository enable guru
root #
emaint sync -r guru
Install the xrdp module for Pipewire:
root #
emerge --ask media-sound/pipewire-module-xrdp
The module will load automatically via XDG autostart if xrdp session is detected.