! 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 !
When running under GDM 2.26.x+, xfce4-session should ask ConsoleKit to shutdo...
Status:
RESOLVED: FIXED
Product:
Xfce4-session
Component:
General

Comments

Description superm1 2009-12-14 06:19:26 CET
Ubuntu 10.04 and later will be dropping HAL as a supported package.  Since HAL won't be available as a shutdown helper, the user would have to be queried for the password every time they tried to shutdown or reboot from the menus.

There is code available in the latest gnome-session packages that shows how to get a GDM authentication cookie and request a shutdown or reboot from it.
Comment 1 superm1 2009-12-14 08:55:27 CET
(In reply to comment #0)
> Ubuntu 10.04 and later will be dropping HAL as a supported package.  Since HAL
> won't be available as a shutdown helper, the user would have to be queried for
> the password every time they tried to shutdown or reboot from the menus.
> 
> There is code available in the latest gnome-session packages that shows how to
> get a GDM authentication cookie and request a shutdown or reboot from it.

So I was mistaken, that GDM auth code is as a backup.  Really, what's needed is ConsoleKit support for shutdown and reboot.
Comment 2 Brian J. Tarricone (not reading bugmail) 2009-12-15 03:20:21 CET
CK support is already available (but not quite 100% reliable) in git master.
Comment 3 superm1 2009-12-15 06:10:56 CET
Are you sure?  I didn't see any references to it when grep'ing through the changelog or tree at git://git.xfce.org/xfce/xfce4-session
Comment 4 Brian J. Tarricone (not reading bugmail) 2009-12-15 08:43:21 CET
Not sure... maybe it hasn't been pushed out yet.
Comment 5 superm1 2009-12-15 23:16:26 CET
The owner is listed as you (Brian Tarricone), so did you just not push an update up to git.xfce.org?  I'd like to take a look at that patch, most likely to backport until 4.8 is out (in case it doesn't make it in time for Ubuntu 10.04)
Comment 6 superm1 2009-12-16 17:07:22 CET
I'd like to reopen this ticket until the patch for CK is actually available at git.xfce.org.
Comment 7 superm1 2010-02-20 06:10:19 CET
Could someone revisit merging in the console-kit branch to trunk?

http://git.xfce.org/xfce/xfce4-session/log/?h=console-kit
Comment 8 Jérôme Guelfucci editbugs 2010-02-26 23:40:59 CET
Fixed in git master.

Bug #6082

Reported by:
superm1
Reported on: 2009-12-14
Last modified on: 2010-02-26

People

Assignee:
Brian J. Tarricone (not reading bugmail)
CC List:
1 user

Version

Attachments

Additional information