Paul - when you come up to the lilo prompt, when booting, type the linux
label followed by 3, which will boot you back at the run level 3, which is
the text-based console. example is:
lilo: linux 3
You can then edit the etc/inittab file and set the default back to 3. By
the way, this also works to test the graphical user logon. Simply boot with
linux 5 to set it at the run level 5, and verify that you can log in that
way before you change the inittab.
take care,
Bill Moshier
-Original Message-
From: Paul A. Bernicchi [mailto:[EMAIL PROTECTED]]
Sent: Thursday, March 11, 1999 7:51 AM
To: [EMAIL PROTECTED]
Subject: Re: [newbie] Klogin?
OK, so what do I do if I accidentally set my runlevel to 5 BEFORE reading
your warning, Gael? ;) I am indeed caught in a loop... and can't exit the
X server without rebooting.
Paul
- Original Message -
From: Gael mailto:[EMAIL PROTECTED] Duval
To: [EMAIL PROTECTED] mailto:[EMAIL PROTECTED]
Sent: Thursday, March 11, 1999 7:29 AM
Subject: Re: [newbie] Klogin?
Kuraiken wrote:
Sorry for butting in like this but could you send my the /etc/inittab
modifications? Running tha above script alone does not have the
desired
effect. I think it's because, unlike Lawrence, I installed clean with
Mandrake.
I'd imagine that Lawrence also ended up doing a clean install and
formatting the partition that SuSE was previously on.
It's rather odd that the instructions didn't work for you. Have you
tried rebooting since the change? or typing "telinit 5"? You'll need
to do one of the two to cause the change to take effect.
If neither of those solutions fix it, here's what you need to change in
/etc/inittab. Find the line that reads:
id:3:initdefault:
and change it to read:
id:5:initdefault:
Then find the line that reads:
x:5:respawn:/usr/bin/X11/xdm -nodaemon
and change it to read:
x:5:respawn:/opt/kde/bin/kdm -nodaemon
Then do the reboot or telinit command mentioned above.
--
Steve Philp
[EMAIL PROTECTED] mailto:[EMAIL PROTECTED]
Hi Steve,
Thanks for the tip.
I did run /opt/kde/bin/kdm_on
And then, as instructed "telinit 3 ; telinit 5"
Which switched to the klogin screen.
However, upon reboot, it went back to the normal (penguin) login. So I
checked the
/etc/inittab.
What I found that the last line did indeed say:
x:5:respawn:/opt/kde/bin/kdm -nodaemon
But, the line:
id:3:initdefault:
remained at 3. It was not set to runlevel 5.
Perhaps kdm_on does not set this properly?
So I checked (opened it in kedit). Now...I don't understand the commands
"sed
blahblahblah" etc but under the
"# make modified inittab" line (which is a comment, I know)
There is no "id:5:initdefault:" string in the script file whereas
"x:5:respawn:/opt/kde/bin/kdm -nodaemon" does exist.
So it would seem that you will still need to change the inittab by hand?
The other longer term solution is of course to edit kdm_on in the main
dist for
future versions of Mandrake.
Did I find a bug? :-)
no :-)
we cannot actually set /etc/inittab to runlevel 5 by default because
there is a risk of non recoverable loop error at boot time if the
graphics hardware is not recognized or badly configured.
However, there will be big changes about that in the next Mandrake
(6.0) ;-)
Greets,
Gael.
--
Gael DUVAL - [EMAIL PROTECTED] mailto:[EMAIL PROTECTED] -
http://linuxmandrake.com http://linuxmandrake.com
QPL : "With the release of this license, KDE and the Qt Free Edition
are truly Open Source(tm)". Bruce Perens, Opensource.org.