Linux From ScratchThis Forum is for the discussion of LFS.
LFS is a project that provides you with the steps necessary to build your own custom Linux system.
Notices
Welcome to LinuxQuestions.org, a friendly and active Linux Community.
You are currently viewing LQ as a guest. By joining our community you will have the ability to post topics, receive our newsletter, use the advanced search, subscribe to threads and access many other special features. Registration is quick, simple and absolutely free. Join our community today!
Note that registered members see fewer ads, and ContentLink is completely disabled once you log in.
If you have any problems with the registration process or your account login, please contact us. If you need to reset your password, click here.
Having a problem logging in? Please visit this page to clear all LQ-related cookies.
Get a virtual cloud desktop with the Linux distro that you want in less than five minutes with Shells! With over 10 pre-installed distros to choose from, the worry-free installation life is here! Whether you are a digital nomad or just looking for flexibility, Shells can put your Linux machine on the device that you want to use.
Exclusive for LQ members, get up to 45% off per month. Click here for more info.
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.
Originally posted by StevePhM 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.
Just so that I understand what that command did. It appended a line to the end of /etc/inittab that starts kdm (not as a daemon), and sends the error output to /var/log/kdm?? Is that right?? What does it mean to start something "not as a daemon"??
I'm doing LFS as a learning experience, so I wanna make sure that I understand every command I enter!!
Originally posted by StevePhM Cool, that did the trick. Thanks for that
Just so that I understand what that command did. It appended a line to the end of /etc/inittab that starts kdm (not as a daemon), and sends the error output to /var/log/kdm?? Is that right?? What does it mean to start something "not as a daemon"??
I'm doing LFS as a learning experience, so I wanna make sure that I understand every command I enter!!
You are right!!! When you start a program with daemon option, it will close stdin, stdout, stderr and going into background mode! (all input && output to that devices will not work). It's not what you want, am I wrong?
LinuxQuestions.org is looking for people interested in writing
Editorials, Articles, Reviews, and more. If you'd like to contribute
content, let us know.