I am running BLFS7.5 with systemd. I also have polkit installed and am using
lxpolkit as my graphical authentication agent. I don't have a display manager;
I start up my Fluxbox desktop with startx.
On a console I can power off or reboot without giving a password because I am
the sole user of the system. But when I do the same thing in X, either from a
terminal or using the Fluxbox menu, I get asked to authenticate. I can use my
own password as I am a member of the wheel group, but it's still an extra step
that I could do without. How do I configure polkit to work the same way in X as
in the console?
For information, here is the relevant section from the login policy file:
<action id="org.freedesktop.login1.power-off">
<description>Power off the system</description>
<message>Authentication is required for powering off the
system.</message>
<defaults>
<allow_any>auth_admin_keep</allow_any>
<allow_inactive>auth_admin_keep</allow_inactive>
<allow_active>yes</allow_active>
</defaults>
</action>
Am I not an "active user" when I'm in X?
--
Hazel Russman <[email protected]>
--
http://lists.linuxfromscratch.org/listinfo/blfs-support
FAQ: http://www.linuxfromscratch.org/blfs/faq.html
Unsubscribe: See the above information page