From b702fdaf09d89230a2059b38cf8d87e5ec07cea2 Mon Sep 17 00:00:00 2001 From: polar Date: Wed, 20 Sep 2017 10:15:27 -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 3b81a2d..a12824a 100755 --- a/run.sh +++ b/run.sh @@ -12,7 +12,7 @@ while [ ${p} -lt 3000 ] fi done -if "${port}" != ""; then +if [ "${port}" != "" ]; then echo "The display port will be ${port}." start-stop-daemon --start --pidfile ~/xvfb.pid --make-pidfile --background \ --exec /usr/bin/Xvfb -- :${port} -screen 0 1024x768x24 \