From 43c105be35eb49744112ccb6f28644d0c794585a Mon Sep 17 00:00:00 2001
From: Greg Price <price@mit.edu>
Date: Fri, 28 Mar 2008 18:21:55 -0400
Subject: [PATCH 1/1] advise users to disable the framebuffer

It'd be great if we could avoid having to hard-code an estimate of
how many pixels high the applet is.  Pending that, to make the tip
visible I reduced the estimate to something less conservative.

svn path=/trunk/web/; revision=281
---
 templates/vnc.tmpl |    3 ++-
 1 file changed, 2 insertions(+), 1 deletion(-)

diff --git a/templates/vnc.tmpl b/templates/vnc.tmpl
index 0feb4ff..d9fa88a 100644
--- a/templates/vnc.tmpl
+++ b/templates/vnc.tmpl
@@ -14,7 +14,7 @@ Console to $machine.name
 #end if
 <p>Here is a console to ${machine.name}.</p>
 <APPLET CODE="VncViewer.class" ARCHIVE="https://$hostname:446/static/VncViewer.jar"
-        WIDTH="100%" HEIGHT="2048">
+        WIDTH="100%" HEIGHT="450">
 <PARAM NAME="PASSWORD" VALUE="moocow">
 <PARAM NAME="PORT" VALUE="10003">
 <PARAM NAME="HOST" VALUE="$hostname">
@@ -22,6 +22,7 @@ Console to $machine.name
 <PARAM NAME="AUTHTOKEN" VALUE="$authtoken">
 <PARAM NAME="SocketFactory" VALUE="VNCProxyConnectSocketFactory">
 </APPLET>
+<p><strong>Tip:</strong> At a Linux boot prompt, try setting <tt>fb=false</tt> to disable the framebuffer.  If you don't, your machine will run just fine, but this applet's display of the console will suffer artifacts.</p>
 #*
 java VncViewer HOST black-mesa PORT 10003 VMNAME tabbott_test AUTHTOKEN quentin SocketFactory VNCProxyConnectSocketFactory
 *#
-- 
1.7.9.5