]> rtime.felk.cvut.cz Git - sojka/lightdm.git/blobdiff - tests/scripts/users.conf
Override logind's or consolekit's decision to automatically change active session...
[sojka/lightdm.git] / tests / scripts / users.conf
index 701623775c9e496248833cb25005eaafdd80f9d5..020aaf9505794445ce226a2a4bb175a0121be174 100644 (file)
@@ -8,17 +8,20 @@ accounts-service-user-filter=have-password1 have-password2
 [test-greeter-config]
 log-user-changes=true
 
+#?*START-DAEMON
 #?RUNNER DAEMON-START
 
 # X server starts
-#?XSERVER-0 START
-#?XSERVER-0 INDICATE-READY
+#?XSERVER-0 START VT=7 SEAT=seat0
 
-# LightDM connects to X server
+# Daemon connects when X server is ready
+#?*XSERVER-0 INDICATE-READY
+#?XSERVER-0 INDICATE-READY
 #?XSERVER-0 ACCEPT-CONNECT
 
 # Greeter starts
-#?GREETER-X-0 START
+#?GREETER-X-0 START XDG_SEAT=seat0 XDG_VTNR=7 XDG_SESSION_CLASS=greeter
+#?LOGIN1 ACTIVATE-SESSION SESSION=c0
 #?XSERVER-0 ACCEPT-CONNECT
 #?GREETER-X-0 CONNECT-XSERVER
 #?GREETER-X-0 CONNECT-TO-DAEMON
@@ -27,8 +30,6 @@ log-user-changes=true
 # Check user list is as expected
 #?*GREETER-X-0 LOG-USER-LIST-LENGTH
 #?GREETER-X-0 LOG-USER-LIST-LENGTH N=2
-#?*GREETER-X-0 LOG-USER USERNAME=have-password1
-#?GREETER-X-0 LOG-USER USERNAME=have-password1
 #?*GREETER-X-0 LOG-USER-LIST
 #?GREETER-X-0 LOG-USER USERNAME=have-password1
 #?GREETER-X-0 LOG-USER USERNAME=have-password2
@@ -44,6 +45,10 @@ log-user-changes=true
 #?GREETER-X-0 LOG-USER USERNAME=have-password2
 #?GREETER-X-0 LOG-USER USERNAME=have-password3
 
+# Add a system user (ignored)
+#?*ADD-USER USERNAME=lightdm
+#?RUNNER ADD-USER USERNAME=lightdm
+
 # Remove a user
 #?*DELETE-USER USERNAME=have-password3
 #?RUNNER DELETE-USER USERNAME=have-password3