Skip to content

Commit

Permalink
Adjusted quotes in startup.sh
Browse files Browse the repository at this point in the history
  • Loading branch information
dmotte committed Feb 5, 2024
1 parent fd39c7d commit 132f7bd
Showing 1 changed file with 8 additions and 8 deletions.
16 changes: 8 additions & 8 deletions build/startup.sh
Original file line number Diff line number Diff line change
Expand Up @@ -31,11 +31,11 @@ if [ -n "$VNC_PASSWORD" ]; then

unset VNC_PASSWORD

VNCPWOPTION="-usepw"
echo "VNC password set"
VNCPWOPTION=-usepw
echo 'VNC password set'
else
VNCPWOPTION="-nopw"
echo "VNC password disabled"
VNCPWOPTION=-nopw
echo 'VNC password disabled'
fi

############################# CLEAR Xvfb LOCK FILE #############################
Expand All @@ -54,20 +54,20 @@ done

trap 'kill $(jobs -p)' EXIT

echo "Starting Xvfb"
echo 'Starting Xvfb'
/usr/bin/Xvfb :0 -screen 0 "${RESOLUTION}x24" -nolisten tcp -nolisten unix &
sleep 2

echo "Starting LXDE"
echo 'Starting LXDE'
DISPLAY=:0 /usr/bin/startlxde &
sleep 2

echo "Starting x11vnc"
echo 'Starting x11vnc'
/usr/bin/x11vnc -display :0 -xkb -forever -shared -repeat -capslock \
-rfbport "$VNC_PORT" "$VNCPWOPTION" &
sleep 2

echo "Starting noVNC"
echo 'Starting noVNC'
/usr/bin/websockify --web=/usr/share/novnc "$NOVNC_PORT" "127.0.0.1:$VNC_PORT" &

wait # until all jobs finish
Expand Down

0 comments on commit 132f7bd

Please sign in to comment.