Skip to content

Instantly share code, notes, and snippets.

View dbudyak's full-sized avatar
🎯
Focusing

Dima dbudyak

🎯
Focusing
View GitHub Profile
@dbudyak
dbudyak / gist:7299301
Created November 4, 2013 07:39
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 &