Spaces:
Paused
Paused
Create start.sh
Browse files123456789101112#!/bin/bash
# 1. Clean up old VNC locks (prevents boot loops on restart)rm -rf /tmp/.X11-unix /tmp/.X1-lock
# 2. Start the VNC server# :1 is the display, -localhost no allows external web accessvncserver :1 -geometry 1280x720 -depth 24 -localhost no
# 3. Start Websockify to bridge VNC to the web port# This maps the VNC port (5901) to the HF port (7860)websockify --web /usr/share/novnc 7860 localhost:5901start.shAdded+12