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 <[EMAIL PROTECTED]>
To: PARESH MASANI
<[EMAIL PROTECTED]>
Cc: [email protected]
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
[email protected]
To remove yourself from the list visit:
http://www.realvnc.com/mailman/listinfo/vnc-list

Reply via email to