aboutsummaryrefslogtreecommitdiffstats
path: root/win/winvnc/index.vnc
diff options
context:
space:
mode:
Diffstat (limited to 'win/winvnc/index.vnc')
-rw-r--r--win/winvnc/index.vnc23
1 files changed, 15 insertions, 8 deletions
diff --git a/win/winvnc/index.vnc b/win/winvnc/index.vnc
index aecb6131..428d4bc8 100644
--- a/win/winvnc/index.vnc
+++ b/win/winvnc/index.vnc
@@ -1,13 +1,20 @@
+<!--
+ index.vnc - default HTML page for TigerVNC Java viewer applet, to be
+ used with WinVNC. On any file ending in .vnc, the HTTP server embedded in
+ WinVNC will substitute the following variables when preceded by a dollar:
+ USER, DESKTOP, APPLETWIDTH, APPLETHEIGHT, WIDTH, HEIGHT, PORT,
+ Use two dollar signs ($$) to get a dollar sign in the generated
+ HTML page.
+-->
+
<HTML>
-<HEAD>
<TITLE>
-VNC viewer for Java
+$USER's $DESKTOP desktop
</TITLE>
-</HEAD>
-<BODY>
-<APPLET CODE=vncviewer/VNCViewer.class ARCHIVE=vncviewer.jar
- WIDTH=400 HEIGHT=250>
-<PARAM name="port" value="$PORT">
+<APPLET CODE=com.tigervnc.vncviewer.VncViewer ARCHIVE=VncViewer.jar
+ WIDTH=$APPLETWIDTH HEIGHT=$APPLETHEIGHT>
+<param name=PORT value=$PORT>
</APPLET>
-</BODY>
+<BR>
+<A href="http://www.tigervnc.org/">TigerVNC site</A>
</HTML>