Linux

RDP server on Kubuntu 18.04

These steps allow remote access to the graphical terminal on a Kubuntu 18.04 installation.

  1. Install the following packages

apt install xorgxrdp xrdp xserver-xorg-core xserver-xorg-video-all xorg xrdp-pulseaudio-installer xfonts-100dpi xfonts-75dpi xserver-xorg-input-all
  1. Enable the xrdp service

systemctl enable xrdp
  1. Check that the xrdp server is listening (port 3389 should be active and open in the system’s firewall)

ss -ntlp | grep 3389
  1. Create the following files to prevent password authorization prompts during RDP login:
 
nano /etc/polkit-1/localauthority/50-local.d/45-allow-colord.pkla
 
[Allow Colord all Users]
Identity=unix-user:*
Action=org.freedesktop.color-manager.create-device;org.freedesktop.color-manager.create-profile;org.freedesktop.color-manager.delete-device;org.freedesktop.color-manager.delete-profile;org.freedesktop.color-manager.modify-device;org.freedesktop.color-manager.modify-profile
ResultAny=no
ResultInactive=no
ResultActive=yes

nano /etc/polkit-1/localauthority/50-local.d/46-allow-network.pkla
[Allow Network all Users]
Identity=unix-user:*
Action=org.freedesktop.NetworkManager.network-control
ResultAny=yes
ResultInactive=no
ResultActive=yes