Commit 2cb58dda authored by Niels Möller's avatar Niels Möller
Browse files

(spawn_xvfb): Explicitly setup the xauthority file using xauth add,

don't rely on xauth generate and the X11 security extension.

Rev: src/testsuite/
parent 979c956d
......@@ -191,10 +191,16 @@ spawn_lshg () {
spawn_xvfb () {
$XVFB -nolisten tcp $TEST_DISPLAY &
# Set up authorization the old-fashioned way; The security
# extension used by xauth generate is not always supported.
add $TEST_DISPLAY . `../lsh-keygen -a symmetric --bit-length 128`
$XVFB -auth $XAUTHORITY -nolisten tcp $TEST_DISPLAY &
at_exit "kill $!"
sleep 3
xauth generate $TEST_DISPLAY .
Supports Markdown
0% or .
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!
Please register or to comment