How to Access X11VNC from a Mac

I have been asked to help install the VNC service on an Ubuntu machine. The installation is straightforward; here is a page detailing how to connect to the VNC service from a Windows PC or another Ubuntu machine. The problem was that my user used a Mac. Here are the instructions that I used to connect to the VNC service from a Mac.

  1. Run Terminal on your Mac.
  2. Type the following command in the Terminal window:
    ssh –L 5900:localhost:5900 [email protected]
  3. Once logged on, type the following command in the Terminal window:
    x11vnc –safer –localhost –nopw –once –display :0
  4. Now run a VNC viewer on your Mac and open a connection to localhost .

Note that there is no built-in VNC viewer on Mac. You can try Chicken of the VNC, which is free.