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 was looking to change the port in Ubuntu 12.10 for Desktop sharing. I,ve done it before but have since clean installed and can't remember where to change it. It was an interface similar to gconf-editor.



share|improve this question
up vote 1 down vote accepted

The tool is dconf-editor. Install it by installing the dconf-tools package from the repositories. Open it, and navigate to desktop.gnome.remote-access.

vino port

share|improve this answer
Champion thanks mike – Dutchy Feb 21 '13 at 11:15

I was able to do this ok, but I changed my port from 5900 to 5901, then made sure that my router forwarded that port to my local ip address, but when I try to connect remotely (using the public ip and port 5901), I still get error saying connection rejected.

I noticed that if I ran the following command:

netstat -an | grep "LISTEN "

It shows that 5900 is listening but not 5901. Am I missing something? Do I need to do something so that 5901 (or whatever port # I choose for that matter) is listening for remote connections?

share|improve this answer

Also you need to check the "use-alternative-port" checkbox.

share|improve this answer

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.