How to Setup xrdp in Manjaro Linux

Rajasekaran
2 min readMay 11, 2021

Manjaro Linux is one of the leading Linux distribution.

However, it does not support xrdp out of the box (or as easy as executing a single command i.e apt install xrdp in Ubuntu).

Manjaro supports VNC server, however rdp has distinct advantage, when client OS is Windows. There is no need to install any additional software and xrdp handles the session seamlessly compared to VNC.

Here is the workaround steps to Enable xrdp in Manjaro Linux.

Step 1: Enable AUR support

Select “Add or Remove Software” → Preferences → AUR → Enable AUR support

Step 2: Install xrdp & xorgxrdp-git (latest packages)

Step 3: Configure xrdp

$ sudo systemctl enable xrdp.service
$ sudo systemctl enable xrdp-sesman.service

$ sudo echo “allowed_users=anybody” >> /etc/X11/Xwrapper.config

edit ~/.xinitrc

Comment the line

#exec $(get_session "$1")

Add below line to last, save and exit (For KDE Plasma desktop, edit the command by referring the same file for other DEs)

exec dbus-launch --sh-syntax startplasma-x11

Step 4: Reboot & connect from Windows RDP client

--

--