spacepaste

  1.  
  2. Step 3 — Testing the VNC Desktop
  3. In this step, we'll test the connectivity of your VNC server.
  4. First, we need to create an SSH connection on your local computer that securely forwards to the localhost connection for VNC. You can do this via the terminal on Linux or OS X with following command. Remember to replace user and server_ip_address with the sudo non-root username and IP address of your server.
  5. ssh -L 5901:127.0.0.1:5901 -N -f -l username server_ip_address
  6. If you are using a graphical SSH client, like PuTTY, use server_ip_address as the connection IP, and set localhost:5901 as a new forwarded port in the program's SSH tunnel settings.
  7. Next, you may now use a VNC client to attempt a connection to the VNC server at localhost:5901. You'll be prompted to authenticate. The correct password to use is the one you set in Step 1.
  8. #Do I type the ssh command in putty terminal or where?
  9.