Advertisement
Not a member of Pastebin yet?
Sign Up,
it unlocks many cool features!
- SERVICE="vnc"
- RESULT=`ps -a | sed -n /${SERVICE}/p`
- if [ "${RESULT:-null}" = null ]; then
- #x11vnc -display :0 -auth .Xauthority &
- x11vnc -forever -display :0 -rfbauth ~/.x11vnc/passwd &
- fi
Advertisement
Add Comment
Please, Sign In to add comment
Advertisement