[gdm/gnome-3-18] manager: make sure timed login conversation is started



commit f5dc3f2b450200033ad0ca5b0f9ef8254e74a0d0
Author: Ray Strode <rstrode redhat com>
Date:   Wed Feb 24 13:13:24 2016 -0500

    manager: make sure timed login conversation is started
    
    At some point in a refactor we apparently stopped starting
    the PAM conversation used for timed login.
    
    This commit adds it back.
    
    https://bugzilla.gnome.org/show_bug.cgi?id=762635

 daemon/gdm-manager.c |    3 +++
 1 files changed, 3 insertions(+), 0 deletions(-)
---
diff --git a/daemon/gdm-manager.c b/daemon/gdm-manager.c
index 7602e75..ad33d04 100644
--- a/daemon/gdm-manager.c
+++ b/daemon/gdm-manager.c
@@ -1841,6 +1841,9 @@ on_session_client_connected (GdmSession      *session,
 
         gdm_session_set_timed_login_details (session, username, delay);
 
+        g_debug ("GdmManager: Starting automatic login conversation (for timed login)");
+        gdm_session_start_conversation (session, "gdm-autologin");
+
         g_free (username);
 
 }


[Date Prev][Date Next]   [Thread Prev][Thread Next]   [Thread Index] [Date Index] [Author Index]