aboutsummaryrefslogtreecommitdiff
diff options
context:
space:
mode:
-rwxr-xr-xxsessionrc.dot.link6
1 files changed, 6 insertions, 0 deletions
diff --git a/xsessionrc.dot.link b/xsessionrc.dot.link
index 659a058..42aa23b 100755
--- a/xsessionrc.dot.link
+++ b/xsessionrc.dot.link
@@ -97,6 +97,12 @@ if [ "$OSVERSION" != "6" ] && which gnome-keyring-daemon > /dev/null; then
true
fi
+# Polkit agent
+# See https://leap.se/en/docs/client/known-issues#no-polkit-agent-available-error
+if [ -e "/usr/lib/policykit-1-gnome/polkit-gnome-authentication-agent-1" ]; then
+ /usr/lib/policykit-1-gnome/polkit-gnome-authentication-agent-1 &
+fi
+
# Make sure to finish all background processes
#trap 'kill $(jobs -p)' EXIT