The easiest way to get auto-login is to add X to your graphical runlevel.
In Mandrake, the graphical runlevel is 5, and text runlevel is 3, the difference being the "dm" service.
Instead, disable the "dm" service. That is: make runlevel 5 a copy of runlevel 3. Then in /etc/inittab, add a respawning process for runlevel 5 only with this command:
Code:
su - target_user -c startx
Yves.