Delete entrypoint.shs
Browse files- entrypoint.shs +0 -21
entrypoint.shs
DELETED
|
@@ -1,21 +0,0 @@
|
|
| 1 |
-
#!/bin/bash
|
| 2 |
-
|
| 3 |
-
# 1. Create a fake monitor screen in memory (Resolution: 1280x800)
|
| 4 |
-
Xvfb :1 -screen 0 1280x800x24 &
|
| 5 |
-
export DISPLAY=:1
|
| 6 |
-
|
| 7 |
-
# Wait a brief second for the fake screen to turn on
|
| 8 |
-
sleep 1
|
| 9 |
-
|
| 10 |
-
# 2. Start the Arch Linux XFCE Desktop interface
|
| 11 |
-
startxfce4 &
|
| 12 |
-
|
| 13 |
-
# 3. Share this fake screen over an internal connection
|
| 14 |
-
x11vnc -display :1 -nopw -forever -shared -rfbport 5901 &
|
| 15 |
-
|
| 16 |
-
# Wait another brief second
|
| 17 |
-
sleep 1
|
| 18 |
-
|
| 19 |
-
# 4. Launch noVNC web streaming on port 7860
|
| 20 |
-
# We use autoconnect so the laptop home page opens automatically
|
| 21 |
-
/usr/share/novnc/utils/novnc_proxy --vnc localhost:5901 --listen 7860 --vnc-only
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|