Shutdown from greeter does nothing when multiple accounts open
Affects | Status | Importance | Assigned to | Milestone | |
---|---|---|---|---|---|
LightDM GTK Greeter |
Fix Released
|
Medium
|
Unassigned | ||
OEM Priority Project |
Won't Fix
|
High
|
Ara Pulido | ||
Precise |
Won't Fix
|
High
|
Ara Pulido | ||
Unity Greeter |
Invalid
|
Medium
|
Unassigned |
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
Related branches
- Mathieu Trudel-Lapierre: Needs Resubmitting
- Matthew Paul Thomas (community): Approve (design)
- PS Jenkins bot (community): Approve (continuous-integration)
-
Diff: 183 lines (+99/-9)2 files modifiedsrc/dialog.c (+69/-2)
src/gtk-logout-helper.c (+30/-7)
- PS Jenkins bot (community): Approve (continuous-integration)
- Indicator Applet Developers: Pending requested
-
Diff: 211 lines (+119/-9)3 files modifieddebian/changelog (+7/-0)
src/dialog.c (+84/-2)
src/gtk-logout-helper.c (+28/-7)
Changed in unity-greeter (Ubuntu): | |
status: | New → Triaged |
importance: | Undecided → Medium |
Changed in unity-greeter: | |
status: | New → Triaged |
importance: | Undecided → Medium |
Changed in lightdm: | |
status: | New → Triaged |
importance: | Undecided → Medium |
affects: | lightdm → lightdm-gtk-greeter |
Changed in indicator-session: | |
status: | New → Triaged |
importance: | Undecided → Medium |
Changed in gnome-session (Ubuntu): | |
status: | New → Confirmed |
status: | Confirmed → New |
status: | New → Confirmed |
status: | Confirmed → New |
Changed in oem-priority: | |
importance: | Undecided → High |
Changed in oem-priority: | |
status: | New → In Progress |
tags: | added: rls-r-incoming |
Changed in oem-priority: | |
assignee: | nobody → James M. Leddy (jm-leddy) |
Changed in unity-greeter (Ubuntu): | |
assignee: | nobody → Omer Akram (om26er) |
Changed in indicator-session (Ubuntu): | |
status: | Triaged → In Progress |
Changed in unity-greeter (Ubuntu): | |
status: | Triaged → Invalid |
description: | updated |
description: | updated |
tags: | added: rls-s-incoming |
Changed in gnome-session (Ubuntu): | |
assignee: | nobody → Mathieu Trudel-Lapierre (mathieu-tl) |
Changed in oem-priority: | |
assignee: | James M. Leddy (jm-leddy) → Ara Pulido (apulido) |
tags: | added: multiseat |
Changed in indicator-session: | |
importance: | High → Medium |
Changed in indicator-session (Ubuntu): | |
importance: | High → Medium |
no longer affects: | unity-greeter |
tags: | added: ubuntu-desktop-trusty |
Changed in gnome-session (Ubuntu): | |
importance: | Undecided → Medium |
status: | Confirmed → Triaged |
Changed in indicator-session (Ubuntu): | |
status: | In Progress → Triaged |
no longer affects: | indicator-session (Ubuntu Precise) |
no longer affects: | indicator-session (Ubuntu Saucy) |
no longer affects: | policykit (Ubuntu Precise) |
no longer affects: | policykit (Ubuntu Saucy) |
no longer affects: | unity-greeter (Ubuntu Precise) |
no longer affects: | unity-greeter (Ubuntu Saucy) |
no longer affects: | gnome-session (Ubuntu Precise) |
no longer affects: | gnome-session (Ubuntu Saucy) |
no longer affects: | gnome-session (Ubuntu Raring) |
no longer affects: | indicator-session (Ubuntu Raring) |
no longer affects: | policykit (Ubuntu Raring) |
no longer affects: | unity-greeter (Ubuntu Raring) |
no longer affects: | unity-greeter (Ubuntu) |
Changed in policykit (Ubuntu): | |
status: | Confirmed → Triaged |
importance: | Undecided → Medium |
somewhat related to bug #855556