Some resources for setting up Tiger VNC on Ubuntu.

  1. Install Tiger VNC
    • on Ubuntu Server, simply follow this post
    • on Ubuntu Desktop, after following the post, the graphic card driver may be messed up, and need to be manually recovered. In my case, it seems to be fixed by sudo apt remove xserver-xorg-video-dummy and re-installing the correct graphic card driver.
  2. Port forward to allow VNC connection:

    Since the VNC server only listen to local connection requests (for better security), we need to tunnel the port with SSH before connecting.

    ssh ubuntu -L 5901:

    and keep this connection open.

  3. If you installed RealVNC server on the same machine, you will need to use tigervncpasswd instead of vncpasswd to change the password.