Last active
September 25, 2021 16:45
-
-
Save radavis/6e1a69f57cd23efc1e29ffcaacf2a188 to your computer and use it in GitHub Desktop.
x11vnc/tigervnc helper scripts
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
#! /usr/bin/env bash | |
# apt install tigervnc-common tigervnc-scraping-server tigervnc-standalone-server tigervnc-xorg-extension | |
x0vncserver \ | |
-display :0 \ | |
-geometry 1024x768+1920+0 \ | |
-passwordfile $HOME/.vnc/passwd | |
# stop | |
# kill -9 $(pidof x0vncserver) |
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
#! /usr/bin/env bash | |
x11vnc \ | |
-usepw \ | |
-multiptr \ | |
-safer \ | |
-forever \ | |
-clip xinerama1 \ | |
-bg \ | |
-ncache 10 \ | |
-noxwarppointer \ | |
-o $HOME/x11vnc.log |
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
#! /usr/bin/env bash | |
kill -9 $(pidof x11vnc) |
Sign up for free
to join this conversation on GitHub.
Already have an account?
Sign in to comment
I use these scripts to kick off a vnc server, which I then connect to via a tablet to achieve more screen real estate.