Change Ubuntu VNC Listening Port
- run gconf-editor
- browse to /desktop/gnome/remote_access.
- There are two keys that you need to change.
- use_alternative_port — it needs to be checked.
- alternative_port — change it from 5900 to whatever port you want