[Bug 1082211] Re: restart impossible when a remote ssh session is running

Launchpad Bug Tracker 1082211 at bugs.launchpad.net
Thu Dec 6 16:49:45 UTC 2012


Status changed to 'Confirmed' because the bug affects multiple users.

** Changed in: lightdm (Ubuntu)
       Status: New => Confirmed

-- 
You received this bug notification because you are a member of Ubuntu
Foundations Bugs, which is subscribed to consolekit in Ubuntu.
https://bugs.launchpad.net/bugs/1082211

Title:
  restart impossible when a remote ssh session is running

Status in “consolekit” package in Ubuntu:
  Confirmed
Status in “lightdm” package in Ubuntu:
  Confirmed

Bug description:
  (assigning to lightdm, although it's broader than that. Not clear
  which component is to blame exactly).

  Let X be a laptop running ubuntu 12.10. It's an x86-64 cpu for that
  matter, but no one cares.

  Assume an ssh server is running on X, and someone is logged in via ssh
  from another machine Y to machine X.

  Now if X is showing a lightdm login screen, there is no way the
  ``restart'' button (from the top-right menu) can work. It is simply
  ignored. There is no message either.

  If some user is logged on X, and he opens up the top-right menu and goes to ``restart'', one of two things may happen.
    - If the remote session is under this very user, then the session is killed, and the computer restarts.
    - If the remote session is under another user (root, for the situation I tried), then the user's session is nuked, but the computer does not restart, and returns back to the lightdm login screen.

  I find this quite irritating. Ssh sessions to my laptop may happen.
  When I have physical access to it, I would like to be able to
  restart/shut down the machine without having to either do a dirty
  shutdown (5s press) or hunt manually for ssh session and kill -9 them,
  or ctrl-alt-f1, root login, and reboot.

  I would conceive it if someone considers it's ''dangerous'' to kill
  incoming ssh sessions. Not that I share this opinion, but I imagine it
  may exist. If so,  would it be possible, please, to have a dialog box
  like ``yes, I mean it'' if the system decides it's perhaps unwise to
  proceed to reboot ?

  Best,

  E.

To manage notifications about this bug go to:
https://bugs.launchpad.net/ubuntu/+source/consolekit/+bug/1082211/+subscriptions




More information about the foundations-bugs mailing list