]> rtime.felk.cvut.cz Git - sojka/lightdm.git/blob - tests/scripts/corrupt-xauthority.conf
Override logind's or consolekit's decision to automatically change active session...
[sojka/lightdm.git] / tests / scripts / corrupt-xauthority.conf
1 #
2 # Check can login if existing corrupt authority present
3 #
4
5 [SeatDefaults]
6 autologin-user=corrupt-xauth
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 # Session starts
21 #?SESSION-X-0 START XDG_SEAT=seat0 XDG_VTNR=7 XDG_GREETER_DATA_DIR=.*/corrupt-xauth DESKTOP_SESSION=default USER=corrupt-xauth
22 #?LOGIN1 ACTIVATE-SESSION SESSION=c0
23 #?XSERVER-0 ACCEPT-CONNECT
24 #?SESSION-X-0 CONNECT-XSERVER
25
26 # Check where the X authority is
27 #?*SESSION-X-0 READ-ENV NAME=XAUTHORITY
28 #?SESSION-X-0 READ-ENV NAME=XAUTHORITY VALUE=.*/home/corrupt-xauth/.Xauthority
29
30 # Check has correct permissions
31 #?*SESSION-X-0 CHECK-X-AUTHORITY
32 #?SESSION-X-0 CHECK-X-AUTHORITY MODE=rw-------
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