<!doctype html public "-//w3c//dtd html 4.0 transitional//en"> <html> <head> <meta http-equiv="Content-Type" content="text/html; charset=iso-8859-1"> <meta name="GENERATOR" content="Mozilla/4.5 [en] (X11; I; Linux 2.0.35 i686) [Netscape]"> <meta name="keywords" content="VNC, AT&T Laboratories Cambridge, Virtual Network Computing, thin-client"> <title>Improving VNC performance with TWM</title> <link REL="stylesheet" HREF="styles.css" TYPE="text/css"> </head> <body bgcolor="#FFFFFF" vlink="#000080" marginheight="0" topmargin="0" leftmargin="0" marginwidth="0"> <TABLE BORDER=0 CELLSPACING=0 CELLPADDING=0 WIDTH="100%" > <tr> <td ALIGN=CENTER VALIGN=TOP WIDTH="125" BGCOLOR="#EECC80"> <center><a href="index.html"><img SRC="sidelogo.gif" ALT="VNC logo" BORDER=0 height=113 width=120></a></center> </td> <td VALIGN=TOP WIDTH="20"><img SRC="spacer.gif" HSPACE=8 height=1 width=1></td> <td> <table BORDER=0 WIDTH="100%" > <tr> <td WIDTH="90%" valign="center"> <center> <h1> <IMG SRC="vnctitle.gif" WIDTH=370 HEIGHT=30 ALT="Virtual Network Computing"></h1></center> </td> <td WIDTH="10%"><a href="http://www.uk.research.att.com/"><img SRC="attlogo.gif" ALT="AT&T" BORDER=0 height=75 width=66 align=RIGHT></a></td> </tr> </table> </td> <td WIDTH="5%"></td> </tr> <tr><td colspan=5 bgcolor="#eecc80"><img src="spacer.gif" height=3 vspace=0 hspace=1></td></tr> <tr><td bgcolor="#eecc80"><img src="spacer.gif" height=4 vspace=0 hspace=1></td><td colspan=4></td></tr> <tr> <td ALIGN=CENTER VALIGN=TOP WIDTH="125" BGCOLOR="#EECC80"> <center> <table BORDER=0 CELLSPACING=0 CELLPADDING=0 WIDTH="100%" ><tr><td><a href="index.html"><img SRC="homebutton.gif" ALT="[Home]" BORDER=0 height=33 width=120></a> </td></tr><tr><td><a href="screenshots.html"><img SRC="screenbutton.gif" ALT="[screenshots]" BORDER=0 height=33 width=120></a> </td></tr><tr><td><a href="start.html"><img SRC="startbutton.gif" ALT="[getting started]" BORDER=0 height=33 width=120></a> </td></tr><tr><td><a href="docs.html"><img SRC="docbutton.gif" ALT="[documentation]" BORDER=0 height=33 width=120></a> </td></tr><tr><td><a href="faq.html"><img SRC="faqbutton.gif" ALT="FAQs" BORDER=0 height=33 width=120></a> </td></tr><tr><td><a href="download.html"><img SRC="downloadbutton.gif" ALT="[download]" BORDER=0 height=33 width=120></a> </td></tr><tr><td><a href="intouch.html"><img SRC="intouchbutton.gif" ALT="[keep in touch]" BORDER=0 height=33 width=120></a> </td></tr><tr><td><a href="contribs.html"><img SRC="contribbutton.gif" ALT="Others' ports and add-ons etc" BORDER=0 height=33 width=120></a> </td></tr><tr><td><a href="help.html"><img SRC="helpbutton.gif" ALT="Project ideas" BORDER=0 height=33 width=120></a> </td></tr><tr><td><a href="vncpeople.html"><img SRC="vncpeoplebutton.gif" ALT="VNC people" BORDER=0 height=33 width=120></a> </td></tr><tr><td><a href="http://www.uk.research.att.com/search.html"><img SRC="searchbutton.gif" ALT="Search" BORDER=0 height=33 width=120></a> </td></tr><tr><td><a href="http://www.uk.research.att.com/"><img SRC="attbutton.gif" ALT="[AT&T Laboratories Cambridge]" BORDER=0 height=33 width=120></a></td></tr></table></center> </td> <td VALIGN=TOP WIDTH="8%"></td> <td VALIGN=TOP WIDTH="100%"> <h2> <b>Improving VNC performance with 'twm'</b></h2> This may give some ideas for other Window managers as well, though the syntax will be different. See the <a href="faq.html">FAQ</a> for other suggestions on speeding up a VNC session. <ul> <li> Don't make the desktop deeper than you need to.</li> <li> disable the dithering on the title bar by using a solid bitmap.</li> <br>In .twmrc put: <p><tt>Pixmaps</tt> <br><tt>{</tt> <br><tt> TitleHighlight "solid"</tt> <br><tt>}</tt> <p>and put a bitmap file 'solid' on the bitmap path containing: <p><tt>#define solid_width 4</tt> <br><tt>#define solid_height 1</tt> <br><tt>static char solid_bits[] = {0x0f};</tt> <p>You can set the X bitmap path - I have in my .Xresources: <p><tt>*bitmapFilePath:/home/qsf/bitmaps</tt> <br> <li> make the scrollbar solid</li> <p><br> <tt>*Scrollbar*thumb: solid</tt> <br> <tt>*Scrollbar*foreground: grey</tt></ul> <ul> <li> remove the subtle modification of the window border when it gets</li> <br>focus. In .twmrc: <p> <tt>NoHighlight</tt> <li> use click-to-focus instead of point-to-focus (does twm allow this?)</li> <br>Then the window doesn't change when your mouse just happens to move over it.</ul> </td> <td WIDTH="5%"></td> </tr> <tr> <td bgcolor="#eecc80"> </td><td ALIGN=CENTER VALIGN=TOP COLSPAN="4" WIDTH="100%"> <!-- Ruler here? --> <center> <p><i><font size=-1>For comments, feedback, etc, please see the '<a href="intouch.html">Keeping in touch</a>' page</font>.</i> <br><i><font size=-1>Copyright 1999 - AT&T Laboratories Cambridge </font></i></center> </td> </tr> </table> </body> </html>