Howto | OpenVZ Notes

Warning

This is just an aide-memoire, please don’t try and follow it.

Creating a template

# rm -f /etc/ssh/ssh_host_*
cat << EOF > /etc/rc2.d/S15ssh_gen_host_keys
#!/bin/bash
ssh-keygen -f /etc/ssh/ssh_host_rsa_key -t rsa -N ''
ssh-keygen -f /etc/ssh/ssh_host_dsa_key -t dsa -N ''
rm -f \$0
EOF
# chmod a+x /etc/rc2.d/S15ssh_gen_host_keys

Continue Reading...

Howto | Install Kiosktool

First let’s take a look at where KDE squirrels away all these settings. KDE is complex, but it’s well-organised, and there is always a method to whatever KDE madness you find yourself in.

  • /etc/kderc : This points to the file locations where configuration profiles are stored.
  • /etc/kde3 : Global configuration files are here.
  • /home/~username~/.kde : User’s individual settings go here.

Continue Reading...

Howto | Fix Kiosktool Fish Protocol Stalls

When making changes to profiles under kiosktool, it stalls when uploading changes to the local machine using the fish protocol, see screenshots.

Persistently clicking cancel followed by retry does deliver the goods, but sometimes it can take ten attempts or more, with the load average quickly escalating to ten times the server’s usual level.

Continue Reading...

Westminster eForum - Open Source

Earlier this week I went up to the Westminster eForum to speak at the Keynote Seminar “Open source software: in business, in government”. The Westminster eForum provides an environment for policy makers in Parliament, Whitehall and government agencies to engage with key stakeholders. The event was sponsored by Sirius IT, the company which advised us on our move to Linux and who now provide ongoing support for our Linux servers.

Continue Reading...

QEMU-KVM Black Screen

I upgraded one of our servers yesterday, including an upgrade from the Debian Stable kvm72 package, to the Debian Backports qemu-kvm version 0.12.4, whereon I could no longer start our Windows Server 2003 virtual machine. As soon as the machine started, it locked up completely with just a black screen, and had to be terminated with a kill -9 signal.

Continue Reading...

Home Theatre PC - Continued

I’ve been asked recently for an update on how my HTPC is performing. Well the good news is that we are now using it as our main system, and pretty much everything is working perfectly, including:

Continue Reading...

Desktop Wallpaper

When I launched our first LTSP server, I was very keen to make the system as pleasurable for the users as possible; to this end, I left users able to customise their desktop pretty much how they liked. I decided that this free-for-all had gone too far, when I saw customers sitting in front of one user’s computer, sporting a desktop wallpaper of his baby son. At the time I just set a system default of a fairly neutral blue / dark blue radial gradient, and put an item on my to-do list to create a desktop wallpaper.

Continue Reading...

Howto | Create Nagios Status Map Icons

Install GD Tools

$ sudo apt-get install libgd-tools

Create image in Gimp

Continue Reading...

Hauppauge HVR-2200

Introduction

It seems that the HVR-2200 is something of a work-in-progress under Linux. Plenty of people seem to have it working, but it is not simple to configure. See the references at the end for further reading.

I now have this card working under MythTV, but I have not yet managed to get the programme guide updating via EIT (Freeview).

Continue Reading...

Home Theatre PC - Continued

Oh dear, it seems I failed to update my blog after the last work I did on my HTPC. Well the good news is that the programme guide is now working, it was a bit of a pain, in that you have to use the command line to create a channel listing that is then read my the guide updating process. But given that you only have to do this when your channel line-up changes, this isn’t a big deal.

Continue Reading...