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.
- Run Terminal on your Mac.
- Type the following command in the Terminal window:
ssh –L 5900:localhost:5900 username@ip-address
- Once logged on, type the following command in the Terminal window:
x11vnc –safer –localhost –nopw –once –display :0
- 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.