I want to connect to an Ubuntu machine from MAC far far away! I have the application Remoter that works like a charm for ssh and connecting to other Mac. However I don't know how to connect to an Ubuntu machine.

  • what is "the application Remoter"? – jalanb Mar 25 '15 at 19:10

While the native way has been described correctly in the answer by robmathers above, you could simply install the same version of TeamViewer (currently that means installing version 8) on both Ubuntu and your Mac to get around the hassle of correctly setting up Firewalls, SSH tunnels and the VNC server. TeamViewer is free for private use.


In general terms, you'll need to:

  1. Set up a VNC server on the Ubuntu machine. This is the software that shares the screen.
  2. Set up a means of connecting remotely to the Ubuntu machine. If you can already SSH in, that's the best way, you can forward the VNC port over SSH by running this on your Mac: ssh username@ubuntuhostname -L 5900:localhost:5900, replacing the username and ubuntuhostname as appropriate.
  3. Connect with VNC to the tunnel. You can do this with whatever client you like (including OS X's built in screen sharing), but the important part is that the hostname to connect to is localhost and you use port 5900.

If you need more specific instructions, I suggest you do a search, as most of these topics have been covered in some detail elsewhere. Ask Ubuntu is the best place to go if you need Ubuntu-specific information.

You must log in to answer this question.

Not the answer you're looking for? Browse other questions tagged .