blob: e64541af41ce7b9c05e9154f19041c542a50e294 (
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
68
69
70
71
72
73
74
75
76
77
78
79
80
81
82
83
84
85
86
87
88
89
90
91
92
93
94
95
96
97
98
99
100
|
#
# Check that two remote X servers can login via XDMCP
#
[LightDM]
start-default-seat=false
[XDMCPServer]
enabled=true
[SeatDefaults]
user-session=default
#?*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
# Start sending XDMCP queries
#?*XSERVER-98 START-XDMCP
#?XSERVER-98 SEND-QUERY
# Negotiate with daemon
#?XSERVER-98 GOT-WILLING AUTHENTICATION-NAME="" HOSTNAME="" STATUS=""
#?XSERVER-98 SEND-REQUEST DISPLAY-NUMBER=98 AUTHORIZATION-NAME="MIT-MAGIC-COOKIE-1" MFID="TEST XSERVER"
#?XSERVER-98 GOT-ACCEPT SESSION-ID=[0-9]* AUTHENTICATION-NAME="" AUTHORIZATION-NAME="MIT-MAGIC-COOKIE-1"
#?XSERVER-98 SEND-MANAGE SESSION-ID=[0-9]* DISPLAY-NUMBER=98 DISPLAY-CLASS="DISPLAY CLASS"
# LightDM connects to X server
#?XSERVER-98 ACCEPT-CONNECT
# Greeter starts and connects to remote X server
#?GREETER-X-127.0.0.1:98 START 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 in
#?*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_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
# Start a second remote X server to log in with XDMCP
#?*START-XSERVER ARGS=":99 -query 127.0.0.1 -nolisten unix"
#?XSERVER-99 START
# Start sending XDMCP queries
#?*XSERVER-99 START-XDMCP
#?XSERVER-99 SEND-QUERY
# Negotiate with daemon
#?XSERVER-99 GOT-WILLING AUTHENTICATION-NAME="" HOSTNAME="" STATUS=""
#?XSERVER-99 SEND-REQUEST DISPLAY-NUMBER=99 AUTHORIZATION-NAME="MIT-MAGIC-COOKIE-1" MFID="TEST XSERVER"
#?XSERVER-99 GOT-ACCEPT SESSION-ID=[0-9]* AUTHENTICATION-NAME="" AUTHORIZATION-NAME="MIT-MAGIC-COOKIE-1"
#?XSERVER-99 SEND-MANAGE SESSION-ID=[0-9]* DISPLAY-NUMBER=99 DISPLAY-CLASS="DISPLAY CLASS"
# LightDM connects to X server
#?XSERVER-99 ACCEPT-CONNECT
# Greeter starts and connects to remote X server
#?GREETER-X-127.0.0.1:99 START XDG_SESSION_CLASS=greeter
#?LOGIN1 ACTIVATE-SESSION SESSION=c2
#?XSERVER-99 ACCEPT-CONNECT
#?GREETER-X-127.0.0.1:99 CONNECT-XSERVER
#?GREETER-X-127.0.0.1:99 CONNECT-TO-DAEMON
#?GREETER-X-127.0.0.1:99 CONNECTED-TO-DAEMON
# Log in
#?*GREETER-X-127.0.0.1:99 AUTHENTICATE USERNAME=have-password1
#?GREETER-X-127.0.0.1:99 SHOW-PROMPT TEXT="Password:"
#?*GREETER-X-127.0.0.1:99 RESPOND TEXT="password"
#?GREETER-X-127.0.0.1:99 AUTHENTICATION-COMPLETE USERNAME=have-password1 AUTHENTICATED=TRUE
#?*GREETER-X-127.0.0.1:99 START-SESSION
#?GREETER-X-127.0.0.1:99 TERMINATE SIGNAL=15
# Session starts
#?SESSION-X-127.0.0.1:99 START XDG_SESSION_TYPE=x11 XDG_SESSION_DESKTOP=default USER=have-password1
#?LOGIN1 ACTIVATE-SESSION SESSION=c3
#?XSERVER-99 ACCEPT-CONNECT
#?SESSION-X-127.0.0.1:99 CONNECT-XSERVER
# Clean up
#?*STOP-DAEMON
#?SESSION-X-127.0.0.1:98 TERMINATE SIGNAL=15
#?SESSION-X-127.0.0.1:99 TERMINATE SIGNAL=15
#?RUNNER DAEMON-EXIT STATUS=0
|