Last active
January 10, 2018 12:49
-
-
Save abakum/5910e53627f8b16402103452dc655753 to your computer and use it in GitHub Desktop.
x11vnc for debian
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
| #~/.x11vncrc | |
| dontdisconnect | |
| notruecolor | |
| noxfixes | |
| shared | |
| forever | |
| bg | |
| ncache 10 | |
| no6 | |
| noipv6 | |
| usepw | |
| display :0 |
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
| apt update | |
| apt install x11vnc | |
| x11vnc -storepasswd | |
| chmod u+x ~/.local/bin/vncd | |
| chmod u+x ~/.local/bin/vncs | |
| chmod u+x ~/.local/bin/vncc |
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
| #~/.local/bin/vncc | |
| pidof x11vnc || X11VNC_REVERSE_CONNECTION_NO_AUTH=1 x11vnc -once | |
| x11vnc -r connect:`echo $SSH_CLIENT|cut -d " " -f1` |
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
| #~/.local/bin/vncd | |
| pidof x11vnc && (x11vnc -r stop;sleep 1) | |
| X11VNC_REVERSE_CONNECTION_NO_AUTH=1 x11vnc |
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
| #~/.local/bin/vncs | |
| pidof x11vnc && x11vnc -r stop |
Author
Sign up for free
to join this conversation on GitHub.
Already have an account?
Sign in to comment
vncd for run x11vnc as Daemon
vncc for Connect to vncViewer -listen
vncs for Stop x11vnc