File tree Expand file tree Collapse file tree 5 files changed +77
-0
lines changed Expand file tree Collapse file tree 5 files changed +77
-0
lines changed Original file line number Diff line number Diff line change @@ -22,6 +22,8 @@ TESTS = \
22
22
test-autologin-guest-logout \
23
23
test-session-stdout \
24
24
test-session-stderr \
25
+ test-xauthority \
26
+ test-system-xauthority \
25
27
test-user-renamed \
26
28
test-user-renamed-invalid \
27
29
test-keyboard-layout \
@@ -194,8 +196,10 @@ EXTRA_DIST = \
194
196
scripts/switch-to-user-existing-session.conf \
195
197
scripts/switch-to-user-logout.conf \
196
198
scripts/switch-to-user-no-password.conf \
199
+ scripts/system-xauthority.conf \
197
200
scripts/user-renamed.conf \
198
201
scripts/user-renamed-invalid.conf \
199
202
scripts/vnc-login.conf \
203
+ scripts/xauthority.conf \
200
204
scripts/xdmcp-login.conf \
201
205
scripts/xserver-fail-start.conf
Original file line number Diff line number Diff line change
1
+ #
2
+ # Check X authority written into system directory
3
+ #
4
+
5
+ [LightDM]
6
+ minimum-display-number=50
7
+ user-authority-in-system-dir=true
8
+
9
+ [SeatDefaults]
10
+ autologin-user=have-password1
11
+
12
+ #?RUNNER DAEMON-START
13
+
14
+ # X server starts
15
+ #?XSERVER :50 START
16
+ #?XSERVER :50 INDICATE-READY
17
+
18
+ # LightDM connects to X server
19
+ #?XSERVER :50 ACCEPT-CONNECT
20
+
21
+ # Session starts
22
+ #?SESSION :50 START USER=have-password1
23
+ #?XSERVER :50 ACCEPT-CONNECT
24
+ #?SESSION :50 CONNECT-XSERVER
25
+
26
+ # Check where the X authority is
27
+ #?*SESSION :50 READ-ENV NAME=XAUTHORITY
28
+ #?SESSION :50 READ-ENV NAME=XAUTHORITY VALUE=.*/var/run/lightdm/have-password1/xauthority
29
+
30
+ # Cleanup
31
+ #?*STOP-DAEMON
32
+ # Don't know what order they will terminate
33
+ #?(SESSION :50 TERMINATE SIGNAL=15|XSERVER :50 TERMINATE SIGNAL=15)
34
+ #?(SESSION :50 TERMINATE SIGNAL=15|XSERVER :50 TERMINATE SIGNAL=15)
35
+ #?RUNNER DAEMON-EXIT STATUS=0
Original file line number Diff line number Diff line change
1
+ #
2
+ # Check X authority written into home directory
3
+ #
4
+
5
+ [LightDM]
6
+ minimum-display-number=50
7
+
8
+ [SeatDefaults]
9
+ autologin-user=have-password1
10
+
11
+ #?RUNNER DAEMON-START
12
+
13
+ # X server starts
14
+ #?XSERVER :50 START
15
+ #?XSERVER :50 INDICATE-READY
16
+
17
+ # LightDM connects to X server
18
+ #?XSERVER :50 ACCEPT-CONNECT
19
+
20
+ # Session starts
21
+ #?SESSION :50 START USER=have-password1
22
+ #?XSERVER :50 ACCEPT-CONNECT
23
+ #?SESSION :50 CONNECT-XSERVER
24
+
25
+ # Check where the X authority is
26
+ #?*SESSION :50 READ-ENV NAME=XAUTHORITY
27
+ #?SESSION :50 READ-ENV NAME=XAUTHORITY VALUE=.*/home/have-password1/.Xauthority
28
+
29
+ # Cleanup
30
+ #?*STOP-DAEMON
31
+ # Don't know what order they will terminate
32
+ #?(SESSION :50 TERMINATE SIGNAL=15|XSERVER :50 TERMINATE SIGNAL=15)
33
+ #?(SESSION :50 TERMINATE SIGNAL=15|XSERVER :50 TERMINATE SIGNAL=15)
34
+ #?RUNNER DAEMON-EXIT STATUS=0
Original file line number Diff line number Diff line change
1
+ #! /bin/sh
2
+ ./src/dbus-env ./src/test-runner system-xauthority test-gobject-greeter
Original file line number Diff line number Diff line change
1
+ #! /bin/sh
2
+ ./src/dbus-env ./src/test-runner xauthority test-gobject-greeter
You can’t perform that action at this time.
0 commit comments