summaryrefslogtreecommitdiff
path: root/tests/scripts/switch-to-greeter-new-session.conf
blob: ef3c220442dd498d31e4bcf9ab481540c1a378c7 (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
55
56
57
58
59
60
#
# Use D-Bus interface to show the greeter, then start a new session
#

[SeatDefaults]
autologin-user=have-password1
user-session=default

#?RUNNER DAEMON-START

# X server starts
#?XSERVER-0 START
#?XSERVER-0 INDICATE-READY

# LightDM connects to X server
#?XSERVER-0 ACCEPT-CONNECT

# Session starts
#?SESSION-X-0 START USER=have-password1
#?XSERVER-0 ACCEPT-CONNECT
#?SESSION-X-0 CONNECT-XSERVER

# Show the greeter
#?*SWITCH-TO-GREETER
#?RUNNER SWITCH-TO-GREETER

# New X server starts
#?XSERVER-1 START
#?XSERVER-1 INDICATE-READY

# LightDM connects to X server
#?XSERVER-1 ACCEPT-CONNECT

# Greeter starts
#?GREETER-X-1 START
#?XSERVER-1 ACCEPT-CONNECT
#?GREETER-X-1 CONNECT-XSERVER
#?GREETER-X-1 CONNECT-TO-DAEMON
#?GREETER-X-1 CONNECTED-TO-DAEMON

# Login
#?*GREETER-X-1 AUTHENTICATE USERNAME=have-password2
#?GREETER-X-1 SHOW-PROMPT TEXT="Password:"
#?*GREETER-X-1 RESPOND TEXT="password"
#?GREETER-X-1 AUTHENTICATION-COMPLETE USERNAME=have-password2 AUTHENTICATED=TRUE
#?*GREETER-X-1 START-SESSION
#?GREETER-X-1 TERMINATE SIGNAL=15

# New session starts
#?SESSION-X-1 START USER=have-password2
#?XSERVER-1 ACCEPT-CONNECT
#?SESSION-X-1 CONNECT-XSERVER

# Cleanup
#?*STOP-DAEMON
#?SESSION-X-0 TERMINATE SIGNAL=15
#?XSERVER-0 TERMINATE SIGNAL=15
#?SESSION-X-1 TERMINATE SIGNAL=15
#?XSERVER-1 TERMINATE SIGNAL=15
#?RUNNER DAEMON-EXIT STATUS=0