From 1a07ced12c1e04bdd0878812e1f2085c45c108af Mon Sep 17 00:00:00 2001 From: polar Date: Wed, 27 Sep 2017 12:18:41 -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 7eca75c..7b23c5d 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} for ${timeout} seconds time." +LOG "Waiting to be able to connect to 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"