Locking session leads to stale X server
Affects | Status | Importance | Assigned to | Milestone | |
---|---|---|---|---|---|
Light Display Manager |
Fix Released
|
Medium
|
Unassigned | ||
lightdm (Ubuntu) |
Fix Released
|
Medium
|
Unassigned |
Bug Description
Choosing "Switch to different user" in Ubuntu gives you another login screen, which is very nice and useful. However after using that alternate session, lightdm keeps the X server and greeter for that alternate session open and running. Gdm, on the contrary, terminates the X server for the alternate session when you log out of it.
This behaviour does make a difference when you run Ubuntu on a laptop on battery. Using the alternate login just once after boot (and ending the session again) initiates a constant cpu load of 1-2% (on my laptop). Doesn't sound much. But compared to "idle" without the second X server and greeter, this is an increase of about 75%.
I admit that I didn't have the time to keep the laptop running idlely und doing some real battery measurements. But with a laptop on battery, you should use any possibility to save energy.
Related branches
- Robert Ancell: Disapprove
-
Diff: 25 lines (+6/-0)1 file modifiedsrc/display.c (+6/-0)
Changed in lightdm: | |
status: | Incomplete → New |
Changed in lightdm: | |
status: | New → Triaged |
importance: | Low → Medium |
no longer affects: | ubuntu |
Changed in lightdm: | |
status: | Triaged → Incomplete |
Changed in lightdm (Ubuntu): | |
status: | New → Incomplete |
Thank you for your bug report, how do you check that screen keeps running? do you log it into an user from it? could you add your lightdm.log log file? here the greeter session is closed when entering login in into any account (running or not)