]> rtime.felk.cvut.cz Git - sojka/lightdm.git/blob - tests/scripts/switch-to-user-active.conf
Override logind's or consolekit's decision to automatically change active session...
[sojka/lightdm.git] / tests / scripts / switch-to-user-active.conf
1 #
2 # Check that switching to a user who is the active session does nothing
3 #
4
5 [SeatDefaults]
6 autologin-user=no-password1
7 user-session=default
8
9 #?*START-DAEMON
10 #?RUNNER DAEMON-START
11 #?*WAIT
12
13 # X server starts
14 #?XSERVER-0 START VT=7 SEAT=seat0
15
16 # Daemon connects when X server is ready
17 #?*XSERVER-0 INDICATE-READY
18 #?XSERVER-0 INDICATE-READY
19 #?XSERVER-0 ACCEPT-CONNECT
20
21 # Session starts
22 #?SESSION-X-0 START XDG_SEAT=seat0 XDG_VTNR=7 XDG_GREETER_DATA_DIR=.*/no-password1 DESKTOP_SESSION=default USER=no-password1
23 #?LOGIN1 ACTIVATE-SESSION SESSION=c0
24 #?XSERVER-0 ACCEPT-CONNECT
25 #?SESSION-X-0 CONNECT-XSERVER
26
27 # Switch to this user
28 #?*SWITCH-TO-USER USERNAME=no-password1
29 #?RUNNER SWITCH-TO-USER USERNAME=no-password1
30
31 # Nothing happends
32 #?*WAIT
33
34 # Cleanup
35 #?*STOP-DAEMON
36 #?SESSION-X-0 TERMINATE SIGNAL=15
37 #?XSERVER-0 TERMINATE SIGNAL=15
38 #?RUNNER DAEMON-EXIT STATUS=0