Nice idea but it don't work for me and I think my problem is different. I've removed kdm and use the startx command to start X. -- X freeze the computer (Dapper - glcore) https://launchpad.net/malone/bugs/33368