← Back to team overview

desktop-packages team mailing list archive

[Bug 855556] Re: "Restart" and "Shut Down" don't work if anyone else is logged in

 

The original plan a couple of years ago to fix this properly was to have
a new shutdown API in Consolekit which the sessions of all logged in
users could interact with to ensure a clean shutdown for all users, and
allow other sessions to inhibit shutdown if the user had unsaved work or
etc (and also provide a way for system jobs such as software updates to
inhibit shutdown). This never materialized though, and I guess that
there is little motivation for fixing this in consolekit / gnome-session
now with all these being eventually replaced by systemd.

Some background info:

http://mail.gnome.org/archives/gdm-list/2009-June/msg00007.html
https://bugs.freedesktop.org/show_bug.cgi?id=24493

** Bug watch added: freedesktop.org Bugzilla #24493
   http://bugs.freedesktop.org/show_bug.cgi?id=24493

-- 
You received this bug notification because you are a member of Desktop
Packages, which is subscribed to gnome-session in Ubuntu.
https://bugs.launchpad.net/bugs/855556

Title:
  "Restart" and "Shut Down" don't work if anyone else is logged in

Status in “gnome-session” package in Ubuntu:
  Confirmed

Bug description:
  gnome-session 3.1.91-0ubuntu2, lightdm 0.9.7-0ubuntu1, indicator-
  session 0.3.5.1-0ubuntu1, Ubuntu 11.10 beta

  1. Start up the computer.
  2. At the login screen, choose "Restart", and confirm it.
  3. Log in.
  4. From the device menu, choose "Restart", and confirm it.
  5. Log in again.
  6. Switch to a guest session.
  7. Switch back to your user account.
  8. From the device menu, choose "Restart", and confirm it.
  9. From the login screen, choose "Restart", and confirm it.

  What happens:
  2. The computer restarts.
  4. The computer restarts.
  8. Ubuntu returns to the login screen.
  9. Nothing at all.

  What should happen:
  2. The computer restarts.
  4. The computer restarts.
  8. The computer restarts.
  9. The computer restarts.

  The same problem happens with "Shut Down". At a terminal, "sudo
  reboot" and "sudo shutdown" work as expected.

  See also bug 838792, where "Restart" logs out with no-one else logged
  in (that bug does not occur for me). While testing this bug I also
  triggered bug 740382.

To manage notifications about this bug go to:
https://bugs.launchpad.net/ubuntu/+source/gnome-session/+bug/855556/+subscriptions


References