LinuxQuestions.org
Visit Jeremy's Blog.
Go Back   LinuxQuestions.org > Forums > Linux Forums > Linux - General
User Name
Password
Linux - General This Linux forum is for general Linux questions and discussion.
If it is Linux Related and doesn't seem to fit in any other forum then this is the place.

Notices

Reply
 
LinkBack Search this Thread
Old 04-15-2002, 08:41 PM   #1
FunkFlex
Member
 
Registered: Jan 2002
Location: UK
Distribution: Redhat 7.2
Posts: 35

Rep: Reputation: 15
Question How do i change from Runlevel5 to Runlevel3?


I am currently booting into and running in Runlevel 5, I want to change it so that i will bootup and run in Runlevel 3.

How do i do this?

I also hear that it saves on resources when you're in Runlevel 3, true?
 
Old 04-15-2002, 08:45 PM   #2
trickykid
Guru
 
Registered: Jan 2001
Posts: 24,133

Rep: Reputation: 194Reputation: 194
edit your /etc/inittab file..
 
Old 04-15-2002, 08:47 PM   #3
Aussie
Senior Member
 
Registered: Sep 2001
Location: Brisvegas, Antipodes
Distribution: Slackware
Posts: 4,590

Rep: Reputation: 56
1) You need to edit /etc/inittab to change the default run level.
2) X isn't using system resources when X isn't running.
 
Old 04-15-2002, 08:58 PM   #4
FunkFlex
Member
 
Registered: Jan 2002
Location: UK
Distribution: Redhat 7.2
Posts: 35

Original Poster
Rep: Reputation: 15
change this line..
Quote:
id:5:initdefault:
to this..
Quote:
id:3:initdefault:
is this correct??
 
Old 04-15-2002, 08:58 PM   #5
trickykid
Guru
 
Registered: Jan 2001
Posts: 24,133

Rep: Reputation: 194Reputation: 194
you got it..
 
Old 04-15-2002, 09:07 PM   #6
FunkFlex
Member
 
Registered: Jan 2002
Location: UK
Distribution: Redhat 7.2
Posts: 35

Original Poster
Rep: Reputation: 15
Thumbs up

Thanks for your help guys..
now to enjoy the wonders of Runlevel 3 .. "Command line"

if in doubt use "startx"!!!
 
Old 04-16-2002, 04:28 AM   #7
reed
LQ Newbie
 
Registered: Mar 2002
Location: D.C. Area
Distribution: Rh 7.2
Posts: 25

Rep: Reputation: 15
once you r running you can change on the fly.
as su

/sbin/init n

where n is a number 0-6
0=halt
1=single user
3 and 5 you know
6=reboot
 
Old 04-16-2002, 05:19 AM   #8
Mara
Moderator
 
Registered: Feb 2002
Location: Grenoble
Distribution: Debian
Posts: 9,527

Rep: Reputation: 147Reputation: 147
You can also use linuxconf to change this.
 
Old 04-16-2002, 06:44 AM   #9
L33t_H4x0R
LQ Newbie
 
Registered: Apr 2002
Distribution: Mandrake 9.0 (at the moment)
Posts: 28

Rep: Reputation: 15
You shouldn't use /sbin/init <n> to change runlevel on the fly - you should use /sbin/telinit <n>

....

Sorry - just sticking my oar in there

Bry
 
Old 04-16-2002, 12:39 PM   #10
reed
LQ Newbie
 
Registered: Mar 2002
Location: D.C. Area
Distribution: Rh 7.2
Posts: 25

Rep: Reputation: 15
Not that I'm disagrereing. Just curious why L_H?
 
  


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 On
HTML code is Off
Trackbacks are Off
Pingbacks are On
Refbacks are Off


Similar Threads
Thread Thread Starter Forum Replies Last Post
How do I change the cursors globaly for a user? and how do I change them in the E-WM? enigma Z Linux - Software 1 09-18-2004 03:59 PM
Cannot Change GNOME Menu Items to add/change Item for Mozilla 1.2 After Upgrade metoome General 0 03-27-2004 12:19 AM
Cannot Change GNOME Menu Items to add/change Item for Mozilla 1.3 After Upgrade SForsgren Linux - General 4 03-26-2004 11:43 PM
Runlevel5 services failing after updating to 2.6.4 c4_4ya Linux - General 2 03-24-2004 03:39 PM
How do I boot to runlevel3 from GRUB ? amp2000 Linux - General 3 02-13-2002 06:55 PM


All times are GMT -5. The time now is 12:04 AM.

Main Menu
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
identi.ca: @linuxquestions
Facebook: linuxquestions Google+: linuxquestions
Open Source Consulting | Domain Registration