LinuxQuestions.org
Help answer threads with 0 replies.
Go Back   LinuxQuestions.org > Forums > Linux Forums > Linux - Distributions > Mandriva
User Name
Password
Mandriva This Forum is for the discussion of Mandriva (Mandrake) Linux.

Notices


Reply
  Search this Thread
Old 01-26-2005, 08:04 PM   #1
Not Again
LQ Newbie
 
Registered: Aug 2004
Posts: 6

Rep: Reputation: 0
Why does Mandrake boot into the Shell


I finally got a friend to try Mandrake. When he boots Mandrake it opens the Shell, tried startx and startkde but it says can't connect to x server. What are some possible causes and fixes for this. Thanks.
 
Old 01-26-2005, 08:38 PM   #2
linuxLuser
Member
 
Registered: Jan 2005
Distribution: Gentoo
Posts: 111

Rep: Reputation: 16
If it boots into the shell, that means it probably using runtime 3. You need to use runtime 5.

If this is all greek to you then I'll try and explain a little bit, but I'm using a Windows machine right now and I don't have access to a Linux box at the moment...

It's in /etc/inittab. If you edit this file, you should see a place where it indicates the default runlevel (It's usually well-commented in this file). It should look something like this:

Quote:
id:3:initdefault:
You should be able to just change the 3 to a 5 and reboot.

As far as X not starting up, that could be because you need to start the comp in runlevel 5 (so it loads necessary modules and whatnot). If that doesn't work, then I'll need the tail end of the of the X log file (/var/log/Xorg.log or something like that). Sorry for not being very specific at the moment. I just can't remember all the details off the top of my head

-- the dudeman

Last edited by linuxLuser; 01-26-2005 at 08:40 PM.
 
Old 01-27-2005, 12:35 AM   #3
RoofRabbit
Member
 
Registered: Mar 2004
Location: Lenoir, NC USA
Distribution: Mandrake 10.2
Posts: 129

Rep: Reputation: 15
This will also happen if the video card drivers are incorrect for the card iin use.
 
Old 01-27-2005, 04:55 AM   #4
jschiwal
LQ Guru
 
Registered: Aug 2001
Location: Fargo, ND
Distribution: SuSE AMD64
Posts: 15,733

Rep: Reputation: 682Reputation: 682Reputation: 682Reputation: 682Reputation: 682Reputation: 682
Sounds like the x windows system isn't set up correctly, due to either the wrong video driver being selected or a bad monitor selection. The startx command will change from init 3 to init 5.

As root, you can run the setup program as root: XFdrake.

If you can't select the proper video driver, select the 'vesa' driver. Then make sure the monitor settings are correct. The vesa driver is a generic nonaccelerated driver that most cards can use.

If the vesa driver works, then you need to supply more information about your video card and the /etc/XF86config settings before we can help.

Last edited by jschiwal; 01-27-2005 at 04:57 AM.
 
  


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
boot to shell? jbzy3000 Fedora 1 02-18-2005 11:50 PM
How to boot into the shell tripwire45 Linux - Newbie 4 08-10-2004 10:47 AM
how to boot only with shell utsav_verma Linux - Newbie 4 05-01-2004 12:49 PM
me wants 2 boot to the shell WITHOUT AUTHENTICATION! funkymunky Linux - General 11 10-20-2003 02:31 PM
how can i boot to the shell WITHOUT AUTHENTICATION? funkymunky Linux - Networking 1 10-19-2003 09:36 AM

LinuxQuestions.org > Forums > Linux Forums > Linux - Distributions > Mandriva

All times are GMT -5. The time now is 05:11 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
Open Source Consulting | Domain Registration