From 3c52b74e640e3f6f64e1397f42b0c0f98c97b529 Mon Sep 17 00:00:00 2001 From: "Justin Terry (VM)" Date: Tue, 5 Dec 2017 11:08:51 -0800 Subject: [PATCH] Testing --- ubuntu/16.04/config-user.sh | 24 ++++++++++++ ubuntu/16.04/install.sh | 76 +++++++++++++++++++++++++++---------- 2 files changed, 79 insertions(+), 21 deletions(-) create mode 100644 ubuntu/16.04/config-user.sh 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