Take the 2-minute tour ×
Server Fault is a question and answer site for professional system and network administrators. It's 100% free, no registration required.

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?

share|improve this question
    
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 Answer 1

up vote 5 down vote accepted

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.

share|improve this answer
1  
I took a look at the source code for the upcoming 2.0 release 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

Your Answer

 
discard

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.