summaryrefslogtreecommitdiff
diff options
context:
space:
mode:
-rw-r--r--daemon/gdm-simple-slave.c2
1 files changed, 2 insertions, 0 deletions
diff --git a/daemon/gdm-simple-slave.c b/daemon/gdm-simple-slave.c
index 59e3530d..2910366c 100644
--- a/daemon/gdm-simple-slave.c
+++ b/daemon/gdm-simple-slave.c
@@ -1062,6 +1062,8 @@ idle_connect_to_display (GdmSimpleSlave *slave)
start_greeter (slave);
create_new_session (slave);
} 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);
}
} else {