Logging out from a FUS session does not reliably return to VT7
Affects | Status | Importance | Assigned to | Milestone | |
---|---|---|---|---|---|
Light Display Manager |
Fix Released
|
High
|
Robert Ancell | ||
lightdm (Ubuntu) |
Fix Released
|
High
|
Robert Ancell |
Bug Description
[Problem]
Logging out of a second user session results in a black screen with blinking cursor, until you manually switch to vt7. Might also be caused when screen is locked because of inactivity.
[Impact]
Frequency of occurrence may be about 1 in 4. Not a hardware-specific problem, so can be encountered by most users.
[Development Fix]
Adding a VT_WAITACTIVE after the VT_ACTIVATE ioctl helps reduce the chance of a race condition between LightDM, the kernel, ConsoleKit, and X, but is not a complete solution. This change was introduced to Precise as of version 1.1.2-0ubuntu1 on Feb 10th.
[Stable Fix]
The development change was not a complete fix. Thus the change is not valid for SRUing.
[Text Case]
1. Have a multi-user system
2. Start up and log in as a user
3. Use the User Menu to switch to another user
4. You will be at the Unity Greeter, log in as the second user
5. The second user session will load
6. Choose Log Out from the power/setting menu
7. You will be at the Unity Greeter
8. select and enter the password for the logged in user
Broken Behavior:
The screen turns black and shows a blinking cursor
Manually switching to VT7 shows the first user session, and works fine
Fixed Behavior:
Automatically returned to VT7 after entering the password for the first user
[Regression Potential]
<fill me in with a discussion of likelihood and potential severity of regressions and how users could get inadvertently affected.
[Original Report]
Steps:
1. Have a multi-user system
2. Start up and log in as a user
3. Use the Use Menu to switch to another user
4. You will be at the Unity Greeter, log in as the second user
5. The second user session will load
6. Choose Log Out from the power/setting menu
7. You will be at the Unity Greeter
8. select and enter the password for the logged in user
Result:
The screen turns black and shows a blinking cursor
Manually switching to VT7 shows the first user session, and works fine
Expected:
Automatically returned to VT7 after entering the password for the first user
ProblemType: Bug
DistroRelease: Ubuntu 11.10
Package: lightdm 0.9.7-0ubuntu1
ProcVersionSign
Uname: Linux 3.0.0-11-generic i686
NonfreeKernelMo
ApportVersion: 1.23-0ubuntu1
Architecture: i386
Date: Fri Sep 16 08:19:11 2011
InstallationMedia: Ubuntu-Netbook 10.04 "Lucid Lynx" - Alpha i386 (20100329)
ProcEnviron:
LANGUAGE=en_US:en
PATH=(custom, no user)
LANG=en_US.UTF-8
SHELL=/bin/bash
SourcePackage: lightdm
UpgradeStatus: Upgraded to oneiric on 2011-09-11 (4 days ago)
Changed in lightdm (Ubuntu Oneiric): | |
assignee: | nobody → Robert Ancell (robert-ancell) |
Changed in lightdm (Ubuntu Oneiric): | |
milestone: | none → ubuntu-11.10 |
tags: | added: rls-mgr-o-tracking |
Changed in lightdm: | |
status: | New → Triaged |
importance: | Undecided → High |
Changed in xorg-server (Ubuntu): | |
importance: | Undecided → High |
Changed in xorg-server (Ubuntu Oneiric): | |
importance: | Undecided → High |
Changed in lightdm (Ubuntu): | |
milestone: | oneiric-updates → ubuntu-12.04-beta-1 |
Changed in xorg-server (Ubuntu): | |
assignee: | nobody → Chris Halse Rogers (raof) |
status: | Confirmed → Triaged |
Changed in lightdm (Ubuntu): | |
milestone: | ubuntu-12.04-beta-1 → ubuntu-12.04-beta-2 |
tags: | added: blocks-hwcert-enablement |
description: | updated |
Changed in xorg-server (Ubuntu Oneiric): | |
status: | Confirmed → Triaged |
Changed in lightdm (Ubuntu): | |
milestone: | ubuntu-12.04-beta-2 → ubuntu-12.04 |
Changed in xorg-server (Ubuntu Oneiric): | |
status: | Triaged → Won't Fix |
Changed in lightdm (Ubuntu Oneiric): | |
status: | Triaged → Won't Fix |
Confirmed the behaviour. Note from my logs LightDM is doing the correct thing and switching to the right VT (only relevant log items shown): 84750e913000000 09-1316130205. 440319- 86078405
[+24642.17s] DEBUG: User bob authorized
...
[+24642.19s] DEBUG: Greeter requests session ubuntu
[+24642.20s] DEBUG: Switching to existing session for user bob
[+24642.20s] DEBUG: Unlocking display
[+24642.20s] DEBUG: Unlocking ConsoleKit session 30641b34844b432
[+24642.22s] DEBUG: Activating VT 7
[+24642.22s] DEBUG: Stopping greeter display being switched from
[+24642.22s] DEBUG: Stopping display
...
[+24644.03s] DEBUG: Releasing VT 8
...
[+24644.03s] DEBUG: Display stopped