Explorar el Código

noVNC Interface Hotfix

Seungmin Kim hace 3 años
padre
commit
3e0f76f5ba
Se han modificado 1 ficheros con 2 adiciones y 2 borrados
  1. 2 2
      entrypoint.sh

+ 2 - 2
entrypoint.sh

@@ -76,8 +76,8 @@ until [ -S "/tmp/.X11-unix/X${DISPLAY/:/}" ]; do sleep 1; done
 echo "X socket is ready"
 
 if [ "$NOVNC_ENABLE" = "true" ]; then
-  if [ -n "$NOVNC_VIEWPASS" ]; then export NOVNC_VIEWONLY="-viewpasswd ${NOVNC_VIEWPASS}"; fi
-  sudo x11vnc -display "${DISPLAY}" -passwd "${BASIC_AUTH_PASSWORD:-$PASSWD}" "${NOVNC_VIEWONLY}" -shared -forever -repeat -xkb -xrandr "resize" -rfbport 5900 &
+  if [ -n "$NOVNC_VIEWPASS" ]; then export NOVNC_VIEWONLY="-viewpasswd"; fi
+  sudo x11vnc -display "${DISPLAY}" -passwd "${BASIC_AUTH_PASSWORD:-$PASSWD}" "${NOVNC_VIEWONLY}" "${NOVNC_VIEWPASS}" -shared -forever -repeat -xkb -xrandr "resize" -rfbport 5900 &
   /opt/noVNC/utils/novnc_proxy --vnc localhost:5900 --listen 8080 --heartbeat 10 &
 fi