]> rtime.felk.cvut.cz Git - sojka/lightdm.git/blob - tests/scripts/unity-compositor-next-session.conf
Allow guest sessions more access to the upstart session socket
[sojka/lightdm.git] / tests / scripts / unity-compositor-next-session.conf
1 #
2 # Check that we correctly set next session when switching selected greeter user
3 #
4
5 [Seat:*]
6 type=unity
7 user-session=default
8 autologin-user=have-password2
9 autologin-in-background=true
10
11 #?*START-DAEMON
12 #?RUNNER DAEMON-START
13
14 # System compositor
15 #?UNITY-SYSTEM-COMPOSITOR START FILE=/run/mir_socket VT=7 XDG_VTNR=7
16 #?*UNITY-SYSTEM-COMPOSITOR READY
17
18 # Greeter session
19 #?XMIR-0 START SEAT=seat0 MIR-ID=x-0
20 #?*XMIR-0 INDICATE-READY
21 #?XMIR-0 INDICATE-READY
22 #?XMIR-0 ACCEPT-CONNECT
23 #?GREETER-X-0 START XDG_SEAT=seat0 XDG_VTNR=7 XDG_SESSION_CLASS=greeter
24 #?LOGIN1 ACTIVATE-SESSION SESSION=c0
25 #?XMIR-0 ACCEPT-CONNECT
26 #?GREETER-X-0 CONNECT-XSERVER
27 #?GREETER-X-0 CONNECT-TO-DAEMON
28 #?GREETER-X-0 CONNECTED-TO-DAEMON
29
30 # Background session
31 #?XMIR-1 START SEAT=seat0 MIR-ID=x-1
32 #?*XMIR-1 INDICATE-READY
33 #?XMIR-1 INDICATE-READY
34 #?XMIR-1 ACCEPT-CONNECT
35 #?SESSION-X-1 START XDG_SEAT=seat0 XDG_VTNR=7 XDG_GREETER_DATA_DIR=.*/have-password2 XDG_SESSION_TYPE=x11 XDG_SESSION_DESKTOP=default USER=have-password2
36 #?LOGIN1 ACTIVATE-SESSION SESSION=c0
37 #?XMIR-1 ACCEPT-CONNECT
38 #?SESSION-X-1 CONNECT-XSERVER
39
40 # System compositor switches to greeter
41 #?UNITY-SYSTEM-COMPOSITOR SET-ACTIVE-SESSION ID=x-0
42
43 # Switch to user without a session
44 #?*GREETER-X-0 AUTHENTICATE USERNAME=have-password1
45 #?GREETER-X-0 SHOW-PROMPT TEXT="Password:"
46
47 # Switch to user with a session
48 #?*GREETER-X-0 AUTHENTICATE USERNAME=have-password2
49 #?GREETER-X-0 SHOW-PROMPT TEXT="Password:"
50 #?UNITY-SYSTEM-COMPOSITOR SET-NEXT-SESSION ID=x-1
51
52 # Cleanup
53 #?*STOP-DAEMON
54 #?GREETER-X-0 TERMINATE SIGNAL=15
55 #?XMIR-0 TERMINATE SIGNAL=15
56 #?XMIR-1 TERMINATE SIGNAL=15
57 #?SESSION-X-1 TERMINATE SIGNAL=15
58 #?UNITY-SYSTEM-COMPOSITOR TERMINATE SIGNAL=15
59 #?RUNNER DAEMON-EXIT STATUS=0