I still have this or a similar issue with today's Karmic. If I choose
'shutdown' from the session menu, I am logged out, but the computer does
not shut down.
In the daemon.log, I get the following message:
Oct 27 23:26:02 purple gnome-session[1849]: WARNING: Unable to stop system: Not
privileged
This bug was fixed in the package consolekit - 0.3.0-2ubuntu6
---
consolekit (0.3.0-2ubuntu6) karmic; urgency=low
* Drop 04-consolekit_park.patch: Not necessary with new gdm any more.
* Rename patches which are in upstream git now:
- 05-dbus_policy.patch →
don't use the title to specify the version you are using it create extra
work and confusion when next version opens
** Summary changed:
- [karmic] shutdown menu immediately logs out
+ shutdown menu immediately logs out
** Changed in: consolekit (Ubuntu)
Assignee: (unassigned) = Martin Pitt
Ah, that worked fine when I tested the polkit-1-ified consolekit. I
guess the new gnome-session uses the CanStop API now. Thanks, Chris, for
figuring this out!
--
shutdown menu immediately logs out
https://bugs.launchpad.net/bugs/399531
You received this bug notification because you are a member
I updated the CK polkit patch to allow CanStop/CanRestart, and tested
with d-feet that this actually works now. Patch sent to upstream
(https://bugs.freedesktop.org/show_bug.cgi?id=22178).
However, I didn't upload it since it aggravates the situation: now most
programs don't even start any more,
Chris said he'd look into this.
** Changed in: gnome-session (Ubuntu Karmic)
Importance: High = Medium
** Changed in: gnome-session (Ubuntu Karmic)
Assignee: (unassigned) = Chris Coulson (chrisccoulson)
** Tags added: regression-potential
--
shutdown menu immediately logs out
** Changed in: gnome-session (Ubuntu Karmic)
Status: Triaged = In Progress
--
shutdown menu immediately logs out
https://bugs.launchpad.net/bugs/399531
You received this bug notification because you are a member of Ubuntu
Desktop Bugs, which is subscribed to gnome-session in ubuntu.
--
This bug was fixed in the package gnome-session - 2.26.2-1ubuntu3
---
gnome-session (2.26.2-1ubuntu3) karmic; urgency=low
* debian/patches/20_polkit1.patch:
- Change to not crash in gsm_consolekit_can_{stop,restart}
funtions.
* debian/patches/19_gnome-wm-tweaking.patch:
gnome-session will no longer crash now. However, you will currently be
presented with a session dialog where the shutdown and restart options
are greyed out when you select Shutdown from the system menu.
Martin,
It should be safe to upload the ConsoleKit change now.
--
shutdown menu