LinuxQuestions.org
Help answer threads with 0 replies.
Go Back   LinuxQuestions.org > Forums > Linux Forums > Linux - Newbie
User Name
Password
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


Reply
  Search this Thread
Old 08-27-2003, 12:36 PM   #1
walsht3108
LQ Newbie
 
Registered: Aug 2003
Posts: 13

Rep: Reputation: 0
How to Change Run Levels


I have RH9 installed.
I need to change the run level. I t is currently N 3
I want to change it to 5 for graphics mode.
Can anyone help?
 
Old 08-27-2003, 12:39 PM   #2
Skyline
Senior Member
 
Registered: Jun 2003
Distribution: Debian/other
Posts: 2,104

Rep: Reputation: 45
startx from the console to get into graphical mode

Open a terminal

su
root password

kedit /etc/inittab

change the

id:3:initdefault:

to

id:5:initdefault:

ie change the 3 to a 5 in this line

and save the file

reboot

Last edited by Skyline; 08-27-2003 at 12:40 PM.
 
Old 08-27-2003, 01:13 PM   #3
LooseCanon
Member
 
Registered: Aug 2003
Location: Canada
Distribution: RH, Fedora, Debian
Posts: 128

Rep: Reputation: 15
most of the time you don't even have to edit the inittab.

1) open a console
2) if you're logged in as a "user" type "su" (no quotes) to become a "superuser" or administrator
3) type "init 3" (no quotes)
4) do what needs to be done
5) type "init 5" to get back to where you were in the first place
 
Old 08-27-2003, 03:38 PM   #4
rberry88
Member
 
Registered: Aug 2003
Location: Arlington Heights, IL USA
Distribution: Fedora Core 1 & WinXP Pro & Gentoo 1.4 & Arch Linux
Posts: 558

Rep: Reputation: 30
question alert:

What is the difference between typing init x (where x is the run level you want) and telinit x to change run levels??

rberry88
 
Old 08-27-2003, 03:43 PM   #5
matronyx
LQ Newbie
 
Registered: Aug 2003
Location: Jamaica
Distribution: rh,mandrake
Posts: 6

Rep: Reputation: 0
Talking

Quote:
Originally posted by rberry88
question alert:

What is the difference between typing init x (where x is the run level you want) and telinit x to change run levels??

rberry88
telinit does just that.... it tells init what to do

"It takes a one-character argument and signals init to perform the appropriate action."
"telinit can also tell init how long it should wait between sending processes the SIGTERM and SIGKILL signals. The default is 5 seconds, but this can be changed with the -t sec option."
 
  


Reply


Thread Tools Search this Thread
Search this Thread:

Advanced Search

Posting Rules
You may not post new threads
You may not post replies
You may not post attachments
You may not edit your posts

BB code is On
Smilies are On
[IMG] code is Off
HTML code is Off



Similar Threads
Thread Thread Starter Forum Replies Last Post
Can't change volume levels corbis_demon Linux - Newbie 0 10-11-2004 03:34 AM
what are run levels in chkconfig tej Linux - Newbie 1 09-20-2004 02:15 AM
run control (rc) levels...a definition? nuzzy Linux - General 4 06-28-2002 03:28 PM
Changing run levels in the bootloader IceNineJon Linux - Newbie 5 06-06-2002 01:11 AM
Changing Run Levels unclebyron Linux - General 1 01-28-2002 05:43 PM

LinuxQuestions.org > Forums > Linux Forums > Linux - Newbie

All times are GMT -5. The time now is 09:54 PM.

Main Menu
Advertisement
My LQ
Write for LQ
LinuxQuestions.org is looking for people interested in writing Editorials, Articles, Reviews, and more. If you'd like to contribute content, let us know.
Main Menu
Syndicate
RSS1  Latest Threads
RSS1  LQ News
Twitter: @linuxquestions
Open Source Consulting | Domain Registration