[gdm/multi-stack: 4/45] start autologin conversation when creating session if necessary
- From: Ray Strode <halfline src gnome org>
- To: commits-list gnome org
- Cc:
- Subject: [gdm/multi-stack: 4/45] start autologin conversation when creating session if necessary
- Date: Tue, 27 Apr 2010 19:41:12 +0000 (UTC)
commit 32e86b62e22d0f25c73ec904674dac1924b54014
Author: Ray Strode <rstrode redhat com>
Date: Wed Mar 4 22:09:21 2009 -0500
start autologin conversation when creating session if necessary
Without this autologin breaks, since when it comes time to
autologin, there's no worker to do it.
daemon/gdm-simple-slave.c | 10 ++++++++++
1 files changed, 10 insertions(+), 0 deletions(-)
---
diff --git a/daemon/gdm-simple-slave.c b/daemon/gdm-simple-slave.c
index 1a64bbb..a0b01e2 100644
--- a/daemon/gdm-simple-slave.c
+++ b/daemon/gdm-simple-slave.c
@@ -1076,10 +1076,20 @@ idle_connect_to_display (GdmSimpleSlave *slave)
if (! enabled || delay > 0) {
start_greeter (slave);
create_new_session (slave);
+
+ if (enabled) {
+ g_debug ("GdmSimpleSlave: Starting timed login conversation");
+ gdm_session_start_conversation (GDM_SESSION (slave->priv->session),
+ "gdm-autologin");
+ }
} else {
/* Run the init script. gdmslave suspends until script has terminated */
gdm_slave_run_script (GDM_SLAVE (slave), GDMCONFDIR "/Init", GDM_USERNAME);
reset_session (slave);
+
+ g_debug ("GdmSimpleSlave: Starting automatic login conversation");
+ gdm_session_start_conversation (GDM_SESSION (slave->priv->session),
+ "gdm-autologin");
}
} else {
if (slave->priv->connection_attempts >= MAX_CONNECT_ATTEMPTS) {
[
Date Prev][
Date Next] [
Thread Prev][
Thread Next]
[
Thread Index]
[
Date Index]
[
Author Index]