jayfield/novnc-baseimage (built by docker-novnc-baseimage) has been retired, so this now builds on the public ich777/novnc-baseimage instead. That image puts Xvnc/websockify on $PATH and noVNC's web client at /usr/share/novnc/ rather than /opt/TurboVNC and /tmp, so server.sh is updated to match. Verified with a full rebuild and container start: Xvnc, fluxbox, and websockify all come up and the noVNC web UI responds. Co-Authored-By: Claude Sonnet 5 <noreply@anthropic.com> Claude-Session: https://claude.ai/code/session_018QuKZRefXR3hVaUiXgeu6i
11 lines
380 B
Bash
Executable File
11 lines
380 B
Bash
Executable File
#!/usr/bin/env bash
|
|
set -x
|
|
|
|
RFB_PORT=59${DISPLAY_NUM}
|
|
NOVNC_PORT=80${DISPLAY_NUM}
|
|
|
|
echo Display at ${DISPLAY} with ${SCREEN_W}x${SCREEN_H}x24
|
|
Xvnc ${DISPLAY} -geometry ${SCREEN_W}x${SCREEN_H} -depth 24 +xinerama -securitytypes none >/var/log/xvfb.log &
|
|
fluxbox &
|
|
websockify -D --web=/usr/share/novnc/ --cert=/tmp/novnc.pem --key=/tmp/novnc.key ${NOVNC_PORT} localhost:${RFB_PORT}
|