Exec=eval "$(/usr/lib/policykit-1-gnome/polkit-gnome-authentication-agent-1)"
Why the eval? The agent is directly executable.
A simpler approach is to just add this line to ~/.xsessionrc:
/usr/lib/policykit-1-gnome/polkit-gnome-authentication-agent-1 &
Reference: https://wiki.debian.org/Xsession
]]>[Desktop Entry]
Name=Polkit Agent
Type=Application
Terminal=false
Exec=eval "$(/usr/lib/policykit-1-gnome/polkit-gnome-authentication-agent-1)"
rolfie
]]>I restarted because I thought the problem was that I was running my Xsession's dbus under a different group (with "sg") and indeed when I reverted to the original and restarted, it worked! But then I put it back to the different group and it still works. So I guess it simply needed a restart?? Alright... Maybe there was some polkit daemon that had died then.
Thank you all for the help! Once I verify it's working I'll mark it as SOLVED.
]]>GObject introspection data for PolicyKit
PolicyKit is a toolkit for defining and handling the policy that
allows unprivileged processes to speak to privileged processes.This package contains introspection data for PolicyKit.
It can be used by packages using the GIRepository format to generate
dynamic bindings.
Added:
Taking this one step further by searching for PolicyKit, there is one further item installed: cups-pk-helper (PolicyKit helper to configure cups with fine-grained privileges):
PolicyKit helper to configure cups with fine-grained privileges
This package provides a PolicyKit helper to configure cups with
fine-grained privileges. For example, it's possible to let users
enable/disable printers without requiring a password, while still
requiring a password for editing printer settings.
Which package is supposed to be the polkit agent for XFCE? Arch says it's xfce-polkit but that doesn't exist in the repos. I seem to have installed pokit-kde-agent-1, mate-polkit and mate-polkit-common but not mate-polkit-bin, and I see that I could install lxpolkit too. But since i'm running XFCE I don't think I should be using these.
Thank you.
]]>