Spaces:
Paused
Paused
Create startup.sh
Browse files- startup.sh +7 -0
startup.sh
ADDED
|
@@ -0,0 +1,7 @@
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
| 1 |
+
#!/bin/bash
|
| 2 |
+
export DISPLAY=:1
|
| 3 |
+
Xvfb :1 -screen 0 1600x900x16 &
|
| 4 |
+
sleep 5
|
| 5 |
+
openbox-session&
|
| 6 |
+
x11vnc -display :1 -nopw -listen localhost -xkb -ncache 10 -ncache_cr -forever &
|
| 7 |
+
cd /root/noVNC && ln -s vnc_auto.html index.html && ./utils/launch.sh --vnc localhost:5900
|