]> rtime.felk.cvut.cz Git - sojka/lightdm.git/blobdiff - tests/scripts/autologin-guest-in-background.conf
explicitly provide shared dir path to sessions
[sojka/lightdm.git] / tests / scripts / autologin-guest-in-background.conf
index 2083e1f7b04f97ad8a76c9479b08b8af4c45ad4e..233cdd31e8a3d950c881031421865cd5206e8aa6 100644 (file)
@@ -2,39 +2,39 @@
 # Check automatically logs in guest while keeping a greeter up
 #
 
-[LightDM]
-minimum-display-number=50
-
 [SeatDefaults]
 autologin-guest=true
 autologin-in-background=true
+user-session=default
 
 #?RUNNER DAEMON-START
 
 # Greeter starts
-#?XSERVER-50 START
-#?XSERVER-50 INDICATE-READY
-#?XSERVER-50 ACCEPT-CONNECT
-#?GREETER-X-50 START
-#?XSERVER-50 ACCEPT-CONNECT
-#?GREETER-X-50 CONNECT-XSERVER
-#?GREETER-X-50 CONNECT-TO-DAEMON
-#?GREETER-X-50 CONNECTED-TO-DAEMON
+#?XSERVER-0 START VT=7 SEAT=seat0
+#?*XSERVER-0 INDICATE-READY
+#?XSERVER-0 INDICATE-READY
+#?XSERVER-0 ACCEPT-CONNECT
+#?GREETER-X-0 START XDG_SEAT=seat0 XDG_VTNR=7 XDG_SESSION_CLASS=greeter
+#?XSERVER-0 ACCEPT-CONNECT
+#?GREETER-X-0 CONNECT-XSERVER
+#?GREETER-X-0 CONNECT-TO-DAEMON
+#?GREETER-X-0 CONNECTED-TO-DAEMON
 
 # Guest session starts
-#?XSERVER-51 START
-#?XSERVER-51 INDICATE-READY
-#?XSERVER-51 ACCEPT-CONNECT
+#?XSERVER-1 START VT=8 SEAT=seat0
+#?*XSERVER-1 INDICATE-READY
+#?XSERVER-1 INDICATE-READY
+#?XSERVER-1 ACCEPT-CONNECT
 #?GUEST-ACCOUNT ADD USERNAME=guest-.*
-#?SESSION-X-51 START USER=guest-.*
-#?XSERVER-51 ACCEPT-CONNECT
-#?SESSION-X-51 CONNECT-XSERVER
+#?SESSION-X-1 START XDG_SEAT=seat0 XDG_VTNR=8 XDG_GREETER_DATA_DIR=.*/guest-.* DESKTOP_SESSION=default USER=guest-.*
+#?XSERVER-1 ACCEPT-CONNECT
+#?SESSION-X-1 CONNECT-XSERVER
 
 # Cleanup
 #?*STOP-DAEMON
-#?GREETER-X-50 TERMINATE SIGNAL=15
-#?XSERVER-50 TERMINATE SIGNAL=15
-#?SESSION-X-51 TERMINATE SIGNAL=15
-#?XSERVER-51 TERMINATE SIGNAL=15
+#?GREETER-X-0 TERMINATE SIGNAL=15
+#?XSERVER-0 TERMINATE SIGNAL=15
+#?SESSION-X-1 TERMINATE SIGNAL=15
+#?XSERVER-1 TERMINATE SIGNAL=15
 #?GUEST-ACCOUNT REMOVE USERNAME=guest-.*
 #?RUNNER DAEMON-EXIT STATUS=0