Celeb Glow
updates | March 22, 2026

Change the VNC Server Port on Ubuntu

Currently VNC Server is running on port 5901.

I want to change the port to be around 10000-10100 (in this range).

How can I do that?


I have already tried the suggestions from How can I change the default port of Remote Desktop (VNC)?:

gconftool-2 --set --type=bool /desktop/gnome/remote_access/use_alternative_port true
gconftool-2 --set --type=int /desktop/gnome/remote_access/alternative_port 10050

since I want VNCServer to listen on port 10050 — but that doesn't make any change in the functionality.

9 Reset to default

Know someone who can answer? Share a link to this question via email, Twitter, or Facebook.

Your Answer

Sign up or log in

Sign up using Google Sign up using Facebook Sign up using Email and Password

Post as a guest

By clicking “Post Your Answer”, you agree to our terms of service, privacy policy and cookie policy