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.
(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.
CK support is already available (but not quite 100% reliable) in git master.
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
Not sure... maybe it hasn't been pushed out yet.
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)
I'd like to reopen this ticket until the patch for CK is actually available at git.xfce.org.
Could someone revisit merging in the console-kit branch to trunk? http://git.xfce.org/xfce/xfce4-session/log/?h=console-kit
Fixed in git master.