vnc java viewer port change?
Tue Apr 1 08:40:01 2003
> -----Original Message-----
> From: Tammo Filusch [mailto:email@example.com]
> Is it possible to tell the java viewer that it should connected to a
> port that differs from the standart port?
Yes. If you start the vncserver at a different display, the rfb
communicaiton defaults to 5900+display, the html/java is served at
5800+display and is properly configured to use the rfb communication.
The unix vnc server has options to overrule these defaults. See `Xvnc -help`
for details. I think (but don't know sure) the vncserver on M$Windows has
options too. Try to start the server from the commandprompt with a
phony/fake option, it might list the proper options.
For both unix and M$Windows, you can use your own webserve to serve the java
Get a unix distribution.
Extract the .../classes/* directory and its contents (use winzip on *.tgz
upload the java files (*.classes, *.jar) to the webserver
Rename *.vnc files to *.html files
Update the *.html files: fill out all the vnc-variables
be sure to use the proper port numbers and other options
be sure to be able to fetch the proper *.classes and *.jar files
upload the new *.html files to the webserver
fetch a *.html file with your browser and off you go.