Skip to content

Instantly share code, notes, and snippets.

@sefgit
Created April 3, 2025 01:29
Show Gist options
  • Save sefgit/c5131bb0bbe4c6255e794127aed3337b to your computer and use it in GitHub Desktop.
Save sefgit/c5131bb0bbe4c6255e794127aed3337b to your computer and use it in GitHub Desktop.
xRDP – The Infamous “Authentication Required to Create Managed Color Device” Explained
# xRDP – The Infamous “Authentication Required to Create Managed Color Device” Explained
# https://c-nergy.be/blog/?p=12073
# /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("{users}")) {
return polkit.Result.YES;
}
});
@sefgit
Copy link
Author

sefgit commented Apr 3, 2025

https://www.digitalocean.com/community/tutorials/how-to-enable-remote-desktop-protocol-using-xrdp-on-ubuntu-22-04

apt install xfce4 xfce4-goodies -y
apt install xrdp -y
systemctl status xrdp
systemctl start xrdp
# customize /etc/xrdp/xrdp.ini
# Session types
#
# for all xrdp users
cd ~
echo "xfce4-session" | tee .xsession
systemctl restart xrdp
#
#
# disable screen lock pasword in xfce4 settings

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