I've searched around all night and can't seem to find how to get LFS to boot straight to the KDM login screen. I have everything I need installed, so when I startx it brings me to KDE, or when I type kdm as root, it brings me to the KDM login screen, which then goes to KDE. I just need the last link in the chain.
I have set the default run level to 5, and I know it's something to do with adding a link to /usr/bin/kdm inside /etc/rc.d/init.d and then linking to this from /etc/rc.d/rc5.d. I also know that this file needs to be called something along the lines of S99kdm, but I'm just not smart enough to get it to work.
All help is gratefully received!!