summaryrefslogtreecommitdiff
path: root/tests/scripts/xdmcp-server-xdm-authentication-required.conf
blob: d87b668c295916789ed1c5f57a97a085c0411de2 (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
#
# Check that a remote X server can't login if not using required authentication
#

[LightDM]
start-default-seat=false

[XDMCPServer]
enabled=true
key=test-key

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

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

# Start a remote X server to log in with XDMCP
#?*START-XSERVER ARGS=":98 -query 127.0.0.1 -nolisten unix"
#?XSERVER-98 START LISTEN-TCP NO-LISTEN-UNIX

# Request to connection without authentication - daemon says we don't do that
#?*XSERVER-98 SEND-QUERY AUTHENTICATION-NAMES=""
#?XSERVER-98 GOT-UNWILLING HOSTNAME="" STATUS="No matching authentication, server requires XDM-AUTHENTICATION-1"

# Try anyway - daemon rejects
#?*XSERVER-98 SEND-REQUEST ADDRESSES="127.0.0.1" AUTHENTICATION-NAME="" AUTHORIZATION-NAMES="XDM-AUTHORIZATION-1"
#?XSERVER-98 GOT-DECLINE STATUS="No matching authentication, server requires XDM-AUTHENTICATION-1" AUTHENTICATION-NAME=""

# Clean up
#?*STOP-DAEMON
#?RUNNER DAEMON-EXIT STATUS=0