Use non-auth port 446 to load the VNC applet, so the user doesn't see so many securit...
[invirt/packages/invirt-web.git] / templates / vnc.tmpl
index 47415fe..1581f63 100644 (file)
@@ -13,7 +13,7 @@ Console to $machine.name
 <p> Your machine appears to not be accepting VNC connections. Perhaps you have a ParaVM machine?</p>
 #end if
 <p>Here is a console to ${machine.name}.</p>
 <p> Your machine appears to not be accepting VNC connections. Perhaps you have a ParaVM machine?</p>
 #end if
 <p>Here is a console to ${machine.name}.</p>
-<APPLET CODE="VncViewer.class" ARCHIVE="static/VncViewer.jar"
+<APPLET CODE="VncViewer.class" ARCHIVE="http://$hostname:446/static/VncViewer.jar"
         WIDTH="100%" HEIGHT="100%">
 <PARAM NAME="PASSWORD" VALUE="moocow">
 <PARAM NAME="PORT" VALUE="10003">
         WIDTH="100%" HEIGHT="100%">
 <PARAM NAME="PASSWORD" VALUE="moocow">
 <PARAM NAME="PORT" VALUE="10003">
@@ -22,7 +22,7 @@ Console to $machine.name
 <PARAM NAME="AUTHTOKEN" VALUE="$authtoken">
 <PARAM NAME="SocketFactory" VALUE="VNCProxyConnectSocketFactory">
 </APPLET>
 <PARAM NAME="AUTHTOKEN" VALUE="$authtoken">
 <PARAM NAME="SocketFactory" VALUE="VNCProxyConnectSocketFactory">
 </APPLET>
-<!-- 
+#*
 java VncViewer HOST black-mesa PORT 10003 VMNAME tabbott_test AUTHTOKEN quentin SocketFactory VNCProxyConnectSocketFactory
 java VncViewer HOST black-mesa PORT 10003 VMNAME tabbott_test AUTHTOKEN quentin SocketFactory VNCProxyConnectSocketFactory
--->
+*#
 #end def
 #end def