In the web interface, get the VNC auth token over remctl
[invirt/packages/invirt-web.git] / code / templates / vnc.tmpl
index ed2d6e4..c61b4f6 100644 (file)
@@ -12,11 +12,11 @@ Console to $machine.name
 #else if not $has_vnc
 <p> Your machine appears to not be accepting VNC connections. Perhaps you have a ParaVM machine?</p>
 #end if
-<p>See <a href="help?subject=console" target="_blank">tips</a> about framebuffer and other issues.</p>
+<p>See <a href="help?subject=Console" target="_blank">tips</a> about framebuffer and other issues.</p>
 <APPLET CODE="VncViewer.class" ARCHIVE="https://$hostname:446/static/VncViewer.jar"
         WIDTH="100%" HEIGHT="1000">
 <PARAM NAME="PASSWORD" VALUE="moocow">
-<PARAM NAME="PORT" VALUE="10003">
+<PARAM NAME="PORT" VALUE="$port">
 <PARAM NAME="HOST" VALUE="$hostname">
 <PARAM NAME="VMNAME" VALUE="$machine.name">
 <PARAM NAME="AUTHTOKEN" VALUE="$authtoken">