Last active
June 15, 2024 11:03
-
-
Save steamboatid/828f3da734fdbebcb900bce3761233bd to your computer and use it in GitHub Desktop.
vnc current session, x0vncserver, tigervnc
This file contains 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
#-- 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