lljz66 commited on
Commit
82e9471
·
verified ·
1 Parent(s): c088b9b

static: drop start.sh (kept in novnc/)

Browse files
Files changed (1) hide show
  1. start.sh +0 -26
start.sh DELETED
@@ -1,26 +0,0 @@
1
- #!/usr/bin/env bash
2
- set -euo pipefail
3
-
4
- echo "[desigma] virtual display :99 (1600x1000x24)"
5
- Xvfb :99 -screen 0 1600x1000x24 -nolisten tcp -ac &
6
- for _ in $(seq 1 100); do
7
- xdpyinfo -display :99 >/dev/null 2>&1 && break
8
- sleep 0.2
9
- done
10
-
11
- echo "[desigma] window manager"
12
- openbox --sm-disable >/dev/null 2>&1 &
13
-
14
- echo "[desigma] editor"
15
- desigma --fixture showcase 2>&1 | sed -u 's/^/[app] /' &
16
-
17
- echo "[desigma] vnc server"
18
- x11vnc -display :99 -forever -shared -nopw -rfbport 5900 -noxdamage -quiet \
19
- >/tmp/x11vnc.log 2>&1 &
20
-
21
- echo "[desigma] websocket bridge :5901 -> :5900"
22
- websockify --web /usr/share/novnc 5901 127.0.0.1:5900 \
23
- >/tmp/websockify.log 2>&1 &
24
-
25
- echo "[desigma] http on :7860"
26
- exec nginx -g 'daemon off;'