testtttt / start-vnc.sh
JSun22's picture
Create start-vnc.sh
02e4713
raw
history blame
195 Bytes
#!/bin/bash
# Start Xvfb
Xvfb :0 -screen 0 1024x768x24 &
export DISPLAY=:0
# Start XFCE4
startxfce4 &
xfce4-terminal &
# Start x11vnc
x11vnc -display :0 -passwdfile $HOME/.vnc/passwd -forever