LinuxQuestions.org
Latest LQ Deal: Linux Power User Bundle
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-31-2006, 12:08 AM   #1
A1programmer
LQ Newbie
 
Registered: Aug 2006
Posts: 4

Rep: Reputation: 0
Question Preventing the GUI from starting up


Hello, I'm using Fedora Core 5...

1) How can I prevent the graphical interface from loading and starting up?
- When I turn on my machine, I want to be taken to the login prompt.

2) Can I undo whatever I do in step 1, and make the gui auto load and start in the future?


Also, how can I then get into gnome if I do want to?

I'm confused about what exactly xWindows, Gnome, and KDE are. I know that Gnome and KDE are the same type of entity, but what that is, I am not sure I think that they both run on top of x-Windows.

Any help, info would be MUCH appriciated.

thanks ...
 
Old 08-31-2006, 12:20 AM   #2
gilead
Senior Member
 
Registered: Dec 2005
Location: Brisbane, Australia
Distribution: Slackware64 14.0
Posts: 4,125

Rep: Reputation: 164Reputation: 164
The file /etc/inittab holds the setting for your default run level. Since you're running FC5 and you boot straight into a GUI, you should have the following somewhere in yours:
Code:
id:5:initdefault:
If you change this to the following then in future you will boot to a text login prompt:
Code:
id:3:initdefault:
Yes, you can change it back - just put the default run level back to 5. Once you have logged in at the text prompt, just type startx to start your GUI.
 
Old 08-31-2006, 12:21 AM   #3
asimba
Member
 
Registered: Mar 2005
Location: 127.0.0.0
Distribution: Red Hat / Fedora
Posts: 355

Rep: Reputation: 42
edit inittab - chnage default run level to 3.
 
Old 08-31-2006, 12:25 AM   #4
asimba
Member
 
Registered: Mar 2005
Location: 127.0.0.0
Distribution: Red Hat / Fedora
Posts: 355

Rep: Reputation: 42
startx will start gui with in given user context - where as init 5 starts global gui mode ( you may need other privileges for that).
 
Old 08-31-2006, 12:28 AM   #5
dive
Senior Member
 
Registered: Aug 2003
Location: UK
Distribution: Slackware
Posts: 3,232

Rep: Reputation: 299Reputation: 299Reputation: 299
Another thing you can do is the 'init' or 'telinit' command as root, which works temporarily. Ie

init 3/5
telinit 3/5
 
Old 08-31-2006, 01:30 AM   #6
BiThian
Member
 
Registered: Aug 2006
Location: Romania
Distribution: NetBSD 3.1
Posts: 118

Rep: Reputation: 15
Or, if you have grub press e to edit and add 3 to the end of your line
 
Old 08-31-2006, 02:02 PM   #7
A1programmer
LQ Newbie
 
Registered: Aug 2006
Posts: 4

Original Poster
Rep: Reputation: 0
Wow... I really appriciate all the help. That helped a lot.

Another thing, (not highly important). While in X windows, how can I close x Windows without doing a full reboot. In other words, how can I quit the x windows session, and go to a command line only session(if that's what it's called... if not please correct).
 
Old 08-31-2006, 02:08 PM   #8
nmn
LQ Newbie
 
Registered: Aug 2006
Posts: 24

Rep: Reputation: 15
Pretty sure its called that. Anyways, Hold CTRL+ALT+Backspace for a sec and X windows should die right back to the console. Anyways, thats what i use for Xgl and X.org

edit: Also possible: Goto an xterm, konsole, gnome-terminal, or other terminal and type init 3[enter]. This will bring you to the classic login, where you can... log in. To go back, init 5. I think on some distribs, you can press CTRL+ALT+2 to get to a different console, then press CTRL+ALT+7 to get back to Xwindows with out closing it or any thing.

Last edited by nmn; 08-31-2006 at 02:11 PM.
 
Old 08-31-2006, 05:07 PM   #9
A1programmer
LQ Newbie
 
Registered: Aug 2006
Posts: 4

Original Poster
Rep: Reputation: 0
thanks nmn, now I see what dave was talking about.
 
  


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
Preventing a network interface from starting at startup? extrasolar Linux - Networking 4 07-10-2006 03:28 PM
Preventing multiple instances of MPlayer (GUI) MrPotato Linux - Software 1 08-22-2005 05:02 PM
Preventing X from starting automatically DeadlySin3 Linux - Newbie 6 04-11-2005 06:26 AM
starting GUI garf12 Linux - Newbie 2 12-10-2003 07:27 AM
starting gui scudjockey Linux - General 2 03-17-2002 06:07 AM


All times are GMT -5. The time now is 09:07 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
Facebook: linuxquestions Google+: linuxquestions
Open Source Consulting | Domain Registration