User Tools

Site Tools


ubuntu-xrdp

Install XRDP and XFCE

  1. Install XFCE & XRDP
    sudo apt-get -y install xrdp xfce4
  2. 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
  3. Create default file .xsession for new users
    echo xfce4-session | sudo tee /etc/skel/.xsession
  4. Do not start GUI on console
    sudo systemctl set-default multi-user.target
  5. Reboot to provide clean start
    sudo reboot
ubuntu-xrdp.txt · Last modified: 2022/07/15 10:07 by baumi

Donate Powered by PHP Valid HTML5 Valid CSS Driven by DokuWiki