Thanks for this. I had been looking for a way to lighten the load on a 750Mhz laptop, and the first thing I wanted to dump was gdm. I needed the autologin though.

This worked perfectly under an extremely lightweight Xubuntu 6.06.1 system after installing build-essential. It's very nice to be able to automatically log in without the desktop manager.

Thanks again!

EDIT: I should mention I didn't have the same luck on an Edgy installation, but I blame that mostly on all the weird tweaks and modifications I've done since I installed it. I'll try some other time on a fresh build and see if it works ... maybe once Edgy is fully stable.