From 4bdad36337e6df306eedde38fbc440a5585b4ec5 Mon Sep 17 00:00:00 2001 From: polar Date: Wed, 27 Sep 2017 12:18:13 -0400 Subject: [PATCH] Trying to modify run.sh so it waits for the Xvfb server to start accepting connections. --- run.sh | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/run.sh b/run.sh index 670fa68..7eca75c 100755 --- a/run.sh +++ b/run.sh @@ -15,7 +15,7 @@ LOG "Starting Xvfb on ${DISPLAY}" --exec /usr/bin/Xvfb -- :${displayNumber} -screen ${screenNumber} 1024x768x24 \ -ac +extension GLX +render -noreset -LOG "Waiting for display at ${DISPLAY}." +LOG "Waiting for display at ${DISPLAY} for ${timeout} seconds time." # Wait to be able to connect to the port. This will exit if it cannot in 15 minutes. timeout ${timeout} bash -c "while ! xdpyinfo; do sleep 0.5; done"