Whereas the polkit policy in the previous script eliminated auth popups upon a remote connection, there was a "Error detected" message box that would still periodically pop up. We must change polkit configuration to use .pkla file because this is required by Polkit ver 1.05 (which ships with Bionic Beaver).
/etc/polkit-1/localauthority.conf.d/ should be the rightful place for this override config file to go, but it appears to not get picked up when housed there.
Brought to light with thanks to Griffon @ http://c-nergy.be/blog/?p=12043
Fixes a bug in the 16.04 and 18.04 script that doesnt properly check for
root at run.
Removes some unnecessary rmmod/modprobe calls that were required in
early 18.04 betas that are no longer required.
Signed-off-by: Justin Terry (VM) <juterry@microsoft.com>
Updates the thinclient_drives FUSE mount to show up as shared-drives when
clients use drive redirection.
Signed-off-by: Justin Terry (VM) <juterry@microsoft.com>
Calling bash is no longer needed.
Also grep can search on files on its own.
The return status of grep is usable with if and avoids calling
test (or [ for that matter ).
Adds a few checks to avoid double cloning the repos if rerun multiple times.
Fixes a bug where we check for file status not directory status for the xrdp/xorgxrdp repos.
Adds the post script to be run the the logon user account to allow the Unity panels to load.