← Back to team overview

ubuntu-multiseat team mailing list archive

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

 

Closing this bug as the original problem is solved in trusty.

The default logind (the system that performs the shutdown/restart)
allows an active session to perform this action. The greeter is an
active session so the user can shutdown and reboot from it even when
multiple sessions are open.

There are probably other issues here like:
- The greeter doesn't explicitly warn that the other sessions will be closed
- If you lock down these settings the greeter wont be able to shutdown at all
but these are better covered in new bugs if required.

** Project changed: indicator-session => unity-greeter

** No longer affects: gnome-session (Ubuntu)

** No longer affects: policykit (Ubuntu)

** No longer affects: indicator-session (Ubuntu)

** Changed in: unity-greeter
       Status: Triaged => Invalid

-- 
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 LightDM GTK+ Greeter:
  Fix Released
Status in OEM Priority Project:
  Won't Fix
Status in OEM Priority Project precise series:
  Won't Fix
Status in Unity Greeter:
  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/lightdm-gtk-greeter/+bug/861171/+subscriptions