rds :: graphikos

[ home | photos | gallery | scheme | notes | blog | facebook | twitter | youtube | last.fm | myspace | del.icio.us | EverythingHerePlus ]

OpenBSD Collected Short Items 1

Various items and how to information, recorded partly so I can refer back to them if necessary. Some items may help others.

Contents
VNC Server Execution From Client
VNC Responsiveness Trick (x86)

VNC Server Execution From Client

Typically, starting a VNC server on the OpenBSD box (3.3 includes tightvnc-1.2.7) requires a login from a terminal to start the server. However, remember OpenSSH isn't just for interactive logins; single commands works just as easily. Here is an alias entry in my .cshrc file on the MacOSX box that evokes the VNC Server on the OpenBSD Box:

xegypt  (ssh rds@egypt.local vncserver -geometry 832x624 :0)
I just have to type xegypt at the prompt and then enter my password. No need to have a terminal SSH session at all. Current MacOSX VNC Client of choice VNCThing 2.2 from Purple Shark Software.

VNC Responsiveness Trick (x86)

Over the years I have had mixed experiences with VNC. At work it was painfully slow even over 100base-T. I always assumed it was because of network congestion. At home when running VNC on a PPC SuSE setup I was astonished at how responsive it was. I expected the same with OpenBSD as the server and MacOSX as the client. However, it was annoyingly slow to the point that it was impossible to move or resize windows. I rarely ran VNC preferring to use terminals because of the speed issue. I run Blackbox and like to run wmmon to monitor cpu usage et al. After installing wmmon via the ports collection, I ran it and noticed an interesting side effect. Windows responded quickly and without redraw issues. In hindsight, I had been running wmmon on the Linux box in the past, and that explained why it seemed so fast. I can't be sure, but it seems that having something constantly drawing to the screen forces better responsiveness. I am looking for another application to verify this behavior (I tried glxgears, but it won't run). Whatever the reason, it is a work around that serves me both at home and at work now.