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]; [email protected]
> 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 xxxxx -rfbport 4918
>         (I can explain why but not relevant)
> 
> Here is the Xvnc process:
> Xvnc :19 -desktop xxxxxx ... -geometry 1440x1062 ... -rfbwait 120000 
> -rfbauth yyyy -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 zzzzz <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
[email protected]
To remove yourself from the list visit:
http://www.realvnc.com/mailman/listinfo/vnc-list

Reply via email to