Log into Ubuntu from my Mac over VNC

Solution 1:

you need to use port after your ip address eg 192.168.2.5:5900 also some clients require two colens after the ip then it'll be something like 192.168.2.5::5900

Solution 2:

Step 1. On your mac, first create an SSH tunnel to the Ubuntu machine: ssh -L 5900:127.0.0.1:5900 -N -f -l <your-linux-user-name> <linux-ip> Here is an example: ssh -L 5900:127.0.0.1:5900 -N -f -l inder 192.168.50.73

Step 2. On your mac, connect to linux using Screen Sharing using VNC Press Command-Space, type "Screen Sharing". Start Screen Sharing app. type: vnc://127.0.0.1:5900

You are in the VNC session.

Solution 3:

It's probably a port mismatch. From http://www.debianadmin.com/remote-desktop-sharing-in-ubuntu.html I see it's using port 0, while standard vnc port is 5900 (and 5901 5902 etc). Try to add :0 or :1 after the requested IP in your vnc client.