I am unable to restart or shut down my system through the System -> "Shut Down..." menu. When I try, I get a complaint to authenticate because other users are logged in. I get one of the following actions: org.freedesktop.consolekit.system.stop-multiple-users org.freedesktop.consolekit.system.restart-multiple-users The problem is that there are no other users logged in. Not in Gnome sessions, not in VTs, not over SSH, not in anything. ck-list-sessions reports only one session: Session2: unix-user = '1000' realname = 'Nicholas Doyle' seat = 'Seat1' session-type = '' active = TRUE x11-display = ':0' x11-display-device = '/dev/tty7' display-device = '' remote-host-name = '' is-local = TRUE on-since = '2009-06-15T17:41:50.555126Z' login-session-id = '' I have all packages built with the consolekit and policykit USE flags enabled. Relevant packages include: gnome-base/gnome-session-2.26.1 USE="doc ipv6 policykit -branding -debug" sys-auth/policykit-0.9-r1 USE="bash-completion doc pam (-selinux) -zsh-completion" gnome-base/gnome-2.26.2 USE="cdr cups dvdr ldap mono -accessibility -esd" sys-auth/consolekit-0.3.0-r1 USE="doc pam policykit -debug"
you probably just need to fix your policykit setup.
I was having the same problem. Turned out to be due to bug #239231 ( http://bugs.gentoo.org/show_bug.cgi?id=239231 ) So check that /var/lib/PolicyKit is owned by root:polkituser and that polkituser has write access.
(In reply to comment #2) > I was having the same problem. Turned out to be due to bug #239231 ( > http://bugs.gentoo.org/show_bug.cgi?id=239231 ) > > So check that /var/lib/PolicyKit is owned by root:polkituser and that > polkituser has write access. > This fixed the problem for me. That bug should have resulted in a rev-bump instead of updating the ebuild in place so that people with broken permissions would get fixed.
well this mean you got the ebuild from the overlay long ago, but it was masked to my best knowledge anyway so...
*** Bug 306687 has been marked as a duplicate of this bug. ***
Feb 24 14:47:53 Hypercube gnome-session[5578]: WARNING: Unable to list sessions: A security policy in place prevents this sender from sending this message to this recipient, see message bus configuration file (rejected message had interface "org.freedesktop.ConsoleKit.Manager" member "GetSessions" error name "(unset)" destination "org.freedesktop.ConsoleKit") Found that in /var/log/messages. How do I fix it? Oh, by the way: nticompass@Hypercube ~ $ sudo ls -l /var/lib/ | grep PolicyKit Password: drwxrwx--- 2 root polkituser 4096 2010-01-26 20:33 PolicyKit drwxr-xr-x 2 polkituser root 4096 2009-10-15 23:41 PolicyKit-public
(In reply to comment #6) > Feb 24 14:47:53 Hypercube gnome-session[5578]: WARNING: Unable to list > sessions: A security policy in place prevents this sender from sending this > message to this recipient, see message bus configuration file (rejected message > had interface "org.freedesktop.ConsoleKit.Manager" member "GetSessions" error > name "(unset)" destination "org.freedesktop.ConsoleKit") > > Found that in /var/log/messages. How do I fix it? > > Oh, by the way: > nticompass@Hypercube ~ $ sudo ls -l /var/lib/ | grep PolicyKit > Password: > drwxrwx--- 2 root polkituser 4096 2010-01-26 20:33 PolicyKit > drwxr-xr-x 2 polkituser root 4096 2009-10-15 23:41 PolicyKit-public > I fixed it by adding a line to /etc/dbus-1/system.d/ConsoleKit.conf <allow send_interface="org.freedesktop.ConsoleKit.Manager" send_member="GetSessions"/>
*** Bug 318321 has been marked as a duplicate of this bug. ***