©2018 by Zach Pfeffer

SEARCH THIS SITE

Install and Connect to a VNC Viewer over SSH

March 3, 2018

 

This post shows how to install and setup a VNC connection over an SSH tunnel.

 

1. Log in to the server over SSH. You can set up something like this in .ssh/config:

 

2. Install tightvncserver

 

3. Start the vncserver:

... and set the password

 

4. Note the display:

It may be:

name:1

or 

name:2

etc...

 

5. Set up ssh port forwarding.

If you have a display on name:1 then you'll use 5901, if you have a display on name:2 you'll use port 5902

 

A general note from link:

 

Means "Start an SSH connection to snoopy, and also listen on port x on my machine, and forward any connections there to port y on snoopy."

 

Specifically if you're connecting to a display name:1 on snoopy you'll use:

 

If you're connecting to a name:2 you'll use:

 

6. Install vncviewer on the computer you're connecting to the server

 

7. Now call

And specify

 

References

  • Tightvnc logo is from link.

 

  

 

 

Please reload

Our Recent Posts

Army 20.1 SBIR TABA Funding Clarification: is $5k "On Top" of the $167,500 Available?

February 18, 2020

Contents of DoD SBIR/STTR 20.1 Cost Volume Info Pop-Ups: Fringe Benefits, Fully Loaded Labor Rate, etc. and Labor Categories

February 9, 2020

Finding Resources for Learning about Fringe, Overhead and General Management and Administration (G&A) Cost Allocation for Army SBIR Proposals

February 8, 2020

1/1
Please reload

Tags

Please reload