You can not select more than 25 topics
Topics must start with a letter or number, can include dashes ('-') and can be up to 35 characters long.
38 lines
1.2 KiB
38 lines
1.2 KiB
23 years ago
|
<!-- index.vnc - default html page for Java VNC viewer applet. 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,
|
||
23 years ago
|
APPLETWIDTH, APPLETHEIGHT, WIDTH, HEIGHT, PORT, PARAMS. Use two dollar
|
||
|
signs ($$) to get a dollar sign in the generated html. -->
|
||
23 years ago
|
|
||
|
<HTML>
|
||
13 years ago
|
<head>
|
||
23 years ago
|
<TITLE>
|
||
|
$USER's $DESKTOP desktop ($DISPLAY)
|
||
|
</TITLE>
|
||
13 years ago
|
</head>
|
||
23 years ago
|
<APPLET CODE=VncViewer.class ARCHIVE=VncViewer.jar
|
||
23 years ago
|
WIDTH=$APPLETWIDTH HEIGHT=$APPLETHEIGHT>
|
||
|
<param name=PORT value=$PORT>
|
||
23 years ago
|
<param name="Open New Window" value=yes>
|
||
23 years ago
|
</APPLET>
|
||
13 years ago
|
<br/>
|
||
|
<br/>
|
||
13 years ago
|
|
||
13 years ago
|
If the above Java applet does not work, you can also try the new JavaScript-only <a href="http://kanaka.github.com/noVNC/">noVNC</a> viewer. You will need a HTML5-capable browser though.
|
||
13 years ago
|
<script language="JavaScript">
|
||
|
<!--
|
||
|
function start_novnc(){
|
||
|
open("novnc/vnc_auto.html?host=" + document.location.hostname + "&port=$PORT&true_color=1");
|
||
|
}
|
||
|
-->
|
||
|
</script>
|
||
|
<form name="novnc_button_form">
|
||
|
<input type="button" name="novnc_button" value="Click here to connect using noVNC" onClick='start_novnc()'>
|
||
|
</form>
|
||
|
|
||
13 years ago
|
<br/>
|
||
|
<br/>
|
||
|
<br/>
|
||
13 years ago
|
<A href="http://libvncserver.sf.net/">LibVNCServer/LibVNCClient Homepage</A>
|
||
23 years ago
|
</HTML>
|