Win XP SP2 Firewall Instructions - clarification, please

Corné Beerse cbeerse "at" lycos.nl
Mon Nov 1 09:17:15 2004


BPS wrote:

> Hi!
> 
> The instructions for disabling the Win XP SP2 firewall
> instructions say:
> 
> "4. Enter port number "5900" or whatever port you've
> got VNC on that PC to listen on (port number = 5900 +
> "VNC Display Number")."
> 
> Am I supposed to put something after "5900"?  I don't
> understand what "VNC Display Number" means.  

If you don't know anything about a display-number, you are most likely on a 
M$Window system at both ends and use the defaults: your display number is 0 
(zero). Hence you can skip it.

If you see the server-side propperties, you can change the display number. 
Basiccaly this changes the used port-number: the display-number is added to 5900 
  to get the used port number. For the java-web-viewer it is the same: add the 
display number to 5800 to get the used port. View the html-source of that page 
in your browser and see it uses port 5900+display for its communication.

For unix-based vnc-servers (including linux! and apple OS-X?) display number 0 
is reserved for the console, just as with X11 (like XFree): that uses port 6000 
+ display-number for its communication (from application to display). Hence Xvnc 
uses 6000+display, 5900+display and optionally 5800+display.

At the viewer side, you select your remote machine with "<machine>:<display>" If 
you only use "<machine>" it defaults to "<machine>:0".



CBee