From 04521fed99ffb7168ad8ca8da07d6b0f4d6fbbb6 Mon Sep 17 00:00:00 2001 From: Craig Wilhite Date: Tue, 22 May 2018 15:06:34 -0700 Subject: [PATCH] Correct Polkit Policy 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 --- ubuntu/18.04/install.sh | 20 +++++++------------- 1 file changed, 7 insertions(+), 13 deletions(-) diff --git a/ubuntu/18.04/install.sh b/ubuntu/18.04/install.sh index 2004d50..8b15f4e 100644 --- a/ubuntu/18.04/install.sh +++ b/ubuntu/18.04/install.sh @@ -81,19 +81,13 @@ echo "hv_sock" > /etc/modules-load.d/hv_sock.conf fi # Configure the policy xrdp session -cat >/etc/polkit-1/localauthority.conf.d/02-allow-colord.conf </etc/polkit-1/localauthority/50-local.d/45-allow-colord.pkla <