summaryrefslogtreecommitdiffstats
path: root/java/src/com/tigervnc/vncviewer/index.vnc
diff options
context:
space:
mode:
Diffstat (limited to 'java/src/com/tigervnc/vncviewer/index.vnc')
-rw-r--r--java/src/com/tigervnc/vncviewer/index.vnc25
1 files changed, 25 insertions, 0 deletions
diff --git a/java/src/com/tigervnc/vncviewer/index.vnc b/java/src/com/tigervnc/vncviewer/index.vnc
new file mode 100644
index 00000000..f24df7c5
--- /dev/null
+++ b/java/src/com/tigervnc/vncviewer/index.vnc
@@ -0,0 +1,25 @@
+<!--
+ index.vnc - default HTML page for TigerVNC Java viewer applet, to be
+ used with Xvnc. On any file ending in .vnc, the HTTP server embedded in
+ Xvnc will substitute the following variables when preceded by a dollar:
+ USER, DESKTOP, DISPLAY, APPLETWIDTH, APPLETHEIGHT, WIDTH, HEIGHT, PORT,
+ PARAMS. Use two dollar signs ($$) to get a dollar sign in the generated
+ HTML page.
+
+ NOTE: the $PARAMS variable is not supported by the standard VNC, so
+ make sure you have TigerVNC on the server side, if you're using this
+ variable.
+-->
+
+<HTML>
+<TITLE>
+$USER's $DESKTOP desktop ($DISPLAY)
+</TITLE>
+<APPLET CODE=VncViewer.class ARCHIVE=VncViewer.jar
+ WIDTH=$APPLETWIDTH HEIGHT=$APPLETHEIGHT>
+<param name=PORT value=$PORT>
+$PARAMS
+</APPLET>
+<BR>
+<A href="http://www.tigervnc.org/">TigerVNC site</A>
+</HTML>