Not able to connect if disaplay number is greater then 99
from vncviewer....
James Weatherall
jnw "at" realvnc.com
Mon Feb 18 11:45:01 2008
Hi Paresh,
Please refer to the VNC Viewer Free Edition documentation
(http://www.realvnc.com/products/free/4.1/winvncviewer.html) for details of
the valid display & port number syntax. The main problem you're hitting is
that VNC display numbers run only from 0-99 & desktops with display numbers
above that must be referred to by VNC port number.
Cheers,
--
Wez @ RealVNC Ltd
> -----Original Message-----
> From: vnc-list-admin "at" realvnc.com
> [mailto:vnc-list-admin "at" realvnc.com] On Behalf Of PARESH MASANI
> Sent: 18 February 2008 10:30
> To: Corne Beerse
> Cc: vnc-list "at" realvnc.com
> Subject: Re: Not able to connect if disaplay number is
> greater then 99 from vncviewer....
>
> Thanks for the reply...
>
> >>In short: display numbers range from 0 to 63..
> I
> think you might have missing here something,because i could
> connect to 1-99 ports in any case successfully. only problems
> with >99. See i could generate session which has disaplay
> number 150 by "vncserver:150" but if i connect it using
> vncviwer from windows side it is throwing the error "unable
> to connect:
> connection
> refused(10061)"
>
>
> >>you might have a vnc server configured to use
> port number 50505. then
> >>you should point your vncviewer to that portnumber,
> not the recalculated
> >>subtract 5900) display number.
> I couldnt get this.
> Could you please more clear.
>
> Thanks,
> Paresh
>
> ----- Original Message ----
> From: Corne Beerse <cbeerse "at" gmail.com>
> To: PARESH MASANI
> <masaniparesh "at" yahoo.co.in>
> Cc: vnc-list "at" realvnc.com
> Sent: Monday, 18 February,
> 2008 3:28:05 PM
> Subject: Re: Not able to connect if disaplay number is
> greater then 99 from vncviewer....
>
> PARESH MASANI wrote:
> > Hi All,
> >
> > I just came
> across the following issue in the Real VNC:
> > I have
> > created a session using
> vncserver:150
> > When i tried to connect this session
> > using vncviwer, its
> giving error saying "unable to connect: connection
> > refused(10061)"
> > Could
> any one please tell me how to solve this?
> >
> > Thanks,
> For X11 (unix/linux)
> based VNC servers, the effective maximum number of
> connections/sessions is limited tot 64, because the X11
> protocol only allows display numbers 0 trough 63. There are
> even reports of less (up to 32).
>
> For VNC in general, it opens
> muliple ports, all with an ofset of 100:
> For display number 0, it uses port
> 5900 for the vnc communication and
> 5800 for the webserver. The X11 based
> servers also open port 6000. For
> other display numbers, it adds the display number to the base
> portnumbers. Hence a vnc-server at display 3 opens port 5903,
> 5803 and 6003. This system is derived from X11, that uses the
> same meganism.
>
> Now you like to use display 150, which should use 6050 for
> vnc, 5950 for http and 6150 for X11.... I hope you can see
> the confilct.
>
> On the
> other hand, some vnc-viewers can be pointed to port numbers
> in stead of display numbers. I expect the distinguish between
> portnumbers and display numbers because the come in a certain
> range: the first port numbers have fixed usage since ages: up
> to 1024 are all pre-defined. So you might have a vnc server
> configured to use port number 50505. then you should point
> your vncviewer to that portnumber, not the recalculated
> (subtract 5900) display number.
>
> In short: display numbers range from 0 to 63.
>
>
> Bring your gang
> together - do your thing. Go to
> http://in.promos.yahoo.com/groups
> _______________________________________________
> VNC-List mailing list
> VNC-List "at" realvnc.com
> To remove yourself from the list visit:
> http://www.realvnc.com/mailman/listinfo/vnc-list
>