Eureka

Corné Beerse cbeerse "at" lycos.nl
Fri Nov 5 13:34:01 2004


Michael Rosen wrote:

> On Thu, 04 Nov 2004 10:27:21 +0100, Corni Beerse <cbeerse "at" lycos.nl> wrote:
> 
>>Michael Rosen wrote:
>>
>>
>>>Wow, I finally figured out how to get the client to work at least.
>>>Since I changed ports I needed to tell the client to connect to
>>>"myhost:7900."
>>
>>Is that for the webserver, or the vncviewer?
> 
> 
> VNC viewer.

sorry, my reply was based on the web-java-viewer....

For the 3.x-version, you have to subtract 5900 from the used port number to get 
the vnc-display number. Hence for you:

`vncviewer myhost:2000`

The current (version 4) viewer, has an option to use the portnumber in stead of 
the display number. By head it is: `vncviewer myhost::7900` but check the 
documentation to be sure.

> 
> 
>>Peek at the html-source of the page you get. You will see the call to the
>>java-viewer, with the port-number to which it will connect. That should be the
>>vnc (rfb-protocol) port.
>>
>>Best to first try to connect to it with a binary viewer. Once that works, you
>>can try to get the webserver, with the java-viewer working.
>>
>>Be noted, the webserver (for the java-viewer) and the vnc-protocol must run on a
>>different port!
>>
> 
> 
> There was nothing like what you describe in the source of the error
> page.  It's just the html for the error message.  How do I connect
> with a binary viewer?  I have tried telnetting in but I don't see
> anything and once I hit enter it disconnects.

IF you want to use telnet to test the port, use `telnet myhost 7900`. The reply 
should say something like "RFB 003.003".



CBee