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 10-29-2004, 03:50 PM   #1
aargh
LQ Newbie
 
Registered: Mar 2004
Posts: 15

Rep: Reputation: 0
How do I avoid booting up in X?


I am running Fedora and on reboot it starts up in X (gnome). What shall I change to just start up in terminal-mode?

I'm sure it's quite easy:-)
 
Old 10-29-2004, 03:52 PM   #2
Lleb_KCir
Senior Member
 
Registered: Nov 2003
Location: Orlando FL
Distribution: Debian
Posts: 1,765

Rep: Reputation: 45
edit your /etc/init.d (i think that is the correct folder) and change your default runlevel to 2 or 3...

google search for runlevel and add that fact that you have FC shound provide a better detailed howto.
 
Old 10-29-2004, 03:52 PM   #3
darkleaf
Senior Member
 
Registered: Jun 2004
Location: the Netherlands
Distribution: debian SID
Posts: 2,170

Rep: Reputation: 45
Delete gdm. You can also set it to run in a different init mode but I'm not sure how to do that.
 
Old 10-29-2004, 03:54 PM   #4
Peacedog
LQ Guru
 
Registered: Sep 2003
Location: Danville, VA
Distribution: Slackware, Windows, FreeBSD, OpenBSD, Mac OS X
Posts: 5,296

Rep: Reputation: 168Reputation: 168
Quote:
edit your /etc/init.d (i think that is the correct folder) and change your default runlevel to 2 or 3...
I believe it's /etc/inittab. ;-)
 
Old 10-29-2004, 04:02 PM   #5
aargh
LQ Newbie
 
Registered: Mar 2004
Posts: 15

Original Poster
Rep: Reputation: 0
/etc/init.d is a directory containing only executeables.

Deleting gdm? well... if I want to use X later on I can't... right? I prefer to edit the proper config file.

Does anyone know what config-file to edit so it won't boot up in X?

Last edited by aargh; 10-29-2004 at 04:04 PM.
 
Old 10-29-2004, 04:30 PM   #6
redjokerx
Member
 
Registered: Aug 2004
Location: San Diego
Distribution: Slackware
Posts: 303

Rep: Reputation: 31
I believe it's /etc/inittab

But Lleb_KCir is right. Change one of the first few lines of inittab from 5 to 3

Code:
# Default runlevel. (Do not set to 0 or 6)
id:3:initdefault:
 
Old 10-29-2004, 04:47 PM   #7
darkleaf
Senior Member
 
Registered: Jun 2004
Location: the Netherlands
Distribution: debian SID
Posts: 2,170

Rep: Reputation: 45
Quote:
Originally posted by aargh
Deleting gdm? well... if I want to use X later on I can't... right? I prefer to edit the proper config file.
You can start x then with the command line:
Code:
startx
But it won't manage sessions this way I think. It's not the proper way but I found it's the best way for me to use x. If you want to boot in the command line and start gdm then you'll have to kill it in the console cause it'll keep running otherwise.
 
Old 10-29-2004, 04:58 PM   #8
celejar
Member
 
Registered: Oct 2003
Location: New York
Distribution: Debian Sid
Posts: 185

Rep: Reputation: 30
The stuff in init.d is scripts, not the actual executables, but you still don't want to delete them. You could chmod them to be non-executable, but it's anyway the symlinks in the /etc/rc'n'.d dirs that call the init.d scripts, so you can just delete or move the symlinks out of the dir that represents the runlevel that the system is entering (e.g. 2 on Debian). The ones beginning with @S start services and processes, so you would take care of "/ect/rc'x'.d/@S'nnn'gdm".
 
  


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
how to avoid new line character gschrade Linux - Newbie 24 02-27-2004 12:14 PM
Laptops to avoid?? morrolan Linux - Laptop and Netbook 4 01-24-2004 05:59 PM
Avoid being sniffed farpa Linux - Security 4 01-16-2004 02:14 AM
Can I get a HOW-TO avoid MCSE jdc2048 General 18 06-23-2003 04:35 AM
how to avoid manual fsck thedeud Linux - General 16 04-08-2003 01:22 PM


All times are GMT -5. The time now is 02:07 AM.

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
Facebook: linuxquestions Google+: linuxquestions
Open Source Consulting | Domain Registration