All in the <head> – Ponderings and code by Drew McLellan –

VNC

Most of my development work is done on Windows using Microsoft technologies like ASP. I don’t like Windows and I don’t particularly like ASP, so I’ve been working at building up my PHP skills and have a medium-term plan to switch to using a Mac if possible. I certainly don’t want anything to do with Longhorn when it’s finally released, so I’ll want to switch long before that.

Anyway, down at the other end of my desk sits a linux server running Debian with Apache, PHP and MySQL. As its monitor is becoming less and less reliable I decided that it would be a good idea to install some sort of remote desktop tool so that I can admin the server directly from my Windows machine. Enter VNC.

I’ve used VNC a few times before, but have never set it up myself. Today’s task was to get VNC up and running on my Debian machine so that I can sleep easy and save my eyes from the wibbling monitor of doom. A quick apt-get confirmed that my machine already had the latest version of the VNC Server installed. Getting it working was as simple as typing vncserver to start the server, and then choosing a password to authenticate remote sessions. Job done!

That was so easy that I began to get cocky. After a quick bit of Googling, I now have a VNC Server running on my old iMac too.

Does it work? You betcha (300k JPEG). What you are looking at is a Windows XP desktop running two VNC sessions. The forground session is Safari running on Mac OS X. The session behind is Konqueror running in KDE on Debian. Rejoice.