]> rtime.felk.cvut.cz Git - sojka/lightdm.git/blob - tests/scripts/autologin-logout.conf
Override logind's or consolekit's decision to automatically change active session...
[sojka/lightdm.git] / tests / scripts / autologin-logout.conf
1 #
2 # Check logging out after autologin returns to greeter and doesn't autologin again
3 #
4
5 [SeatDefaults]
6 autologin-user=have-password1
7 user-session=default
8
9 #?*START-DAEMON
10 #?RUNNER DAEMON-START
11
12 # X server starts
13 #?XSERVER-0 START VT=7 SEAT=seat0
14
15 # Daemon connects when X server is ready
16 #?*XSERVER-0 INDICATE-READY
17 #?XSERVER-0 INDICATE-READY
18 #?XSERVER-0 ACCEPT-CONNECT
19
20 # Autologin session starts
21 #?SESSION-X-0 START XDG_SEAT=seat0 XDG_VTNR=7 XDG_GREETER_DATA_DIR=.*/have-password1 DESKTOP_SESSION=default USER=have-password1
22 #?LOGIN1 ACTIVATE-SESSION SESSION=c0
23 #?XSERVER-0 ACCEPT-CONNECT
24 #?SESSION-X-0 CONNECT-XSERVER
25
26 # Logout session
27 #?*SESSION-X-0 LOGOUT
28
29 # X server stops
30 #?XSERVER-0 TERMINATE SIGNAL=15
31
32 # X server starts
33 #?XSERVER-0 START VT=7 SEAT=seat0
34
35 # Daemon connects when X server is ready
36 #?*XSERVER-0 INDICATE-READY
37 #?XSERVER-0 INDICATE-READY
38 #?XSERVER-0 ACCEPT-CONNECT
39
40 # Greeter starts
41 #?GREETER-X-0 START XDG_SEAT=seat0 XDG_VTNR=7 XDG_SESSION_CLASS=greeter
42 #?LOGIN1 ACTIVATE-SESSION SESSION=c1
43 #?XSERVER-0 ACCEPT-CONNECT
44 #?GREETER-X-0 CONNECT-XSERVER
45 #?GREETER-X-0 CONNECT-TO-DAEMON
46 #?GREETER-X-0 CONNECTED-TO-DAEMON
47
48 # Wait in case the greeter tries to log in immediately
49 #?*WAIT
50
51 # Cleanup
52 #?*STOP-DAEMON
53 #?GREETER-X-0 TERMINATE SIGNAL=15
54 #?XSERVER-0 TERMINATE SIGNAL=15
55 #?RUNNER DAEMON-EXIT STATUS=0