summaryrefslogtreecommitdiff
path: root/tests/scripts/mir-container-session.conf
blob: 1e32d5ec5ff9affcc4388115733642dd20ebf17d (plain)
1
2
3
4
5
6
7
8
9
10
11
12
13
14
15
16
17
18
19
20
21
22
23
24
25
26
27
28
29
30
31
32
33
34
35
36
37
38
39
40
41
42
43
44
45
46
47
48
49
50
51
52
53
54
#
# Check can login into a containerised Mir session on a VT based seat
#

[Seat:*]
user-session=mir-container

#?*START-DAEMON
#?RUNNER DAEMON-START

# X server starts
#?XSERVER-0 START VT=7 SEAT=seat0

# Daemon connects when X server is ready
#?*XSERVER-0 INDICATE-READY
#?XSERVER-0 INDICATE-READY
#?XSERVER-0 ACCEPT-CONNECT

# Greeter starts
#?GREETER-X-0 START XDG_SEAT=seat0 XDG_VTNR=7 XDG_SESSION_CLASS=greeter
#?LOGIN1 ACTIVATE-SESSION SESSION=c0
#?XSERVER-0 ACCEPT-CONNECT
#?GREETER-X-0 CONNECT-XSERVER
#?GREETER-X-0 CONNECT-TO-DAEMON
#?GREETER-X-0 CONNECTED-TO-DAEMON

# Attempt to log into account
#?*GREETER-X-0 AUTHENTICATE USERNAME=no-password1
#?GREETER-X-0 AUTHENTICATION-COMPLETE USERNAME=no-password1 AUTHENTICATED=TRUE
#?*GREETER-X-0 START-SESSION

# System compositor starts
#?UNITY-SYSTEM-COMPOSITOR START FILE=/run/lightdm-mir-0 VT=8 ENABLE-HARDWARE-CURSOR=TRUE XDG_VTNR=8 CONTAINER=TRUE
#?*UNITY-SYSTEM-COMPOSITOR READY

# Switch to system compositor
#?VT ACTIVATE VT=8

# Greeter terminates
#?GREETER-X-0 TERMINATE SIGNAL=15
#?XSERVER-0 TERMINATE SIGNAL=15

# Session starts
#?SESSION-MIR-session-0 START XDG_SEAT=seat0 XDG_VTNR=8 XDG_GREETER_DATA_DIR=.*/no-password1 XDG_SESSION_TYPE=mir XDG_SESSION_DESKTOP=mir-container USER=no-password1
#?LOGIN1 ACTIVATE-SESSION SESSION=c1

# Session shown
#?UNITY-SYSTEM-COMPOSITOR SET-ACTIVE-SESSION ID=session-0

# Cleanup
#?*STOP-DAEMON
#?SESSION-MIR-session-0 TERMINATE SIGNAL=15
#?UNITY-SYSTEM-COMPOSITOR TERMINATE SIGNAL=15
#?RUNNER DAEMON-EXIT STATUS=0