After upgrading to consolekit-0.4.6, shutdown (and reboot) is not possible from gnome 2 desktop. The shutdown and reboot entries in system menu are missing. Downgrading to consolekit-0.4.5_p20120320-r1 restores expected behaviour. Reproducible: Always
Are you running openrc or systemd?
I'm running openrc and gnome 2. Mostly stable packages. Also, I've noticed, that using consolekit-0.4.6 will not only stop shutdown under gnome but also all acpi functions including ctrl-alt-del on console and power button. Also, there was a problem mounting an usb pen drive. I suspect that consolekit doesn't get started at all despite the service is running.
Could you try with 0.4.5_p20120320-r2? (to help to find when did it break exactly)
hi, after upgrade consolekit to 0.4.6 the same in my system. gnome2 3.9.11-aufs-r1 openrc tested with 0.4.5_p20120320-r2 - same as 0.4.6 downgrade to 0.4.5_p20120320-r1 solves the issue after upgrade consolekit I also noticed different user soring in gdm (case insensitive). Downgrade to 0.4.5_p20120320-r1 solves soring issue too. regards j
$ grep with.*consolekit *.ebuild gdm-2.20.11-r1.ebuild: $(use_with consolekit console-kit) gdm-3.6.2-r1.ebuild: --with-consolekit-directory=${EPREFIX}/usr/lib/ConsoleKit gdm-3.6.2-r1.ebuild: $(use_with consolekit console-kit) Looks like gdm2 doesn't have --with-consolekit-directory= set and propably can't find it's helpers from the package libexec directory (/usr/lib/ConsoleKit)
I use specific build of gdm (2.32.1-r1) so it is not important. sorry. Most important are missing shutdown in system menu and not working suspend (fn-f4) in my thinkpad. manual pm-suspend is working. Maybe gnome-power-manager has problem with new consolekit, becasue there is missing actions in general tab .
unlikely to have anything to do with ConsoleKit based on the given information, more likely the gdm you are using is trying to access ConsoleKit helpers from wrong directory gdm-3.6 was fixed for this, anything below that remains broken
(In reply to Jacek from comment #6) > I use specific build of gdm (2.32.1-r1) so it is not important. sorry. No such version of GDM in Portage as per http://packages.gentoo.org/package/gnome-base/gdm That would make this bug even INVALID But someone should still look if 2.20.11-r1 needs the ./configure flag from 3.6.2-r1 backported as per Comment #5
Before you guys forget it: It also, as mentioned, kills the acpi shutdown on the console and the power button. And that's something, that has nothing to do with gdm or gnome. Also, automounting usb drives failed - which could be a result of a gnome / consolekit missmatch. I'm not sure what consolekit is responsible for, but I'm quite sure that gnome or gdm has nothing to do with my consoles.
I would try to go step by step. At first, please test with gdm-2.20.11-r1 and, if still failing, try appending the configure switch to it. If you look at changes between 0.4.5*-r1 and -r2, it only changes the libexec location
`ck-list-sessions` returns 'active = TRUE' on my Xfce with ConsoleKit 0.4.6 like it should which is enough for polkit, and then apps query polkit if everything is allowed: $ xfce4-power-manager --dump [ ... ] Authorized to suspend: True Authorized to hibernate: True Authorized to shutdown: True Authorized to spin down hard disks: True (Sorry, I don't have GNOME 2.x installation available, I hope one of the GNOME devs do)
Working output of ConsoleKit below. Notice the 2 lines I've marked there: $ ck-list-sessions Session1: unix-user = '1000' realname = '(null)' seat = 'Seat1' session-type = '' active = FALSE x11-display = '' x11-display-device = '' display-device = '/dev/tty1' remote-host-name = '' is-local = TRUE on-since = '2013-08-11T14:51:00.173821Z' login-session-id = '2' idle-since-hint = '2013-08-11T17:51:17.068574Z' Session2: unix-user = '1000' realname = '(null)' seat = 'Seat1' session-type = '' active = TRUE <- VERY IMPORTANT x11-display = ':0' x11-display-device = '/dev/tty7' display-device = '/dev/tty1' remote-host-name = '' is-local = TRUE <- VERY IMPORTANT on-since = '2013-08-11T14:52:42.366964Z' login-session-id = '2'
I tested gdm-2.20.11-r1 and it working well with new consolekit, but I prefer gdm2.32.1-r1. It looks more attractive. So I stay on older console kit.
you will need to handle it yourself then