I should have added... I'm not sure it's possible to run mythtv without a WM at all. It's a fair while since I did any serious X programming, but I believe that irxevent needs a WM to be able to find out which window it needs to be sending keypress events to. James