Skip to content

Instantly share code, notes, and snippets.

@dbudyak
Created November 4, 2013 07:39
Show Gist options
  • Save dbudyak/7299301 to your computer and use it in GitHub Desktop.
Save dbudyak/7299301 to your computer and use it in GitHub Desktop.
Run x11vnc over ssh on remote client and launch x2vnc for emulate virtual desktop over vnc
#!/bin/bash
export DISPLAY=:0
ssh root@gentusic "nohup /usr/bin/startx11vnc.sh > /dev/null 2>&1 &"
nohup x2vnc -south gentusic:0 -passwdfile ~/.vnc/gentusic > /dev/null 2>&1 &
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment