Trying to modify run.sh so it waits for the Xvfb server to start accepting connections.
This commit is contained in:
parent
4bdad36337
commit
1a07ced12c
1 changed files with 1 additions and 1 deletions
2
run.sh
2
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"
|
||||
|
|
Loading…
Reference in a new issue