Corne,

I'm afraid that you are mistaken.

Although the X11 specification allows for ports in the range 6000-6063, in
practice the limit will normally be when X servers start to "collide" with
other ports active on the system.

Ports 10 and 11 are not "used by the X11 tunnel in SSH".  X11 tunnelling
support in SSH conventionally allocates ports starting at 10 and works its
way up, one for each tunnelled X11 connection, so there could potentially be
hundreds of SSH-forwarded X11 ports.  These ports numbers are not reserved
for use by SSH, which should cope with other processes allocating numbers
from amongst them.

In Gurjit's case, the VNC & X11 ports may clash, because he is launching
Xvnc via xinetd in "wait" mode, so that Xvnc is started when a connection is
first received on the specified port, and then stays active, using that port
to accept new connections.

Regards,

Wez @ RealVNC Ltd.


> -----Original Message-----
> From: Corne Beerse [mailto:[EMAIL PROTECTED] 
> Sent: 21 February 2007 10:22
> To: James Weatherall
> Cc: 'Dhillon, Gurjit'; 'Peter Rosin'; 'Wesley Hart'; 
> [email protected]
> Subject: Re: How to restore the session if vnc server is 
> configure as daemon mode xinetd
> 
> James Weatherall wrote:
> 
> >Hi Gurjit,
> >
> >You should find that you can start 99 desktops that way, 
> provided that
> >xinetd will support that many configured services.  Beyond 
> 99 desktops, the
> >X11 and RFB port numbers will start to clash.
> >
> >  
> >
> 
> Before that, X11 runs out of ports, its design says only 64 displays 
> (which migh be restricted to even less) and hence ports 6000 
> - 6063. Be 
> it that this does not need to be hard-coded. Within the X11 
> range, there 
> is number 0, which most times is used by the console. Then 
> there are 10 
> and 11, (ports 6010 and 6011) used by the X11 tunnel in SSH.
> 
> On the other hand, using xinetd, the vnc ports donnot collide 
> since the 
> 5900 range portnumbers are not used, it is inetd that assigns the 
> portnumber from its free range. Check your xinetd 
> configuration on the 
> size of that range.
> 
> CBee
_______________________________________________
VNC-List mailing list
[email protected]
To remove yourself from the list visit:
http://www.realvnc.com/mailman/listinfo/vnc-list

Reply via email to