Bug 886442 - LightDM tracks user sessions unreliably
Summary: LightDM tracks user sessions unreliably
Keywords:
Status: CLOSED RAWHIDE
Alias: None
Product: Fedora
Classification: Fedora
Component: lightdm
Version: 18
Hardware: Unspecified
OS: Unspecified
unspecified
unspecified
Target Milestone: ---
Assignee: Rex Dieter
QA Contact: Fedora Extras Quality Assurance
URL:
Whiteboard:
Depends On:
Blocks:
TreeView+ depends on / blocked
 
Reported: 2012-12-12 10:03 UTC by Martin Bříza
Modified: 2013-06-05 10:38 UTC (History)
5 users (show)

Fixed In Version:
Clone Of:
Environment:
Last Closed: 2013-06-05 10:38:25 UTC
Type: Bug
Embargoed:


Attachments (Terms of Use)
The proposed fix (1.56 KB, patch)
2012-12-12 10:03 UTC, Martin Bříza
no flags Details | Diff

Description Martin Bříza 2012-12-12 10:03:50 UTC
Created attachment 662210 [details]
The proposed fix

Description of problem:
LightDM doesn't track which session is currently active properly. It relies on D-Bus calls to itself, not the actual active screen.
I'm attaching a patch to fix this issue.
I've opened a new bug because the previous one was for systemd issues and this is not related to systemd at all.

Version-Release number of selected component (if applicable):
lightdm-1.4.0-1.fc18.x86_64

How reproducible:
Always
Steps to Reproduce:
1. Have an installation with two users, let's say test1 and test2
2. Log in as test1
3. Switch session, create a new one with test2 logged in
4. Switch session back to test1 (the most reliable way to reproduce the bug is using ctrl+alt+f1)
5. Log test1 out

Actual results:
Screen gets stuck, is black, only way out is alt+ctrl+f2

Expected results:
LightDM login screen appearing.

Additional info:
I also sent the patch to the upstream's mailing list.

Comment 1 Martin Bříza 2012-12-12 10:09:07 UTC
Uhm, sorry about the tabs in the patch, I must have forgotten to switch mode in the editor

Comment 2 Martin Bříza 2013-01-31 17:04:50 UTC
The issue was fixed by this commit in the Launchpad repository:
http://bazaar.launchpad.net/~lightdm-team/lightdm/trunk/revision/1569

Comment 3 Dan Mashal 2013-06-05 09:04:59 UTC
I can reproduce this in a different way in MATE. I created a new user, switched to it but I could not switch back to the original user. I could only logout from the 2nd user.

1) Adduser user2
2) switch to user2
3) system -> logout of user2
4) No switch user option.

Is this fixed in 1.7.0?

Comment 4 Martin Bříza 2013-06-05 10:38:25 UTC
Yes, it is.
I quickly tested it and it's okay even in MATE. Didn't notice 1.7.0 hit the rawhide repositories before but I think I can close this report now.


Note You need to log in before you can comment on or make changes to this bug.