Switch to ich777/novnc-baseimage and fix stale X lock on restart

jayfield/novnc-baseimage no longer resolves, so point at the public
ich777/novnc-baseimage instead. That image lays out TurboVNC, websockify,
and noVNC via standard package paths rather than /opt/TurboVNC and
/tmp/websockify /tmp/noVNC, so server.sh is updated to match.

Also remove any stale .X99-lock/.X11-unix socket before starting Xvnc,
since /tmp survives docker stop/start and previously left Xvnc unable to
rebind the display on restart. Signal exit-code math in signals.sh now
uses bash arithmetic instead of bc, which isn't present in the new base
image.

Co-Authored-By: Claude Sonnet 5 <noreply@anthropic.com>
Claude-Session: https://claude.ai/code/session_01RZjg4yXCYacriPz3euenQF
This commit is contained in:
2026-07-27 23:07:00 +02:00
co-authored by Claude Sonnet 5
parent 16b0b1e253
commit 089872fd28
3 changed files with 9 additions and 4 deletions
+1 -1
View File
@@ -1,5 +1,5 @@
# syntax=docker/dockerfile:1
FROM jayfield/novnc-baseimage
FROM ich777/novnc-baseimage
RUN apt-get update && \
apt-get -y install --no-install-recommends net-tools socat && \