Making kdm appear by default on login
Hello everyone - long time lurker and knoppix writer, new contributor/question asker...
Anyway,
I have nearly gone crazy and exhausted all sources of info for this one. I have two versions of knoppix KDE that I have been modifying. One version boots to the kdm login screen and the other logs in to the desktop as per usual. I simply CANNOT figure out exactly where the diffrence lies. I have a new build and I want to make the login via kdm rather than just logging in to the desktop, but I cannot figure out how. Any ideas? I'm going crazy with this.
I looked at init.d/knoppix-autoconfig, inittab, etc. to no avail.
Thanks a MILLION to anyone who can help.
Clint [/b]
Where is the magic point of divergence though?
Exactly where is the divergence point during boot when the system would say "execute kdm" rather than "execute startx" I have looked everywhere. Man - this shouldn't be this hard...
Re: Where is the magic point of divergence though?
Quote:
Originally Posted by clintonian
Exactly where is the divergence point during boot when the system would say "execute kdm" rather than "execute startx" I have looked everywhere. Man - this shouldn't be this hard...
No it shouldn't...
Quote:
Originally Posted by I
kdm (or gdm, or xdm) is normally started via /etc/inittab in run level 5.
So, translating even further:
1. Do a "man inittab" and read the manual page ("manpage") of inittab and its format. Unfortunately, it doesn't seem that "man kdm" will be of any use - it should be, but it isn't (kdm is undocumented - sigh)...
2. Open /etc/inittab in your favorite editor (I use vi - and proudly, too!).
3. Edit the line which is run for run level 5 and which runs startx.
4. Change this line (which runs startx) to run kdm instead. It looks as if kdm should take a "-nodaemon" option; I'd recommend using it - it's probably needed.
After having done this, if you want this preserved for use with a CDROM distribution, then you need to either burn a new CD with this new configuration or save the configuration somewhere so that it can be loaded during boot.