]> rtime.felk.cvut.cz Git - sojka/lightdm.git/commitdiff
Fix tests for running on server
authorRobert Ancell <robert.ancell@canonical.com>
Wed, 19 Jun 2013 02:31:11 +0000 (14:31 +1200)
committerRobert Ancell <robert.ancell@canonical.com>
Wed, 19 Jun 2013 02:31:11 +0000 (14:31 +1200)
tests/scripts/unity-autologin.conf
tests/scripts/unity-login.conf
tests/scripts/unity-switch.conf
tests/src/test-runner.c

index 15e172bd55e47245321ce7e776dfb93b5f5efd89..481e3623945e77c9961a9fe40541fe2a87afd06f 100644 (file)
@@ -5,6 +5,7 @@
 [SeatDefaults]
 type=unity
 autologin-user=have-password1
+user-session=default
 
 #?RUNNER DAEMON-START
 
index ce65ce7826a39b5408fd66c14f0ac7016daf06d7..4750c233f62bcbacba37ef04db8defae902d8614 100644 (file)
@@ -4,6 +4,7 @@
 
 [SeatDefaults]
 type=unity
+user-session=default
 
 #?RUNNER DAEMON-START
 
index e02e2a3d507104e89a8e369ec24eebc600d744a4..939738c88cf3e240b0f10dba3fcce75aa5d98419 100644 (file)
@@ -5,6 +5,7 @@
 [SeatDefaults]
 type=unity
 autologin-user=have-password1
+user-session=default
 
 #?RUNNER DAEMON-START
 
index 72d0265db3242a4137f17260133783aa908247b7..644a18d2008b61067ba2a15fffa5a2806b789e32 100644 (file)
@@ -1657,7 +1657,7 @@ run_lightdm (void)
     status_timeout = g_timeout_add (status_timeout_ms, status_timeout_cb, NULL);
 
     command_line = g_string_new ("lightdm");
-    //if (getenv ("DEBUG"))
+    if (getenv ("DEBUG"))
         g_string_append (command_line, " --debug");
     g_string_append_printf (command_line, " --cache-dir %s/cache", temp_dir);
     g_string_append_printf (command_line, " --xsessions-dir=%s/usr/share/xsessions", temp_dir);