Create start-vnc.sh
Browse files- start-vnc.sh +12 -0
start-vnc.sh
ADDED
@@ -0,0 +1,12 @@
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
1 |
+
#!/bin/bash
|
2 |
+
|
3 |
+
# Start Xvfb
|
4 |
+
Xvfb :0 -screen 0 1024x768x24 &
|
5 |
+
export DISPLAY=:0
|
6 |
+
|
7 |
+
# Start XFCE4
|
8 |
+
startxfce4 &
|
9 |
+
xfce4-terminal &
|
10 |
+
|
11 |
+
# Start x11vnc
|
12 |
+
x11vnc -display :0 -passwdfile $HOME/.vnc/passwd -forever
|