Commit b0225574 authored by Emmanuel Promayon's avatar Emmanuel Promayon

FIXED display :5 clashes with the Xvfb started in config-test.sh

parent 2535ae92
......@@ -16,10 +16,10 @@ if [[ "$osName" != "win7" ]]; then
echo "===== Configuring xvfb ====="
# Starts the server first (try to avoid unexpected and random "QXcbConnection: Could not connect to display :99")
# see also https://doc.qt.io/qt-5/embedded-linux.html#linuxfb
Xvfb :5 -screen 0 1600x1200x24 -ac +extension GLX +render -noreset -v -fbdir $workingDir/ &
Xvfb :42 -screen 0 1600x1200x24 -ac +extension GLX +render -noreset -v -fbdir $workingDir/ &
xvfbPid=$!
echo "PID of Xvfb: $xvfbPid"
export DISPLAY=:5
export DISPLAY=:42
export XAUTHORITY=/dev/null
fi
......
Markdown is supported
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