With today's Rawhide: When I select "Shut Down..." from the GNOME panel menu and click "Restart", nothing happens. When I go to System > Preferences > System > Authorizations (it surprises me that I'm allowed to run this program and view authorizations as myself, not root, without entering the root password) and look at org.freedesktop.consolekit.Restart the system, it claims that the active console is allowed to restart. The restart doesn't work when I run gnome-session as root either. I am not allowed to edit the PolicyKit settings in the Authorizations GUI, either as myself or as root. All in all, things seem to be functioning rather sub-optimally.
(In reply to comment #0) > With today's Rawhide: > > When I select "Shut Down..." from the GNOME panel menu and click "Restart", > nothing happens. > > When I go to System > Preferences > System > Authorizations (it surprises me > that I'm allowed to run this program and view authorizations as myself, not > root, without entering the root password) Viewing your own authorizations doesn't require any special privileges. Note that you can't view other users authorizations unless you have the org.freedesktop.policykit.read authorization. > and look at > org.freedesktop.consolekit.Restart the system, it claims that the active console > is allowed to restart. > > The restart doesn't work when I run gnome-session as root either. > > I am not allowed to edit the PolicyKit settings in the Authorizations GUI, > either as myself or as root. > > All in all, things seem to be functioning rather sub-optimally. What is the output of 1. polkit-auth --explicit-detail 2. ck-list-session from inside a normal session (not logged in as root).
(btw that would be ck-list-sessions, not ck-list-session)
Immediately after attempting to restart from the GNOME menu: org.pulseaudio.acquire-high-priority Authorized: No Scope: Indefinitely Obtained: Wed Dec 12 06:13:00 2007 by auth as root (uid 0) Constraint: Session must be on a local console Constraint: Session must be active Session1: uid = '0' realname = 'root' seat = 'Seat1' session-type = '' active = FALSE x11-display = '' x11-display-device = '' display-device = '/dev/tty1' remote-host-name = '' is-local = TRUE on-since = '2008-02-27T02:12:58Z' idle-since-hint = '2008-02-27T02:13:41Z'
It's because your session isn't listed as active. Reassigning to ConsoleKit.
Actually the session isn't listed at all. How are you logging into GNOME? GDM, startx, etc?
Logging in via xdm (hate the new gdm interface), with ~/.xsession linked to /usr/bin/gnome-session.
*** This bug has been marked as a duplicate of 237621 ***