From 5eeff0b500d97a27938d0280e5225a94d3e719b7 Mon Sep 17 00:00:00 2001 From: Matt Marangoni Date: Mon, 25 Aug 2025 11:13:32 -0400 Subject: [PATCH] upd(novnc): remove old references --- .../image-chromium/entrypoint.sh | 1 - .../image-chromium/novnc_startup.sh | 21 ------------------- images/chromium-headful/run-docker.sh | 5 +---- 3 files changed, 1 insertion(+), 26 deletions(-) delete mode 100755 images/chromium-headful/image-chromium/novnc_startup.sh diff --git a/images/chromium-headful/image-chromium/entrypoint.sh b/images/chromium-headful/image-chromium/entrypoint.sh index c0a5e677..f6e53e36 100755 --- a/images/chromium-headful/image-chromium/entrypoint.sh +++ b/images/chromium-headful/image-chromium/entrypoint.sh @@ -2,7 +2,6 @@ set -e ./start_all.sh -./novnc_startup.sh python http_server.py > /tmp/server_logs.txt 2>&1 & diff --git a/images/chromium-headful/image-chromium/novnc_startup.sh b/images/chromium-headful/image-chromium/novnc_startup.sh deleted file mode 100755 index 053e5593..00000000 --- a/images/chromium-headful/image-chromium/novnc_startup.sh +++ /dev/null @@ -1,21 +0,0 @@ -#!/bin/bash -echo "starting noVNC" - -# Start noVNC with explicit websocket settings -/opt/noVNC/utils/novnc_proxy \ - --vnc 0.0.0.0:5900 \ - --listen 6080 \ - --web /opt/noVNC \ - > /tmp/novnc.log 2>&1 & - -# Wait for noVNC to start -timeout=10 -while [ $timeout -gt 0 ]; do - if netstat -tuln | grep -q ":6080 "; then - break - fi - sleep 1 - ((timeout--)) -done - -echo "noVNC started successfully" diff --git a/images/chromium-headful/run-docker.sh b/images/chromium-headful/run-docker.sh index 2a9f4409..62361096 100755 --- a/images/chromium-headful/run-docker.sh +++ b/images/chromium-headful/run-docker.sh @@ -43,7 +43,7 @@ RUN_ARGS=( --mount type=bind,src="$FLAGS_FILE",dst=/chromium/flags,ro ) -# noVNC vs WebRTC port mapping +# WebRTC port mapping if [[ "${ENABLE_WEBRTC:-}" == "true" ]]; then echo "Running container with WebRTC" RUN_ARGS+=( -p 8080:8080 ) @@ -55,9 +55,6 @@ if [[ "${ENABLE_WEBRTC:-}" == "true" ]]; then RUN_ARGS+=( -e NEKO_WEBRTC_NAT1TO1=127.0.0.1 ) RUN_ARGS+=( -p 56000-56100:56000-56100/udp ) fi -else - echo "Running container with noVNC" - RUN_ARGS+=( -p 8080:6080 ) fi docker rm -f "$NAME" 2>/dev/null || true