Linux - Newbie This Linux forum is for members that are new to Linux.
Just starting out and have a question?
If it is not in the man pages or the how-to's this is the place! |
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.
Are you new to LinuxQuestions.org? Visit the following links:
Site Howto |
Site FAQ |
Sitemap |
Register Now
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.
|
 |
12-03-2003, 04:41 AM
|
#1
|
Member
Registered: Jul 2003
Location: Reading
Distribution: Red Hat
Posts: 89
Rep:
|
Runlevel 5
I have a Red Hat 9 which is a gateway server for my home network. The machine is a Pentium 3 and is a bit past it. When doing the installation I installed X just incase I wanted to use.
I am sure that during installation I was never asked about booting into text mode.
When booting in I get the graphical login screen. I want to change this to be the console.
I have checked my /etc/inittab file and have the following:
id:3:initdefault:
Which I assume would boot me into the console and would be:
id:5:initdefault:
If ot was to use the Graphical login.
Is there anything else which defines this? Does anyone have any ideas why this is.
I have checked the /etc/inittab file while logged in over SSH from outside but I'm sure this doesn't have any effect and that the /etc/inittab is global.
|
|
|
12-03-2003, 04:45 AM
|
#2
|
LQ Guru
Registered: Aug 2003
Location: Sydney, Australia
Distribution: Gentoo
Posts: 1,796
Rep:
|
changing the default to runlevel 3 will do, just make sure the services you want to run is configured to run in runlevel3 as wll.
|
|
|
12-03-2003, 04:47 AM
|
#3
|
Member
Registered: Jul 2003
Location: Reading
Distribution: Red Hat
Posts: 89
Original Poster
Rep:
|
True but it is already set at 3 but still I get the graphical login screen.
|
|
|
12-03-2003, 05:04 AM
|
#4
|
LQ Guru
Registered: Aug 2003
Location: Sydney, Australia
Distribution: Gentoo
Posts: 1,796
Rep:
|
what does the last line in /etc/inittab say?
it should look something like
x:5:respawn:/etc/X11/prefdm -nodaemon
make sure 5 is the only number after x:
|
|
|
12-03-2003, 05:10 AM
|
#5
|
Member
Registered: Jul 2003
Location: Reading
Distribution: Red Hat
Posts: 89
Original Poster
Rep:
|
I checked the last line looks exactly like:
x:5:respawn:/etc/X11/prefdm -nodaemon
I can't check it from here but would it be possible that the runlevel has been changed in GRUB so that it forces level 5?
|
|
|
12-03-2003, 05:14 AM
|
#6
|
LQ Guru
Registered: Aug 2003
Location: Sydney, Australia
Distribution: Gentoo
Posts: 1,796
Rep:
|
yea maybe, check /boot/grub/grub.conf and see if '5' is appended to the kernel parameter.
Last edited by Demonbane; 12-03-2003 at 05:24 AM.
|
|
|
12-03-2003, 05:23 AM
|
#7
|
Member
Registered: Jul 2003
Location: Reading
Distribution: Red Hat
Posts: 89
Original Poster
Rep:
|
No, Kernel parameter doesn't force the runlevel. This seems strange to me, I have checked my inittab file against another Red Hat 9 installation I have at work which doesn't have X installed they are identical.
STOP in true Newbie fashion I have just realised what I have done. The PuTTY screens are confusing me. On my gateway machine the inittab reads:
id:5:initdefault:
I must of been looking at the wrong file. At least now I know why its booting in Graphical mode and everything makes sense again.
Thanks very much for sticking with me!
James
|
|
|
All times are GMT -5. The time now is 07:36 PM.
|
LinuxQuestions.org is looking for people interested in writing
Editorials, Articles, Reviews, and more. If you'd like to contribute
content, let us know.
|
Latest Threads
LQ News
|
|