RE: setting server rfb port to non-default - on the vncviewer

2006-10-23 Thread John Lumby

Siva.Kumar wrote


I think the ':19' after the port is immaterial.


Robin Hill wrote


The X server you specify here is used purely to figure out which port to
connect to - it's not used in any other way by the client.


James Weatherall wrote

I'm afraid that you are mistaken.  In the example you give, either

ipaddr::4918

Or

ipaddr:4918

Are valid, and will work.


I finally get it.   Yes (red face) you are all correct. I had somehow 
become convinced that the viewer needed to know the display number (for 
reasons other than to derive the ffb port). Yes,

vncviewer ...ipaddr::4918
does indeed work

Thanks for straightening me out.

John

_
Experience Live Search from your PC or mobile device today. 
http://www.live.com/?mkt=en-ca

___
VNC-List mailing list
VNC-List@realvnc.com
To remove yourself from the list visit:
http://www.realvnc.com/mailman/listinfo/vnc-list


RE: setting server rfb port to non-default - on the vncviewer

2006-10-20 Thread Kumar, Siva
John,

 vncviewer -geometry 1440x1062 -passwd z ipaddr::4918:19
/dev/null  and that worked.

I think the ':19' after the port is immaterial. Try connecting to
ipaddr::4918:abcd or even ipaddr::4918abcd; it works. It makes
sense because you cannot have more than 1 display listening on a single
port (the second Xvnc will complain that it cannot bind to the given
port) unless using inetd.

-siva.

-Original Message-
From: [EMAIL PROTECTED] [mailto:[EMAIL PROTECTED] On
Behalf Of John Lumby
Sent: Friday, October 20, 2006 4:33 PM
To: [EMAIL PROTECTED]; vnc-list@realvnc.com
Subject: RE: setting server rfb port to non-default - on the vncviewer

James Weatherall wrote

John,

No, you don't - the syntax you are specifying to your VNC Viewer
(host::port:display) is not valid.  The two valid syntaxes are:

Host:port_or_display  (display if 0-99, port otherwise) and
Host::port(always port)

i.e. you specify *either* a VNC display number *or* a TCP port number.

VNC display numbers 0-99 are just a short-hand for TCP port numbers 
5900 to 5999.

I hate to argue with someone who has a realvnc email but my recent
experience is in direct contracdiction of what you have written:

1).I started my vncserver with options
   vncserver :19 -geometry 1440x1062 -name x -rfbport 4918
(I can explain why but not relevant)

Here is the Xvnc process:
Xvnc :19 -desktop xx ... -geometry 1440x1062 ... -rfbwait 12
-rfbauth  -rfbport 5919 -fp ...  -rfbport 4918
NB the two -rfbport options.  - the first (I assume) always
specified, 
and the second from my vncserver option. And to show which one took 
precedence:
     here is netstat output to show which port it actually is
listening
on:

netstat -an | egrep -e 4918|5919
tcp4   0  0  *.4918 *.*
LISTEN
tcp4   0  0  ipaddr.4918   other_ipaddr.34849   
ESTABLISHED


2)and now here is the command I used on my workstation to connect :
vncviewer -geometry 1440x1062 -passwd z ipaddr::4918:19 /dev/null
 and that worked.

Does that convince you?   If not - try it!

John

_
Experience Live Search from your PC or mobile device today. 
http://www.live.com/?mkt=en-ca
___
VNC-List mailing list
VNC-List@realvnc.com
To remove yourself from the list visit:
http://www.realvnc.com/mailman/listinfo/vnc-list


Confidentiality Notice
This e-mail (including any attachments) is intended only for the recipients 
named above. It may contain confidential or privileged information and should 
not be read, copied or otherwise used by any other person. If you are not a 
named recipient, please notify the sender of that fact and delete the e-mail 
from your system.
___
VNC-List mailing list
VNC-List@realvnc.com
To remove yourself from the list visit:
http://www.realvnc.com/mailman/listinfo/vnc-list


Re: setting server rfb port to non-default - on the vncviewer

2006-10-20 Thread Robin Hill
On Fri Oct 20, 2006 at 04:32:37PM -0400, John Lumby wrote:

 James Weatherall wrote

 John,
 
 No, you don't - the syntax you are specifying to your VNC Viewer
 (host::port:display) is not valid.  The two valid syntaxes are:
 
 Host:port_or_display  (display if 0-99, port otherwise)
 and
 Host::port(always port)
 
 i.e. you specify *either* a VNC display number *or* a TCP port number.
VNC
 display numbers 0-99 are just a short-hand for TCP port numbers 5900 to
 5999.

 I hate to argue with someone who has a realvnc email but my recent
 experience is in direct contracdiction of what you have written:

 1).I started my vncserver with options
   vncserver :19 -geometry 1440x1062 -name x -rfbport 4918
(I can explain why but not relevant)

The :19 there is telling it to start X server 19 which, by default, would
start on port 5919 (hence you get that option in the Xvnc process).
This is then overridden by the -rfbport option in your command line,
hence the server listens on port 4918.

 2)and now here is the command I used on my workstation to connect :
 vncviewer -geometry 1440x1062 -passwd z ipaddr::4918:19 /dev/null 
 and that worked.

 Does that convince you?   If not - try it!

