1
From 2e97338d34dd9fa65069335dbb66579b54970425 Mon Sep 17 00:00:00 2001
2
From: Ray Strode <rstrode@redhat.com>
3
Date: Thu, 4 Oct 2012 17:36:57 -0400
4
Subject: [PATCH] slave: only set up autologin conversations
6
Right now any time any session conversation is started,
7
we run its setup call if autologin is enabled. We should only do this
8
for autologin sessions, otherwise, we may repeat work done by
11
https://bugzilla.gnome.org/show_bug.cgi?id=682467
13
--- gdm-3.6.0.orig/daemon/gdm-simple-slave.c
14
+++ gdm-3.6.0/daemon/gdm-simple-slave.c
15
@@ -467,8 +467,12 @@ on_session_conversation_started (GdmSess
19
+ g_debug ("GdmSimpleSlave: session conversation started for service %s", service_name);
21
+ if (g_strcmp0 (service_name, "gdm-autologin") != 0) {
25
- g_debug ("GdmSimpleSlave: session conversation started");
27
gdm_slave_get_timed_login_details (GDM_SLAVE (slave), &enabled, &username, &delay);