1. Instalar los paquetes

sudo apt install xrdp
sudo systemctl enable xrdp
sudo apt install xorgxrdp xorg-video-abi-23 xserver-xorg-core

 

2. Solucionar el problema de “Authentication required to create a color managed device

sudo su - 
cat  <<EOF > /etc/polkit-1/localauthority.conf.d/02-allow-color.d.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;
}
});
EOF

 

3. Solucionar el problema de “system crash popups”

sudo su - 
cat  <<EOF > /etc/polkit-1/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 
EOF

 

4. Reiniciair

sudo systemctl restart xrdp

5. Agregar los usuarios al grupo users

usermod  -G users aurlenuser

6 Abrir un cliente RDP, como MS RDP y conectarse

Para Linux Mint instalar

sudo apt-get updatesudo 
sudo apt install xrdp xorgxrdpsudo apt install -y freerdp-x11
echo env -u SESSION_MANAGER -u DBUS_SESSION_BUS_ADDRESS xfce4-session>~/.xsessionsudo 
sudo reboot