Skip to content

Instantly share code, notes, and snippets.

@winstonleedev
Created June 17, 2019 05:21
Show Gist options
  • Save winstonleedev/93347dcb53092ef0de96411fe9d9749c to your computer and use it in GitHub Desktop.
Save winstonleedev/93347dcb53092ef0de96411fe9d9749c to your computer and use it in GitHub Desktop.
Configuration changes needed to use xrdp on ubuntu
;/etc/polkit-1/localauthority/50-local.d/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
unset DBUS_SESSION_BUS_ADDRESS
unset XDG_RUNTIME_DIR
if test -r /etc/profile; then
. /etc/profile
fi
#xrdp multiple users configuration
# xfce-session
# test -x /etc/X11/Xsession && exec /etc/X11/Xsession
# exec /bin/sh /etc/X11/Xsession
gnome-session
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment