Constantin Kaplinsky | 2844fd5 | 2008-04-14 08:02:25 +0000 | [diff] [blame] | 1 | <!-- |
Peter Åstrand | 4eacc02 | 2009-02-27 10:12:14 +0000 | [diff] [blame] | 2 | index.vnc - default HTML page for TigerVNC Java viewer applet, to be |
Constantin Kaplinsky | 2844fd5 | 2008-04-14 08:02:25 +0000 | [diff] [blame] | 3 | used with Xvnc. On any file ending in .vnc, the HTTP server embedded in |
| 4 | Xvnc will substitute the following variables when preceded by a dollar: |
| 5 | USER, DESKTOP, DISPLAY, APPLETWIDTH, APPLETHEIGHT, WIDTH, HEIGHT, PORT, |
| 6 | PARAMS. Use two dollar signs ($$) to get a dollar sign in the generated |
| 7 | HTML page. |
| 8 | |
| 9 | NOTE: the $PARAMS variable is not supported by the standard VNC, so |
Peter Åstrand | 4eacc02 | 2009-02-27 10:12:14 +0000 | [diff] [blame] | 10 | make sure you have TigerVNC on the server side, if you're using this |
Constantin Kaplinsky | 2844fd5 | 2008-04-14 08:02:25 +0000 | [diff] [blame] | 11 | variable. |
| 12 | --> |
| 13 | |
| 14 | <HTML> |
| 15 | <TITLE> |
| 16 | $USER's $DESKTOP desktop ($DISPLAY) |
| 17 | </TITLE> |
Adam Tkac | 6420d89 | 2010-03-22 16:31:17 +0000 | [diff] [blame^] | 18 | <APPLET CODE=com.tigervnc.vncviewer.VncViewer ARCHIVE=VncViewer.jar |
Constantin Kaplinsky | 2844fd5 | 2008-04-14 08:02:25 +0000 | [diff] [blame] | 19 | WIDTH=$APPLETWIDTH HEIGHT=$APPLETHEIGHT> |
| 20 | <param name=PORT value=$PORT> |
| 21 | $PARAMS |
| 22 | </APPLET> |
| 23 | <BR> |
Peter Åstrand | 4eacc02 | 2009-02-27 10:12:14 +0000 | [diff] [blame] | 24 | <A href="http://www.tigervnc.org/">TigerVNC site</A> |
Constantin Kaplinsky | 2844fd5 | 2008-04-14 08:02:25 +0000 | [diff] [blame] | 25 | </HTML> |