summaryrefslogtreecommitdiff
path: root/tests/scripts/switch-to-user-existing-no-password.conf
blob: 30556589dc8226f1440f7782175ffd7b7f15cf38 (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
61
62
63
64
65
66
67
#
# Check that switching to an existing account with no password switches straight back
#

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

#?RUNNER DAEMON-START
#?*WAIT

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

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

# Session starts
#?SESSION-X-0 START XDG_SEAT=seat0 XDG_VTNR=7 USER=no-password1
#?XSERVER-0 ACCEPT-CONNECT
#?SESSION-X-0 CONNECT-XSERVER

# Switch to another user
#?*SWITCH-TO-USER USERNAME=no-password2
#?RUNNER SWITCH-TO-USER USERNAME=no-password2

# New X server starts
#?XSERVER-1 START VT=8

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

# Old session is locked
#?LOGIN1 LOCK-SESSION

# New session starts
#?SESSION-X-1 START XDG_SEAT=seat0 XDG_VTNR=8 USER=no-password2
#?XSERVER-1 ACCEPT-CONNECT
#?SESSION-X-1 CONNECT-XSERVER

# Switch to new session
#?VT ACTIVATE VT=8

# Switch back to first user
#?*SWITCH-TO-USER USERNAME=no-password1
#?RUNNER SWITCH-TO-USER USERNAME=no-password1

# Old session is unlocked
#?LOGIN1 UNLOCK-SESSION

# New session is locked
#?LOGIN1 LOCK-SESSION

# Switch to first session
#?VT ACTIVATE VT=7

# 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