LinuxQuestions.org
Share your knowledge at the LQ Wiki.
Go Back   LinuxQuestions.org > Forums > Linux Forums > Linux - Software
User Name
Password
Linux - Software This forum is for Software issues.
Having a problem installing a new program? Want to know which application is best for the job? Post your question in this forum.

Notices

Reply
 
LinkBack Search this Thread
Old 12-19-2005, 12:33 AM   #1
sailu_mvn
Member
 
Registered: Sep 2004
Location: Hyderabad
Distribution: FEDORA,REDHAT,HOST
Posts: 440
Blog Entries: 1

Rep: Reputation: 30
Post default runlevel 3


I want only text mode Desktop..
I want to keep the runlevel 3 which does that
i have messed around with inittab file but it does not work
How to do it?
 
Old 12-19-2005, 01:04 AM   #2
reddazz
Guru
 
Registered: Nov 2003
Location: N. E. England
Distribution: Fedora, CentOS, Debian
Posts: 16,298

Rep: Reputation: 70
What distro are you using. On most distros you need to change the default runlevel from 5 (or 4) to 3. What happens whn you run "init 3" as root.
 
Old 12-19-2005, 01:47 AM   #3
sailu_mvn
Member
 
Registered: Sep 2004
Location: Hyderabad
Distribution: FEDORA,REDHAT,HOST
Posts: 440
Blog Entries: 1

Original Poster
Rep: Reputation: 30
i use Fedora Core3. init3 is no command ....
any ideas?
 
Old 12-19-2005, 01:50 AM   #4
Nylex
LQ Addict
 
Registered: Jul 2003
Location: London, UK
Distribution: Slackware
Posts: 7,370

Rep: Reputation: Disabled
You need the space between the word "init" and the 3. Are you sure you were trying as root? What did you change in inittab?
 
Old 12-19-2005, 01:53 AM   #5
reddazz
Guru
 
Registered: Nov 2003
Location: N. E. England
Distribution: Fedora, CentOS, Debian
Posts: 16,298

Rep: Reputation: 70
"init 3" and not "init3" as root.
 
Old 12-19-2005, 01:54 AM   #6
Bremsstrahlung
Member
 
Registered: Jul 2005
Location: Maine, USA
Distribution: Debian & Slackware
Posts: 77

Rep: Reputation: 15
In some distros you need to use "telinit" instead of "init" as well. What you really need to do is figure out which runlevel is which. I don't use Fedora, so I'm honestly not sure, but if all else fails you can edit your runlevel (which, in Debian, is what you MUST do if you want to start out in text mode, since all standard Debian runlevels start a gui unless you tell them otherwise)
 
Old 12-19-2005, 02:06 AM   #7
denver1980
Member
 
Registered: Dec 2004
Location: Québec
Distribution: Gentoo, Kubuntu Karmic
Posts: 48

Rep: Reputation: 15
Wink

Check you file /etc/inittab.
Look for a line starting with id
Change it from :
Code:
id:4:initdefault:
To :
Code:
id:3:initdefault:
Enjoy !
 
  


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


Similar Threads
Thread Thread Starter Forum Replies Last Post
default runlevel 2 ? javb Ubuntu 3 10-28-2005 12:39 PM
default runlevel for Mandrake 10 lmcilwain Linux - Newbie 7 01-24-2005 10:56 AM
Default WM on Suse 9.2 @ Runlevel 5 maelstrom209 Linux - Software 2 12-06-2004 02:13 PM
Runlevel 5 default services pete_bogg Red Hat 7 10-31-2003 06:55 PM
debian default runlevel viniosity Linux - Software 3 03-31-2003 07:29 PM


All times are GMT -5. The time now is 12:44 PM.

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
Open Source Consulting | Domain Registration