According to the Chicken of the VNC documentation, it automatically adds 5900 to the indicated display number to calculate the port number to connect to. (So I've been able to connect to port 5999 of a host by entering 99 as the display number.) But I need to connect to a port less than 5900 at a particular host. How do I do this?
Asked
Active
Viewed 4,448 times
3
-
I scoured for the preferences file for this application but cannot find it. This may be hard-coded. Look for another VNC viewer perhaps? – SpacemanSpiff Feb 14 '11 at 21:14
-
Not hard-coded, just (AFAIK) undocumented :-) – voretaq7 Feb 14 '11 at 21:44
1 Answers
7
Add :port
to the hostname (you'll notice the Display
option box greys out when you do this), and Chicken of the VNC will use your specified port number rather than attempting to determine one based on the Display number.

voretaq7
- 79,879
- 17
- 130
- 214
-
1I took a [look at the source code for the upcoming 2.0 release](http://sourceforge.net/projects/cotvnc/files/cotvnc/) and it is not possible to go below port 5900 if you use the dialog box for the display number. It is hard coded to add 5900 to any value you supply there. – Ian C. Feb 14 '11 at 21:51
-
Even if you use the colon Ian? Or does the colon trick not work with 2.0? – Daryl Spitzer Feb 14 '11 at 22:52
-
Use a `:port` when entering a hostname and leave the display number blank. – Ian C. Feb 14 '11 at 23:52