]> rtime.felk.cvut.cz Git - sojka/lightdm.git/blob - tests/scripts/xauthority.conf
31e264ae27ee3718178510b62bd0f535a8b32f51
[sojka/lightdm.git] / tests / scripts / xauthority.conf
1 #
2 # Check X authority written into home directory
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 # 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
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/have-password1/.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