Skip to content

Instantly share code, notes, and snippets.

@sbuvaneshkumar
Created August 22, 2018 09:26
Show Gist options
  • Save sbuvaneshkumar/0fc76b6d6e1b025dacaada5676033351 to your computer and use it in GitHub Desktop.
Save sbuvaneshkumar/0fc76b6d6e1b025dacaada5676033351 to your computer and use it in GitHub Desktop.
$ vncpasswd
# Verify
$ vncviewer hostname:2 -passwd ~/.vnc/passwd
# Launcher
$ vim ~/.local/share/applications/vnc.desktop
[Desktop Entry]
Type=Application
Encoding=UTF-8
Name=learner
Comment=shortcut for learner machine VNC console
Exec=vncviewer hostname:2 -passwd /home/bsivasub/.vnc/passwd
Icon=tigervnc
Terminal=false
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment