LinuxQuestions.org
Review your favorite Linux distribution.
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 05-30-2004, 07:56 AM   #1
DiscoBiscuit
Member
 
Registered: May 2004
Posts: 31

Rep: Reputation: 15
Mandrake boots into command prompt instead of GUI


Hi, I installed Mandrake 10 last night, and after quite a bit of messing around I thought I'd finally sorted it all out. However, I've tried to load it up today and instead of going into the GUI its just giving me a command prompt and prompting me to login. It was working last night, I even restarted several times to make sure but I dont know what to do. Any help would be much appreciated
 
Old 05-30-2004, 09:08 AM   #2
Hangdog42
LQ Veteran
 
Registered: Feb 2003
Location: Maryland
Distribution: Slackware
Posts: 7,803
Blog Entries: 1

Rep: Reputation: 416Reputation: 416Reputation: 416Reputation: 416Reputation: 416
The problem is likely in your /etc/inittab file. Go ahead and log in (go ahead and do this as root) then jump into the /etc directory. Fire up a text editor (pico is a good choice) and open the inittab file. Your looking for a line that looks something like:

id:3:initdefault:


You want to change that 3 to a 5. Save and exit the editor. When you re-boot you should be in graphical mode.
 
Old 05-30-2004, 09:22 AM   #3
DiscoBiscuit
Member
 
Registered: May 2004
Posts: 31

Original Poster
Rep: Reputation: 15
It's already on 5
I tried typing startx and it gives me a message thats something like
Fatal Server Error
No Screens Found


I just don't understand how it can stop working overnight without me changing anything
 
Old 05-30-2004, 09:39 AM   #4
xptential
LQ Newbie
 
Registered: May 2004
Distribution: Yoper Gentoo Debian Overclockix
Posts: 6

Rep: Reputation: 0
what happens if you type kde at the commandline prompt?
 
Old 05-30-2004, 09:39 AM   #5
|2ainman
Member
 
Registered: Mar 2004
Distribution: Slackware current, DSL 0.9.2
Posts: 133

Rep: Reputation: 15
try re-running xf86config

and what exactly do you mean by "quite a bit of messing around" ... cuz if it worked before, then you've obviously done something to it, so you should trace ur steps back. List anything and everything you can remember doing when X was still working.

Last edited by |2ainman; 05-30-2004 at 09:41 AM.
 
Old 05-30-2004, 09:53 AM   #6
DiscoBiscuit
Member
 
Registered: May 2004
Posts: 31

Original Poster
Rep: Reputation: 15
had to install the ati drivers (im using a 9700) using the command prompt, which was a bit confusing considering i've never used linux before yesterday
It WAS working though, I restarted the system several times booting into linux and it worked fine, the only difference this time was that the computer was turned off overnight, not just restarted.
Will go try rerunning xf86config now
back soon
 
Old 05-30-2004, 10:41 AM   #7
DiscoBiscuit
Member
 
Registered: May 2004
Posts: 31

Original Poster
Rep: Reputation: 15
OK, I re-ran xf86config and it's let me boot into Linux (I'm posting from it now)
How can I ensure that it stays working?
 
Old 05-30-2004, 10:48 AM   #8
Hangdog42
LQ Veteran
 
Registered: Feb 2003
Location: Maryland
Distribution: Slackware
Posts: 7,803
Blog Entries: 1

Rep: Reputation: 416Reputation: 416Reputation: 416Reputation: 416Reputation: 416
You shouldn't need to do anything else. xf86config should write a file called /etc/X11/XF86Config that contains all the proper settings. As long as that file is not altered, your system should always boot up the same way.
 
Old 05-30-2004, 10:51 AM   #9
DiscoBiscuit
Member
 
Registered: May 2004
Posts: 31

Original Poster
Rep: Reputation: 15
But this is exactly what happened last night, and when I turned on this morning it didnt work again......
 
Old 05-30-2004, 10:58 AM   #10
Hangdog42
LQ Veteran
 
Registered: Feb 2003
Location: Maryland
Distribution: Slackware
Posts: 7,803
Blog Entries: 1

Rep: Reputation: 416Reputation: 416Reputation: 416Reputation: 416Reputation: 416
Well, look at it this way, if you turn it off and it happens again, you know how to fix it. I know this isn't a long term solution, but at the moment you've done everything correctly. If XF86config isn't saving the parameters, then we have a bit more to go on, but at the moment, we can only assume that the problem is solved. At this point I'd try a complete shutdown and see if the changes took.
 
Old 05-30-2004, 11:29 AM   #11
Icemangod
LQ Newbie
 
Registered: May 2004
Posts: 14

Rep: Reputation: 0
i have a simmilar problem but when i type in kde it told me unknown command. and i did what you guys wrote here and it dont seem to be saving my settings at all.

i also posted here so look there see whats going on. http://www.linuxquestions.org/questi...935#post961935
 
Old 05-30-2004, 12:07 PM   #12
DiscoBiscuit
Member
 
Registered: May 2004
Posts: 31

Original Poster
Rep: Reputation: 15
It seems to be ok for the moment...........
Thanks
 
Old 05-30-2004, 05:45 PM   #13
Icemangod
LQ Newbie
 
Registered: May 2004
Posts: 14

Rep: Reputation: 0
fixed it myself thanks
 
  


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
only boots in command prompt JoeUser11 Red Hat 3 01-10-2005 11:51 PM
Creating a kernel that boots STRAIGHT to command prompt? black hole sun Linux - General 8 08-08-2004 01:51 PM
boots to command but I need GUI coopns Linux - Newbie 9 05-27-2004 01:34 PM
Another boots into command prompt question Jhorra Mandriva 5 04-03-2004 02:53 AM
Mandrake 9.1 boots into shell prompt instead of KDE environment? DanIdentity Linux - Software 5 10-05-2003 01:01 AM


All times are GMT -5. The time now is 06:39 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