Commit 7726c81d authored by Ray Strode's avatar Ray Strode

manager: don't kill timed login session immediately after it starts

At the moment GDM is misidentifying timed login sessions as if
they are automatic login sessions.  That leads to their displays
getting killed sometimes shortly after log in.

This commit corrects the check, so that timed login sessions aren't
treated as autologin sessions.
parent 9b3f09c7
......@@ -1815,7 +1815,8 @@ on_start_user_session (StartUserSessionOperation *operation)
if (g_strcmp0 (operation->service_name, "gdm-autologin") == 0) {
if (g_strcmp0 (operation->service_name, "gdm-autologin") == 0 &&
!gdm_session_client_is_connected (operation->session)) {
/* remove the unused prepared greeter display since we're not going
* to have a greeter */
gdm_display_store_remove (self->priv->display_store, display);
Markdown is supported
0% or
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!
Please register or to comment