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.
This post may contain affiliated links. When you click on the link and purchase a product, we receive a small commision to keep us running. Thanks.