diff options
author | Silvio Rhatto <rhatto@riseup.net> | 2017-05-11 20:57:19 -0300 |
---|---|---|
committer | Silvio Rhatto <rhatto@riseup.net> | 2017-05-11 20:57:19 -0300 |
commit | e0df918083713e82fdd2c9a15756f2ff3e51d1ec (patch) | |
tree | 4e9e0e86381c790ae1c6e2b40ffdf01258ac279e | |
parent | 60ea60eb6ea18d5491ded883fe8c939c8a188ba8 (diff) | |
download | xsession-e0df918083713e82fdd2c9a15756f2ff3e51d1ec.tar.gz xsession-e0df918083713e82fdd2c9a15756f2ff3e51d1ec.tar.bz2 |
Start polkit agent if available
-rwxr-xr-x | xsessionrc.dot.link | 6 |
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 |