Skip to content

Instantly share code, notes, and snippets.

@qtopie
Created January 14, 2019 15:19
Show Gist options
  • Save qtopie/168fe97eb61c647c9031dfaf07e97378 to your computer and use it in GitHub Desktop.
Save qtopie/168fe97eb61c647c9031dfaf07e97378 to your computer and use it in GitHub Desktop.
Ubuntu 18.04 Xrdp Configuration

Installation

sudo apt install xorgxrdp tigervnc-standalone-server xrdp

Configuration

I prefer vnc over xorg, so set autorun=Xvnc.

Set firewall: sudo ufw allow 3389/tcp

Enable autostart: sudo systemctl enable xrdp

Fix authentication popup problem:

sudo bash -c "cat >/etc/polkit-1/localauthority/50-local.d/45-allow.colord.pkla" <<EOF
[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
EOF

Now reboot and try to connect to it.

Note that by using this remote desktop connnection, you should not connect remotely to your computer while you login into it locally.

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment