web page

Matthew.van.Eerde@hbinc.com Matthew.van.Eerde "at" hbinc.com
Wed, 30 Jan 2002 23:45:38 +0000


That wouldn't be that hard:
Here's the original page (from View Source)
<HTML><TITLE>VNC desktop [host name]</TITLE>
<APPLET CODE=vncviewer.class ARCHIVE=vncviewer.jar WIDTH=[width]
HEIGHT=[height]>
<param name=PORT value=5900></APPLET></HTML>

where I have changed [host name], [width] and [height].  Substitute your own
values for these.

Create another page (on another server, or even a simple .html file)
<HTML>
	<TITLE>VNC desktop [host name]</TITLE>
	<APPLET
		CODEBASE="http://[host]:5800/"
		CODE="vncviewer.class"
		ARCHIVE="vncviewer.jar"
		WIDTH=[width]
		HEIGHT=[height]
	>
		<param name=PORT value=5900>
		<param name=[whatever] value=[whatever]>
		...
	</APPLET>
</HTML>
Notice the new CODEBASE attribute to APPLET that points to the host.

The problem with this way is that you have to have access to port 5800 on
the the host, port 5900 on the host, and (whatever port the web server is
running on) on (whatever machine the web server is running on.)


> -----Original Message-----
> From: Alex Angelopoulos [mailto:alex "at" bittnet.com]
> Sent: Wednesday, January 30, 2002 15:13
> To: vnc-list "at" uk.research.att.com
> Subject: Re: web page
> 
> 
> On Windows, unfortunately, it is embedded within winvnc.exe.
> 
> I did not aee anything in the Windows VNC server documentation that
> mentioned how to point it somewhere else.  You *may* be able 
> to run the
> applet directly from a client, telling it to access port 5900+Display
> number (since that is what the Java applet uses after connection) but
> then you won't be able to"serve" the applet from the VNC 
> server - which
> I suspect is what you are after.
> 
> If you can't find an acceptable solution and are comfortable 
> enough with
> Java on the web, I think you can do something like the following - I
> have no idea of details, though, so it may be way too messy to try if
> you aren't someone experienced with Java serving.  The 
> workaround would
> be to deploy another web page on a server with the modified 
> Java applet
> embedded in IT, and point it to the correct server and port.
> 
> ----- Original Message -----
> From: "Michael Ossmann" <michael.ossmann "at" alttech.com>
> To: <vnc-list "at" uk.research.att.com>
> Sent: Tuesday/2002 January 29 12:26
> Subject: Re: web page
> 
> 
> : On Mon, Jan 28, 2002 at 08:51:02PM -0500, Louise Gerhart wrote:
> : > Can anyone tell me how to change the default web page 
> that is served
> through
> : > port 5800?
> : > I would like to add some parameters to that page.
> :
> : There should be a directory with .vnc and .class files that was
> : installed with your VNC server.  Mine is in /usr/share/vnc/classes.
> : Edit index.vnc in this directory.
> :
> : That's for Unix VNC anyway.  I don't know about Windows.
> :
> : --
> : Mike Ossmann, Tarantella/UNIX Engineer/Instructor
> : Alternative Technology, Inc.  http://www.alttech.com/
> : 
> ---------------------------------------------------------------------
> : To unsubscribe, mail majordomo "at" uk.research.att.com with the line:
> : 'unsubscribe vnc-list' in the message BODY
> : See also: http://www.uk.research.att.com/vnc/intouch.html
> : 
> ---------------------------------------------------------------------
> ---------------------------------------------------------------------
> To unsubscribe, mail majordomo "at" uk.research.att.com with the line:
> 'unsubscribe vnc-list' in the message BODY
> See also: http://www.uk.research.att.com/vnc/intouch.html
> ---------------------------------------------------------------------
---------------------------------------------------------------------
To unsubscribe, mail majordomo "at" uk.research.att.com with the line:
'unsubscribe vnc-list' in the message BODY
See also: http://www.uk.research.att.com/vnc/intouch.html
---------------------------------------------------------------------