File tree Expand file tree Collapse file tree
Expand file tree Collapse file tree Original file line number Diff line number Diff line change @@ -3,21 +3,21 @@ set -euo pipefail
33
44# start Xvnc server
55echo " [INFO] Starting Xvnc server"
6- Xvnc -quiet ${DISPLAY} -SecurityTypes None -geometry ${RESOLUTION} -depth 24 & > /dev/null &
6+ Xvnc -quiet " ${DISPLAY} " -SecurityTypes None -geometry " ${RESOLUTION} " -depth 24 & > /dev/null &
77PID_XVNC=$!
88
99# wait for Xvnc to start
1010sleep 3
1111
1212# start openbox
1313echo " [INFO] Starting Openbox"
14- DISPLAY=${DISPLAY} openbox-session &
14+ DISPLAY=" ${DISPLAY} " openbox-session &
1515PID_OPENBOX=$!
1616
1717# launch Chrome in a respawn loop
1818while true ; do
1919 echo " [INFO] Launching Chrome"
20- DISPLAY=${DISPLAY} google-chrome \
20+ DISPLAY=" ${DISPLAY} " google-chrome \
2121 --disable-gpu \
2222 --disable-software-rasterizer \
2323 --disable-dev-shm-usage \
Original file line number Diff line number Diff line change @@ -3,21 +3,21 @@ set -euo pipefail
33
44# start Xvnc server
55echo " [INFO] Starting Xvnc server"
6- Xvnc -quiet ${DISPLAY} -SecurityTypes None -geometry ${RESOLUTION} -depth 24 & > /dev/null &
6+ Xvnc -quiet " ${DISPLAY} " -SecurityTypes None -geometry " ${RESOLUTION} " -depth 24 & > /dev/null &
77PID_XVNC=$!
88
99# wait for Xvnc to start
1010sleep 3
1111
1212# start openbox
1313echo " [INFO] Starting Openbox"
14- DISPLAY=${DISPLAY} openbox-session &
14+ DISPLAY=" ${DISPLAY} " openbox-session &
1515PID_OPENBOX=$!
1616
1717# launch Firefox in a respawn loop
1818while true ; do
1919 echo " [INFO] Launching Firefox"
20- DISPLAY=${DISPLAY} firefox \
20+ DISPLAY=" ${DISPLAY} " firefox \
2121 --width=1920 \
2222 --height=1080 \
2323 & > /dev/null
You can’t perform that action at this time.
0 commit comments