summaryrefslogtreecommitdiff
path: root/tests/scripts/switch-to-guest-disabled.conf
blob: 9bb2fae3c5453093d8e1e41d9f5e4ed690b96af5 (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
#
# Check can't switch to guest when disabled
#

[Seat:*]
autologin-user=have-password1
user-session=default
allow-user-switching=false

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

# 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

# Default session starts
#?SESSION-X-0 START XDG_SEAT=seat0 XDG_VTNR=7 XDG_GREETER_DATA_DIR=.*/have-password1 XDG_SESSION_TYPE=x11 XDG_SESSION_DESKTOP=default USER=have-password1
#?LOGIN1 ACTIVATE-SESSION SESSION=c0
#?XSERVER-0 ACCEPT-CONNECT
#?SESSION-X-0 CONNECT-XSERVER

# Check daemon says we can't switch
#?*SEAT-CAN-SWITCH
#?RUNNER SEAT-CAN-SWITCH CAN-SWITCH=FALSE

# Check daemon says we have a guest account
#?*SEAT-HAS-GUEST-ACCOUNT
#?RUNNER SEAT-HAS-GUEST-ACCOUNT HAS-GUEST-ACCOUNT=TRUE

# Attempt to switch to guest
#?*SWITCH-TO-GUEST
#?RUNNER SWITCH-TO-GUEST FAILED

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