firefox-browser / start.sh
triflix's picture
Create start.sh
a23051e verified
raw
history blame contribute delete
320 Bytes
#!/usr/bin/env bash
# Start virtual X server
Xvfb :0 -screen 0 1024x768x16 &
export DISPLAY=:0
# Start XFCE session
startxfce4 &
# Start VNC server (password = 1234)
x11vnc -display :0 -rfbauth /root/.vnc/passwd -forever -shared -nopw &
# Run noVNC on port 8080
websockify --web=/usr/share/novnc/ 8080 localhost:5900