Headless wrapper for ephemeral X servers

For various projects I’m doing right now, I need an easy way to automatically run code in an X server that may not necessarily be the active display. This code may even run on servers in production that don’t have video cards or monitors attached. For some history on this, check out this post on xvfb and firefox. You can solve the problem in that post by simply launching firefox with the tool below, and your X server will exit when firefox exits.
Read more...

Dynamic DNS and DHCP - Easy to do, and you'll thank yourself later

Preface This article will cover how to setup dns with dynamic updates aswell as configuring your dhcp server to push updates to it aswell. I assume you already know how to setup plain old dns aswell as plain old dhcp. This is not an introduction to either of those. I used BIND 9 and ISC DHCPD v3 for this article. If there’s anything this article doesn’t cover with respect to what you are looking for, leave a comment and I’ll do what I can.
Read more...

Xvfb + Firefox

Resighas a bunch of unit tests he does to make sure jQueryworks properly on whatever browser. Manually running and checking unit test results is annoying and time consuming. Let’s automate this. Update (May 2010): See this postfor more details on automating xserver startup without having to worry about display numbers (:1, :2, etc). Combine something simple like Firefox and Xvfb (X Virtual Frame Buffer), and you’ve got a simple way to run Firefox without a visible display.
Read more...