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.
If you’re thinking about purchasing a new GPU, we’d greatly appreciate it if you used our Amazon Associate links. The price you pay will be exactly the same, but Amazon provides us with a small commission for each purchase. It’s a simple way to support our site and helps us keep creating useful content for you. Recommended GPUs: RTX 5090, RTX 5080, and RTX 5070. #ad
- 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.

Leave a Reply