Description: Prevent wait cursor upon autlogin.
Author: Joachim Breitner <nomeata@debian.org>
Bug: https://bugzilla.gnome.org/show_bug.cgi?id=664009

--- gdm3-3.0.4.orig/daemon/gdm-simple-slave.c
+++ gdm3-3.0.4/daemon/gdm-simple-slave.c
@@ -1271,12 +1271,11 @@ idle_connect_to_display (GdmSimpleSlave
 
                 /* FIXME: handle wait-for-go */
 
-                setup_server (slave);
-
                 delay = 0;
                 enabled = FALSE;
                 gdm_slave_get_timed_login_details (GDM_SLAVE (slave), &enabled, NULL, &delay);
                 if (! enabled || delay > 0) {
+                	setup_server (slave);
                         start_greeter (slave);
                         create_new_session (slave);
                 } else {
