summaryrefslogtreecommitdiff
path: root/tests/scripts/switch-to-greeter-return-session.conf
blob: be80d0d29b5c3c7f3262a653c284e9594b326606 (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
#
# Use D-Bus interface to show the greeter, then return to the same session
#

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

#?RUNNER DAEMON-START

# X server starts
#?XSERVER-0 START VT=7
#?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 VT=8
#?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 as existing user
#?*GREETER-X-1 AUTHENTICATE USERNAME=have-password1
#?GREETER-X-1 SHOW-PROMPT TEXT="Password:"
#?*GREETER-X-1 RESPOND TEXT="password"
#?GREETER-X-1 AUTHENTICATION-COMPLETE USERNAME=have-password1 AUTHENTICATED=TRUE
#?*GREETER-X-1 START-SESSION

# Greeter and X server stop
#?GREETER-X-1 TERMINATE SIGNAL=15
#?XSERVER-1 TERMINATE SIGNAL=15

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