GitHub Action
πŸš€ Auto-deploy from GitHub Actions
15fec87
raw
history blame contribute delete
533 Bytes
#!/bin/bash
# Start VNC server
echo "πŸš€ Starting VNC Server..."
vncserver :1 -geometry $VNC_RESOLUTION -depth 24 -localhost no
# Start noVNC
echo "🌐 Starting noVNC..."
websockify --web=/usr/share/novnc/ $NOVNC_PORT localhost:$((5900 + 1)) &
# Start desktop environment
echo "πŸ–₯️ Starting Xfce Desktop..."
export DISPLAY=:1
xfce4-session &
echo "βœ… GUI Environment Ready!"
echo "πŸ”— noVNC: http://localhost:6080"
echo "πŸ”— VNC: localhost:5901"
echo "πŸ”‘ Password: $VNC_PW"
# Keep container running
tail -f /dev/null