[Date Prev][Date Next] [Thread Prev][Thread Next] [Date Index] [Thread Index]

[Pkg-xfce-devel] Bug#732623: Bug#729576: duplicate of bug #726763



On 2013-12-24 16:41:41 +0100, Pascal Dormeau wrote:
> Then I had a look
> at /usr/share/polkit-1/actions/org.freedesktop.login1.policy
> 
> reboot and shutdown (respectively suspend and hibernate) permissions
> differ inside the "multiple-sessions" stanza.
> It is allow_active "yes" for shutdown (respectively suspend) whereas
> allow_active "auth_admin_keep" for reboot (respectively hibernate).

I'm wondering why there is such a difference.

> Forcing allow_active to "yes" for reboot and hibernate in the
> multiple-sessions stanza allows to get all 4 buttons.
> 
> But I cannot explain the multiple-session thing, normally
> there is only one session (lightdm) if no one else is logged in.

With D-Bus monitoring[*], I could see that there was between 1 or 3
sessions at the same time. Perhaps the user sessions were removed too
late.

[*] http://bugs.debian.org/cgi-bin/bugreport.cgi?bug=732623#132

-- 
Vincent Lef?vre <vincent at vinc17.net> - Web: <http://www.vinc17.net/>
100% accessible validated (X)HTML - Blog: <http://www.vinc17.net/blog/>
Work: CR INRIA - computer arithmetic / AriC project (LIP, ENS-Lyon)




Reply to: