summaryrefslogtreecommitdiff
path: root/tests/scripts/xremote-login.conf
blob: bdc81a91db6bfc04b73d69911748193dcdbf13db (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
#
# Check can log into a remote X server
#

[Seat:*]
type=xremote
user-session=default
xserver-display-number=98

# Start a remote X server to use
#?*START-XSERVER ARGS=":98"
#?XSERVER-98 START LISTEN-TCP

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

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

# Greeter starts
#?GREETER-X-127.0.0.1:98 START XDG_SEAT=seat0 XDG_SESSION_CLASS=greeter
#?LOGIN1 ACTIVATE-SESSION SESSION=c0
#?XSERVER-98 ACCEPT-CONNECT
#?GREETER-X-127.0.0.1:98 CONNECT-XSERVER
#?GREETER-X-127.0.0.1:98 CONNECT-TO-DAEMON
#?GREETER-X-127.0.0.1:98 CONNECTED-TO-DAEMON

# Log into account with a password
#?*GREETER-X-127.0.0.1:98 AUTHENTICATE USERNAME=have-password1
#?GREETER-X-127.0.0.1:98 SHOW-PROMPT TEXT="Password:"
#?*GREETER-X-127.0.0.1:98 RESPOND TEXT="password"
#?GREETER-X-127.0.0.1:98 AUTHENTICATION-COMPLETE USERNAME=have-password1 AUTHENTICATED=TRUE
#?*GREETER-X-127.0.0.1:98 START-SESSION
#?GREETER-X-127.0.0.1:98 TERMINATE SIGNAL=15

# Session starts
#?SESSION-X-127.0.0.1:98 START XDG_SEAT=seat0 XDG_SESSION_TYPE=x11 XDG_SESSION_DESKTOP=default USER=have-password1
#?LOGIN1 ACTIVATE-SESSION SESSION=c1
#?XSERVER-98 ACCEPT-CONNECT
#?SESSION-X-127.0.0.1:98 CONNECT-XSERVER

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