Spaces:
Paused
Paused
Download start.sh from SalHargis/Interactive-JSAT: direct link, hf CLI and curl.
- Browser
- Download file 391 Bytes
-
https://huggingface.co/spaces/SalHargis/Interactive-JSAT/resolve/main/start.sh
- Command line
-
hf download hf://spaces/SalHargis/Interactive-JSAT/start.sh
-
curl -L -o start.sh https://huggingface.co/spaces/SalHargis/Interactive-JSAT/resolve/main/start.sh
391 Bytes
| # 1. Start Virtual Monitor | |
| Xvfb :1 -screen 0 1440x960x24 & | |
| export DISPLAY=:1 | |
| # 2. Wait 1 second for the monitor to wake up (Prevents crashing) | |
| sleep 1 | |
| # 3. Start Window Manager | |
| fluxbox & | |
| # 4. Start your App | |
| python main.py & | |
| # 5. Start VNC Server | |
| x11vnc -display :1 -nopw -forever -quiet & | |
| # 6. Start NoVNC | |
| /usr/share/novnc/utils/launch.sh --vnc localhost:5900 --listen 7860 |