← Back to team overview

ubuntu-multiseat team mailing list archive

[Bug 861171] Re: Shutdown from greeter does nothing when multiple accounts open

 

Any progress on this one?

It's very annoying on LTSP, where teachers can't shut down the LTSP
servers because e.g. 2 hours ago some student had a xorg crash, and even
if his thin client is now powered off, the user is still considered
logged on at the server because the ssh socket isn't yet closed...

This worked fine before switching from GDM to LightDM, with the
confirmation dialog etc.

-- 
You received this bug notification because you are a member of Ubuntu
Multiseat, which is subscribed to the bug report.
https://bugs.launchpad.net/bugs/861171

Title:
  Shutdown from greeter does nothing when multiple accounts open

Status in The Session Menu:
  Triaged
Status in LightDM GTK+ Greeter:
  Triaged
Status in OEM Priority Project:
  In Progress
Status in OEM Priority Project precise series:
  In Progress
Status in Unity Greeter:
  Triaged
Status in “gnome-session” package in Ubuntu:
  Confirmed
Status in “indicator-session” package in Ubuntu:
  In Progress
Status in “policykit” package in Ubuntu:
  Confirmed
Status in “unity-greeter” package in Ubuntu:
  Invalid

Bug description:
  [Impact]

   * A user tries to shut down their machine. They get confused because nothing happens
     when they click shutdown.
   * If someone else is logged in, they will have to ask that person to "Switch User" to
     log in and log out
   * If someone else is logged in and you don't know the password of the account, you
     can't shut down

  [Test Case]

   * Have two login accounts
   * Log both people in, via power cog->lock screen->switch user
   * lock the screen on current account, via power cog->lock screen
   * get back to lightdm via switch user
   * log in to an already logged in account, and try to power off the machine

  [Regression Potential]

   * It wasn't possible to shutdown at all before
   * I can't see a case for a regression, since it never worked to begin with

  [Original Report]

  Selecting shutdown from the greeter does nothing when multiple
  accounts are open.

  This is because the lightdm user (which the greeter runs as) does not
  have permission to shutdown while sessions are open.  Inside a normal
  session this would just return you to the login screen.

  The solution is either for the indicator to say "not allowed" or to
  run a PolicyKit frontend in the greeter than can get the required
  permissions to perform the shutdown.s

To manage notifications about this bug go to:
https://bugs.launchpad.net/indicator-session/+bug/861171/+subscriptions