The X server you specify here is used purely to figure out which port to
connect to - it's not used in any other way by the client.  If you
explicitly specify the port then it doesn't need that.  Have you tried
starting the viewer with just:
  vncviewer -geometry 1440x1062 -passwd z ipaddr::4918

Anything beyond the port number is (presumably) ignored by the vncviewer
application (whether that's by design or purely coincidental I don't
know).

Cheers,
Robin
--
 ___
( ' } |   Robin Hill[EMAIL PROTECTED] |
   / / )  | Little Jim says |
  // !!   |  He fallen in de water !! |

[demime 1.01d removed an attachment of type application/pgp-signature]
___
VNC-List mailing list
VNC-List@realvnc.com
To remove yourself from the list visit:
http://www.realvnc.com/mailman/listinfo/vnc-list


RE: setting server rfb port to non-default - on the vncviewer

2006-10-20 Thread James Weatherall
John,

I'm afraid that you are mistaken.  In the example you give, either

ipaddr::4918

Or

ipaddr:4918

Are valid, and will work.

ipaddr::4918:19 is not a valid server specification but happens to work
because of the way VNC Viewer interprets the port/display number
specification.

Cheers,

Wez @ RealVNC Ltd.


 -Original Message-
 From: John Lumby [mailto:[EMAIL PROTECTED] 
 Sent: 20 October 2006 21:33
 To: [EMAIL PROTECTED]; vnc-list@realvnc.com
 Subject: RE: setting server rfb port to non-default - on the vncviewer
 
 James Weatherall wrote
 
 John,
 
 No, you don't - the syntax you are specifying to your VNC Viewer
 (host::port:display) is not valid.  The two valid syntaxes are:
 
 Host:port_or_display  (display if 0-99, port otherwise)
 and
 Host::port(always port)
 
 i.e. you specify *either* a VNC display number *or* a TCP 
 port number.  VNC
 display numbers 0-99 are just a short-hand for TCP port 
 numbers 5900 to
 5999.
 
 I hate to argue with someone who has a realvnc email but my recent 
 experience is in direct contracdiction of what you have written:
 
 1).I started my vncserver with options
vncserver :19 -geometry 1440x1062 -name x -rfbport 4918
 (I can explain why but not relevant)
 
 Here is the Xvnc process:
 Xvnc :19 -desktop xx ... -geometry 1440x1062 ... -rfbwait 12 
 -rfbauth  -rfbport 5919 -fp ...  -rfbport 4918
 NB the two -rfbport options.  - the first (I assume) 
 always specified, 
 and the second from my vncserver option. And to show 
 which one took 
 precedence:
  here is netstat output to show which port it 
 actually is listening 
 on:
 
 netstat -an | egrep -e 4918|5919
 tcp4   0  0  *.4918 *.*   
  LISTEN
 tcp4   0  0  ipaddr.4918   other_ipaddr.34849   
 ESTABLISHED
 
 
 2)and now here is the command I used on my workstation to 
 connect :
 vncviewer -geometry 1440x1062 -passwd z ipaddr::4918:19 
 /dev/null 
 and that worked.
 
 Does that convince you?   If not - try it!
 
 John
 
 _
 Experience Live Search from your PC or mobile device today. 
 http://www.live.com/?mkt=en-ca
___
VNC-List mailing list
VNC-List@realvnc.com
To remove yourself from the list visit:
http://www.realvnc.com/mailman/listinfo/vnc-list


Re: setting server rfb port to non-default - on the vncviewer

2006-10-17 Thread John Lumby

William Hooper wrote :


John Lumby wrote:
 If the VNC server is using a non-standard port number to accept
 connections then this is specified by adding two colons to the server's
 address or name, followed by the port number


 Yes! thank-you.  I did not see that documented but now I do.   
Thanks

  for pointing that out.Oh well. And for anyone who tries this, since
 the documentation does not state the order of the subfields when you 
need

 to specify all three subfields - server-IP-address , server-port ,
 server-display-number I discovered by trial and error that it is the 
above

 order, with the three (in total) colons like so :
 server-IP-address::server-port:server-display-number

You don't need all three.  You need either port or display number:

server::5905 or server:5


Well - in my case I actually DO need all three. I had to start my 
vncserver with an explicitly overridden value for its rfb port (using the 
-rfbport option).  So the rfb port is not 5900+display number. That's 
why I needed to set a similar explicit value on the viewer.


John
___
VNC-List mailing list
VNC-List@realvnc.com
To remove yourself from the list visit:
http://www.realvnc.com/mailman/listinfo/vnc-list


RE: setting server rfb port to non-default - on the vncviewer

2006-10-17 Thread James Weatherall
John,

No, you don't - the syntax you are specifying to your VNC Viewer
(host::port:display) is not valid.  The two valid syntaxes are:

Host:port_or_display  (display if 0-99, port otherwise)
and
Host::port(always port)

