Skip to content

Instantly share code, notes, and snippets.

Show Gist options
  • Save steamboatid/828f3da734fdbebcb900bce3761233bd to your computer and use it in GitHub Desktop.
Save steamboatid/828f3da734fdbebcb900bce3761233bd to your computer and use it in GitHub Desktop.
vnc current session, x0vncserver, tigervnc
#-- original script: https://gilgil.gitlab.io/2020/05/29/1.html
#-------------------------------------------------------------
at server :
# apt install install tigervnc-scraping-server
# mkdir -p ~/.vnc
# vncpasswd
Password:
Verify:
Would you like to enter a view-only password (y/n)? n
# nohup x0vncserver -localhost no \
-passwordfile ~/.vnc/passwd -display :0 >/dev/null 2>&1 &
at client :
# apt install tigervnc-tools xtigervncviewer
# mkdir -p ~/.vnc
# vncpasswd
Password:
Verify:
Would you like to enter a view-only password (y/n)? n
# xtigervncviewer -Maximize 1 -RemoteResize 1 \
-SecurityTypes VncAuth,TLSVnc -passwd ~/.vnc/passwd \
remote_host:0
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment