Does not switch to guest session if session already open
Bug #450965 reported by
Robert Ancell
This bug affects 1 person
Affects | Status | Importance | Assigned to | Milestone | |
---|---|---|---|---|---|
gdm (Ubuntu) |
Fix Released
|
Medium
|
Unassigned |
Bug Description
Binary package hint: gdm
To reproduce:
1. Start system
2. Log into GDM as an existing user
3. Start guest session
4. Switch back to original session
5. Start guest session
Expected:
A new guest session is started or switch to already open guest session
What occurs:
The screenlock comes on
To post a comment you must log in.
Patch fixes this by having GDM call ConsoleKit to switch to the guest session if it is already open. Two oddities:
1. If I return TRUE from StartGuestSession() if without starting a new session gdm-session-worker terminates and a new session for the current user is opened. So the patch does the switch but returns FALSE so it looks like the D-Bus call failed.
2. I don't know how to get the display id for the guest session so this information is not available to be returned from StartGuestSession() (but this does not matter due to point 1).