GNOME Bugzilla – Bug 793948
gdm login dialog show wrong active session of user
Last modified: 2018-03-01 14:58:40 UTC
Reproduce procedure: 1. Install gnome-shell-classic package 2. Create two users, 'test1' and 'test2' 3. user 'test1' login as GNOME session and then logout 4. user 'test2' login as GNOME Classic session then logout 5. restart OS, see gdm login dialog screen 6. click user 'test1' and click session button, active session is 'GNOME', then click Cancel button 7. click user 'test2' and click session button, active session is 'GNOME Classic', then click Cancel button 8. click user 'test1' again and click session button, active session becomes 'GNOME Classic', it should be 'GNOME'
In loginDialog.js, use signal 'default-session-name-changed' to set active session name. In gdm-session.c, in function worker_on_saved_session_name_read, signal 'default-session-name-changed' is not sent out every time, in some condition, signal will not be sent out. I think it's better to send this signal every time to set active session name.
Created attachment 369130 [details] [review] gdm show right active session name
*** This bug has been marked as a duplicate of bug 793609 ***