From: Mark Wooding Date: Tue, 12 Jan 2010 11:20:20 +0000 (+0000) Subject: dot/xinitrc: Start policykit authentication agent if present. X-Git-Url: https://www.chiark.greenend.org.uk/ucgi/~mdw/git/profile/commitdiff_plain/59a62625414f72f916e8673674d8cb3b379dfaee?ds=inline;hp=-c dot/xinitrc: Start policykit authentication agent if present. This will, with luck, be more convenient than without. Maybe this is the wrong approach and I ought to actually run the Gnome session manager (which might start this agent automatically). --- 59a62625414f72f916e8673674d8cb3b379dfaee diff --git a/dot/xinitrc b/dot/xinitrc index da8c51c..9dc1954 100755 --- a/dot/xinitrc +++ b/dot/xinitrc @@ -122,6 +122,10 @@ start-clients () { ## Mail notification. run bginit mail-notification + ## Policykit authentication agent. + agent=/usr/lib/policykit-1-gnome/polkit/gnome-authentication-agent-1 + if [ -x $agent ]; then run bginit $agent; fi + ## System monitor. case $vnc in no) run bginit gkrellm ;; esac