ubuntu-xrdp
Install XRDP and XFCE
- Install XFCE & XRDP
sudo apt-get -y install xrdp xfce4
- Fix Policy Kit to Avoid Color Manager Error Message
cat << EOF | sudo tee /etc/polkit-1/localauthority.conf.d/02-allow-colord.conf polkit.addRule(function(action, subject) { if ((action.id == "org.freedesktop.color-manager.create-device" || action.id == "org.freedesktop.color-manager.create-profile" || action.id == "org.freedesktop.color-manager.delete-device" || action.id == "org.freedesktop.color-manager.delete-profile" || action.id == "org.freedesktop.color-manager.modify-device" || action.id == "org.freedesktop.color-manager.modify-profile") && subject.isInGroup("{group}")) { return polkit.Result.YES; } }); EOF
- Create default file .xsession for new users
echo xfce4-session | sudo tee /etc/skel/.xsession
- Do not start GUI on console
sudo systemctl set-default multi-user.target
- Reboot to provide clean start
sudo reboot
ubuntu-xrdp.txt · Last modified: 2022/07/15 10:07 by baumi