! Please note that this is a snapshot of our old Bugzilla server, which is read only since May 29, 2020. Please go to gitlab.xfce.org for our new server !
xfce4-session fails to request necessary permissions from policykit to perfor...
Status:
RESOLVED: FIXED
Severity:
enhancement
Product:
Xfce4-session
Component:
General

Comments

Description Cody A.W. Somerville 2009-06-20 00:07:08 CEST
For distributions that use policykit, xfce4-session needs to request the necessary permissions from policykit to shutdown when there are multiple users logged in. There are PK helper functions to do this, xfce4-session just needs to run them. 

Otherwise you get a dialogue when you attempt to shutdown/restart and are return to the GDM login screen after dismissing it:

"Unable to perform shutdown

org.freedesktop.hal.power_management.reboot_multiple_sessions
auth_admin <-- (action, result)"

Cheers! :)
Comment 1 Cody A.W. Somerville 2009-06-20 00:09:18 CEST
In case the URL field is easy to miss, this bug was originally reported in Launchpad as LP #251337 (https://bugs.edge.launchpad.net/xfce4-session/+bug/251337).
Comment 2 Brian J. Tarricone (not reading bugmail) 2009-06-21 18:23:52 CEST
I don't have PK on my machine so I won't be working on this until I do.  Patches accepted, though.
Comment 3 Jérôme Guelfucci editbugs 2010-02-26 23:51:13 CET
Fixed in git master.

Bug #5485

Reported by:
Cody A.W. Somerville
Reported on: 2009-06-20
Last modified on: 2010-02-26

People

Assignee:
Brian J. Tarricone (not reading bugmail)
CC List:
2 users

Version

Attachments

Additional information