Created
November 4, 2013 07:39
-
-
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
This file contains hidden or bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
#!/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