Ask Ubuntu is a question and answer site for Ubuntu users and developers. Join them; it only takes a minute:

Sign up
Here's how it works:
  1. Anybody can ask a question
  2. Anybody can answer
  3. The best answers are voted up and rise to the top

I installed ubuntu desktop 12.04 on my server, but I want to be able to connect using vnc from my mac.

I cannot login to the desktop as its at a different physical location, I only have ssh at my do I setup my remote ubuntu install to allow remote desktop connections so I can use the desktop environment remotely?

share|improve this question

Assuming you know your own external ip address, I can offer this quick solution:

You want to install openssh-server on your server like so:

sudo apt-get install openssh-server

Then, you need to forward port 22 in your router to your server, in order to access your it from the outside.

share|improve this answer
I'm asking about how to do a remote desktop connetion, not ssh. I can already do ssh. – chovy Feb 21 '13 at 20:34

Your Answer


By posting your answer, you agree to the privacy policy and terms of service.

Not the answer you're looking for? Browse other questions tagged or ask your own question.