diff --git a/ubuntu/16.04/config-user.sh b/ubuntu/16.04/config-user.sh new file mode 100644 index 0000000..215f4b3 --- /dev/null +++ b/ubuntu/16.04/config-user.sh @@ -0,0 +1,24 @@ +#! /bin/bash + +# +# This script configures the logged in users xsession to properly +# configure unity to launch +# +# Major thanks to: http://c-nergy.be/blog/?p=10752 for the tips. +# + +sudo bash -c "cat >~/.xsession </etc/polkit-1/localauthority.conf.d/02-allow-colord.conf < /dev/null - fi -else - # No lightdm config file. - echo "[Seat:*]" > sudo tee /etc/lightdm/lightdm.conf > /dev/null - echo "xserver-config=/etc/X11/xrdp/xorg.conf" | sudo tee --append /etc/lightdm/lightdm.conf > /dev/null -fi - #reboot +echo +echo "Reboot your machine to begin using XRDP" +echo \ No newline at end of file