wine-application-runner / supervisord.conf
diamond-in's picture
Create supervisord.conf
e420c96 verified
raw
history blame contribute delete
727 Bytes
[supervisord]
nodaemon=true
user=root
# 1. Start the Virtual Screen (Xvfb)
[program:xvfb]
command=/usr/bin/Xvfb :0 -screen 0 1024x768x24
autorestart=true
priority=100
# 2. Start the Window Manager (Fluxbox)
[program:fluxbox]
command=/usr/bin/fluxbox
environment=DISPLAY=":0"
autorestart=true
priority=200
# 3. Start the VNC Server (Connects to Xvfb)
[program:x11vnc]
command=/usr/bin/x11vnc -display :0 -forever -shared -rfbport 5900 -nopw
autorestart=true
priority=300
# 4. Start the Web Viewer (NoVNC) - This is what you see in the browser
# We bind it to port 7860 so Hugging Face shows it natively
[program:novnc]
command=/usr/share/novnc/utils/launch.sh --vnc localhost:5900 --listen 7860
autorestart=true
priority=400