Last change
on this file since 284 was
281,
checked in by price, 17 years ago
|
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.
|
File size:
1.1 KB
|
Rev | Line | |
---|
[113] | 1 | #from skeleton import skeleton |
---|
| 2 | #extends skeleton |
---|
| 3 | |
---|
| 4 | #def title |
---|
| 5 | Console to $machine.name |
---|
| 6 | #end def |
---|
| 7 | |
---|
| 8 | #def body |
---|
| 9 | <h1>Console</h1> |
---|
[152] | 10 | #if not $on |
---|
| 11 | <p> Your machine appears to be off.</p> |
---|
| 12 | #else if not $has_vnc |
---|
| 13 | <p> Your machine appears to not be accepting VNC connections. Perhaps you have a ParaVM machine?</p> |
---|
| 14 | #end if |
---|
[113] | 15 | <p>Here is a console to ${machine.name}.</p> |
---|
[220] | 16 | <APPLET CODE="VncViewer.class" ARCHIVE="https://$hostname:446/static/VncViewer.jar" |
---|
[281] | 17 | WIDTH="100%" HEIGHT="450"> |
---|
[133] | 18 | <PARAM NAME="PASSWORD" VALUE="moocow"> |
---|
[113] | 19 | <PARAM NAME="PORT" VALUE="10003"> |
---|
| 20 | <PARAM NAME="HOST" VALUE="$hostname"> |
---|
| 21 | <PARAM NAME="VMNAME" VALUE="$machine.name"> |
---|
| 22 | <PARAM NAME="AUTHTOKEN" VALUE="$authtoken"> |
---|
| 23 | <PARAM NAME="SocketFactory" VALUE="VNCProxyConnectSocketFactory"> |
---|
| 24 | </APPLET> |
---|
[281] | 25 | <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> |
---|
[216] | 26 | #* |
---|
[113] | 27 | java VncViewer HOST black-mesa PORT 10003 VMNAME tabbott_test AUTHTOKEN quentin SocketFactory VNCProxyConnectSocketFactory |
---|
[216] | 28 | *# |
---|
[113] | 29 | #end def |
---|
Note: See
TracBrowser
for help on using the repository browser.