xfce4-session-4.10.1, authentication

Maximilien Noal noal.maximilien at gmail.com
Tue May 7 09:29:39 CEST 2013


Le 07/05/2013 00:06, Allin Cottrell a écrit :
> I've updated to xfce4-session-4.10.1 (and I'm using systemd).
>
> Everything seems fine, except that now I'm being asked to authenticate 
> if I choose to power down or reboot. This seems to be coming from 
> org.freedesktop.login1.
>
> Since I'm the sole user on my laptop this is a PITA; and it didn't 
> happen with xfce4-session-4.10.0. Any hints on what has to be edited 
> to bypass the authentication request? Thanks.
>
Hello,

Edit the appropriate action in 
/usr/share/polkit-1/actions/org.freedesktop.login1.policy to :
<allow_active>yes</allow_active>

For example :
>         <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>


The authentification window has a button that will let you see which 
policy and action setting is concerned.


More information about the Xfce mailing list