i.e. you specify *either* a VNC display number *or* a TCP port number.  VNC
display numbers 0-99 are just a short-hand for TCP port numbers 5900 to
5999.

Cheers,

Wez @ RealVNC Ltd.


 -Original Message-
 From: [EMAIL PROTECTED] 
 [mailto:[EMAIL PROTECTED] On Behalf Of John Lumby
 Sent: 17 October 2006 15:23
 To: vnc-list@realvnc.com
 Subject: Re: setting server rfb port to non-default - on the vncviewer
 
 William Hooper wrote :
 
 John Lumby wrote:
   If the VNC server is using a non-standard port number to accept
   connections then this is specified by adding two colons 
 to the server's
   address or name, followed by the port number
  
  
   Yes! thank-you.  I did not see that documented but 
 now I do.   
 Thanks
for pointing that out.Oh well. And for anyone who 
 tries this, since
   the documentation does not state the order of the 
 subfields when you 
 need
   to specify all three subfields - server-IP-address , server-port ,
   server-display-number I discovered by trial and error 
 that it is the 
 above
   order, with the three (in total) colons like so :
   server-IP-address::server-port:server-display-number
 
 You don't need all three.  You need either port or display number:
 
 server::5905 or server:5
 
 Well - in my case I actually DO need all three. I had to start my 
 vncserver with an explicitly overridden value for its rfb 
 port (using the 
 -rfbport option).  So the rfb port is not 5900+display 
 number. That's 
 why I needed to set a similar explicit value on the viewer.
 
 John
 ___
 VNC-List mailing list
 VNC-List@realvnc.com
 To remove yourself from the list visit:
 http://www.realvnc.com/mailman/listinfo/vnc-list
___
VNC-List mailing list
VNC-List@realvnc.com
To remove yourself from the list visit:
http://www.realvnc.com/mailman/listinfo/vnc-list


Re: setting server rfb port to non-default - on the vncviewer

2006-10-15 Thread William Hooper
John Lumby wrote:
 If the VNC server is using a non-standard port number to accept
 connections then this is specified by adding two colons to the server's
 address or name, followed by the port number


 Yes! thank-you.  I did not see that documented but now I do.   Thanks
  for pointing that out.Oh well. And for anyone who tries this, since
 the documentation does not state the order of the subfields when you need
 to specify all three subfields - server-IP-address , server-port ,
 server-display-number I discovered by trial and error that it is the above
 order, with the three (in total) colons like so :
 server-IP-address::server-port:server-display-number

You don't need all three.  You need either port or display number:

server::5905 or server:5

-- 
William Hooper
___
VNC-List mailing list
VNC-List@realvnc.com
To remove yourself from the list visit:
http://www.realvnc.com/mailman/listinfo/vnc-list


Re: setting server rfb port to non-default - on the vncviewer

2006-10-14 Thread John Lumby

William Hooper wrote


John Lumby wrote:
  ... but no comparable option on the vncviewer,  ...

Would this be for the case of:

-listen [port]
Causes vncviewer to listen on the given port (default 5500) for
reverse connections from a VNC server.


No


Or would this be for the case of:

If the VNC server is using a non-standard port number to accept
connections then this is specified by adding two colons to the server's
address or name, followed by the port number



Yes! thank-you.  I did not see that documented but now I do.   Thanks 
for pointing that out.Oh well.
And for anyone who tries this, since the documentation does not state the 
order of the subfields when you need to specify all three subfields -

server-IP-address , server-port , server-display-number
I discovered by trial and error that it is the above order, with the three 
(in total) colons like so :

server-IP-address::server-port:server-display-number

John
___
VNC-List mailing list
VNC-List@realvnc.com
To remove yourself from the list visit:
http://www.realvnc.com/mailman/listinfo/vnc-list


Re: setting server rfb port to non-default - on the vncviewer

2006-10-10 Thread William Hooper
John Lumby wrote:
 I needed to do this recently.   I found the -rfbport option on the
 vncserver but no comparable option on the vncviewer, which left me unable
 to connect to the Xvnc.

Would this be for the case of:

-listen [port]
Causes vncviewer to listen on the given port (default 5500) for
reverse connections from a VNC server.


Or would this be for the case of:

If the VNC server is using a non-standard port number to accept
connections then this is specified by adding two colons to the server's
address or name, followed by the port number

-- 
William Hooper
___
VNC-List mailing list
VNC-List@realvnc.com
To remove yourself from the list visit:
http://www.realvnc.com/mailman/listinfo/vnc-list


setting server rfb port to non-default - on the vncviewer

2006-10-09 Thread John Lumby
I needed to do this recently.   I found the -rfbport option on the vncserver 
but no comparable option on the vncviewer, which left me unable to connect 
to the Xvnc.I have made a set of three small patches to vncviewer to add 
a new -ServerPort  parameter on the command-line if anyone is interested.
Or did I miss something already available?


John
___
VNC-List mailing list
VNC-List@realvnc.com
To remove yourself from the list visit:
http://www.realvnc.com/mailman/listinfo/vnc-list