LinuxQuestions.org
Download your favorite Linux distribution at LQ ISO.
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 07-16-2006, 12:21 PM   #1
rcurci2
LQ Newbie
 
Registered: Jul 2006
Location: NJ
Distribution: Mandriva
Posts: 17

Rep: Reputation: 0
Linux boots to Kernel instead of KDE Why?


Just like the description says, My Desktop computer is booting itself to a click choice of "default or profile" selections, whichever you chose, it loads directly to a "shell screen"

(i'm a newbie so take it easy on me, i did search but i'm not completely oblivious to mandriva)

the Screen states.

Mandriva Linux release 2006.0 (Official) for i586
Kernel 2.6.12-12mdk on an i686 / tty1
localhost login:

Now I've logged in and tried exiting, it does nothing, the only time I can get this "shell" to do anything is from failsafe mode otherwise regular linux mode when I press enter, i insert a "^M"

I need to boot KDE basically. I don't knwo how to do that from shell. If there's even a way. I knwo how to remove the profile settings bc I setup a remote access to another linux machine on that computer, but default shouldn't have been modified.

Please god someone tell me that i can fix this without reloading kde.
 
Old 07-16-2006, 12:38 PM   #2
xpromisex
Member
 
Registered: Apr 2004
Location: Statesboro, GA
Distribution: Arch Linux 2007.05 "Duke" (Kernel 2.6.21)
Posts: 447

Rep: Reputation: 30
You said you can login, right?

So just type "startx". If that reports errors, post them here and we can see what we can do.
 
Old 07-16-2006, 12:39 PM   #3
raskin
Senior Member
 
Registered: Sep 2005
Location: France
Distribution: approximately NixOS (http://nixos.org)
Posts: 1,900

Rep: Reputation: 68
login as root. Type 'init 5'. Press Ctrl-J. What happens?
 
Old 07-16-2006, 01:08 PM   #4
rcurci2
LQ Newbie
 
Registered: Jul 2006
Location: NJ
Distribution: Mandriva
Posts: 17

Original Poster
Rep: Reputation: 0
Quote:
Originally Posted by raskin
login as root. Type 'init 5'. Press Ctrl-J. What happens?
This did nothing except move to another root line.

Quote:
Originally Posted by xpromisex
You said you can login, right?

So just type "startx". If that reports errors, post them here and we can see what we can do.
Startx said alot of stuff lol...

And surprisingly, one of the fonts i just added set an error.

Parse error on line 12 of section files in file /etc/x11/xorg.conf (my font)
(EE) Problem parsing the config file
(ee) Error parsing the config file

Fatal server error:
no screens found

Please consult the X.org foundation support at ...
for help

Please also check the log file at "/var/log/Xorg.0.log" for additional information

XIO: fatal IO error 104 (connection reset by peer) on X server ":0.0" after 0 requests (0 known processed) with 0 events remaining.

Now i'm stuck. lol I'm waiting to hear "start over"
 
Old 07-16-2006, 01:15 PM   #5
rcurci2
LQ Newbie
 
Registered: Jul 2006
Location: NJ
Distribution: Mandriva
Posts: 17

Original Poster
Rep: Reputation: 0
I Also just tried startkde and got a crap load of graphical errors, I made 2 threads, this one on this forum and one on the Mandriva forum. Seems a guy there says it's not to difficult to repair graphical errors.
 
Old 07-16-2006, 01:16 PM   #6
johnson_steve
Senior Member
 
Registered: Apr 2005
Location: BrewCity, USA (Milwaukee, WI)
Distribution: Xubuntu 9.10, Gentoo 2.6.27 (AMD64), Darwin 9.0.0 (arm)
Posts: 1,152

Rep: Reputation: 46
Post the "/var/log/Xorg.0.log" file this will give more details on the exact error.

Fatal server error:
no screens found

This usually means that xorg.conf isn't configured properly. has it ever booted into KDE or has it been like this since you installed linux? If it used to boot kde what did you change?
 
Old 07-16-2006, 01:20 PM   #7
raskin
Senior Member
 
Registered: Sep 2005
Location: France
Distribution: approximately NixOS (http://nixos.org)
Posts: 1,900

Rep: Reputation: 68
Post the line you added also. Check if it is mistyped. For this run 'mcedit /etc/xorg.conf', if you have mc installed (rather likely).
 
Old 07-16-2006, 01:31 PM   #8
rcurci2
LQ Newbie
 
Registered: Jul 2006
Location: NJ
Distribution: Mandriva
Posts: 17

Original Poster
Rep: Reputation: 0
Quote:
Originally Posted by raskin
Post the line you added also. Check if it is mistyped. For this run 'mcedit /etc/xorg.conf', if you have mc installed (rather likely).
I'll just remove the line, it was for a Widget that is not very important enough to live without KDE lol

Quote:
Originally Posted by johnson_steve
Post the "/var/log/Xorg.0.log" file this will give more details on the exact error.

Fatal server error:
no screens found

This usually means that xorg.conf isn't configured properly. has it ever booted into KDE or has it been like this since you installed linux? If it used to boot kde what did you change?
I was running in KDE for a while until i messed with things (typical uneducated linux user i guess ) lol

the exact error is

(==) Using config file: "/etc/X11/xorg.conf"
Parse error on line 12 of section Files in file /etc/X11/xorg.conf
"/usr/share/fonts/artwiz-aleczapka-en-1.3" is not a valid keyword in this section.

(ee) problem parsing the config file
(ee) error parsing the config file

Fatal server error:
No screens found

(ww) xf86CloseConsole: VT_GETSTATE failed: bad file descriptor
(ww) * KDsetmode failed: *
(ww) * VT_GETMODE failed: *
 
Old 07-16-2006, 01:36 PM   #9
raskin
Senior Member
 
Registered: Sep 2005
Location: France
Distribution: approximately NixOS (http://nixos.org)
Posts: 1,900

Rep: Reputation: 68
You can also replace it with
FontPath "/usr/share/fonts"
and I think you should run mkfontscale and mkfontdir in /usr/share/fonts .
 
Old 07-16-2006, 01:37 PM   #10
rcurci2
LQ Newbie
 
Registered: Jul 2006
Location: NJ
Distribution: Mandriva
Posts: 17

Original Poster
Rep: Reputation: 0
I just got StartX to flash the monitor but jumps back onto error's. Than tried Start KDE, loaded the same error's. which are graphical supposidly.

So the Font problem is now gone. Xorg.conf seems to be fine i can't read quick enough to see whats going on though. but startx goes farther.

I now get an error message when typing kdeinit 5 and ctrl J i get

"kdeinit: Aborting. $DISPLAY is not set."

The error i get at the bottom is the same. "please check the log file at "/var/log/Xorg.0.log" for more information

Last edited by rcurci2; 07-16-2006 at 01:39 PM.
 
Old 07-16-2006, 01:45 PM   #11
rcurci2
LQ Newbie
 
Registered: Jul 2006
Location: NJ
Distribution: Mandriva
Posts: 17

Original Poster
Rep: Reputation: 0
Quote:
Originally Posted by raskin
You can also replace it with
FontPath "/usr/share/fonts"
and I think you should run mkfontscale and mkfontdir in /usr/share/fonts .

I just ran these commands. I go over to startX and still at the end get the error i just listed above.

Than i view the file now and the file has grown dramatically.

I scroll all the way to the bottom. I see like 3 errors.

Couldn't load XKB Keymap, falling back to pre-xkb keymap

than 2 lines down.

Could not init font path element unix/:-1, removing from List!

Fatal server error:
Could not open default font 'fixed'
 
Old 07-16-2006, 02:18 PM   #12
rcurci2
LQ Newbie
 
Registered: Jul 2006
Location: NJ
Distribution: Mandriva
Posts: 17

Original Poster
Rep: Reputation: 0
It seems i'll be back online. Thank you guys for basically giving me the commands necessary to get everything going.

I didn't know any of the commands, i needed both the help from you guys and wiki.x.org and the first answer on the how-to is to point the FontPath in the right direction.

http://wiki.x.org/wiki/FAQErrorMessa...114e2c04a573a3

I just have to figure out how to get KDE to auto start now.
 
Old 07-16-2006, 02:37 PM   #13
Nylex
LQ Addict
 
Registered: Jul 2003
Location: London, UK
Distribution: Slackware
Posts: 7,464

Rep: Reputation: Disabled
Quote:
Originally Posted by rcurci2
I just have to figure out how to get KDE to auto start now.
If you mean so your system boots to a graphical login, rather than a text based one, then you just need to change the default runlevel. This can be done by editing /etc/inittab and changing the 3 to a 5 in the following line "id:3:initdefault:". 5 is the runlevel for a GUI in most distros, but check what the comments say at the top of the file (usually there's a list of the runlevels and what they're for).
 
Old 07-16-2006, 02:59 PM   #14
rcurci2
LQ Newbie
 
Registered: Jul 2006
Location: NJ
Distribution: Mandriva
Posts: 17

Original Poster
Rep: Reputation: 0
Quote:
Originally Posted by Nylex
If you mean so your system boots to a graphical login, rather than a text based one, then you just need to change the default runlevel. This can be done by editing /etc/inittab and changing the 3 to a 5 in the following line "id:3:initdefault:". 5 is the runlevel for a GUI in most distros, but check what the comments say at the top of the file (usually there's a list of the runlevels and what they're for).

This is good information

I thought i was done, "KDE" started for user Root. But not for my main user.

I get an error message.

" The Following installation problem was detected while trying to start KDE:
Temp directory (/tmp) is out of disk space.
KDE is unable to start"

With a fresh 80gb hard drive, nothing should be out of space. what'd i do here?
 
Old 07-16-2006, 03:20 PM   #15
raskin
Senior Member
 
Registered: Sep 2005
Location: France
Distribution: approximately NixOS (http://nixos.org)
Posts: 1,900

Rep: Reputation: 68
df -h
What's the output?
 
  


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
redhat enterprise linux 4 boots slow with 2 GB RAM , boots fast with 512MB robinsingh Linux - Hardware 14 08-27-2008 12:34 AM
Linux boots very slowly with 2.6 kernel Mikessu Linux - General 6 09-20-2004 08:46 PM
boots fine, but won't pull up KDE. kells80 Mandriva 1 08-10-2004 06:53 AM
Can't Start KDE, Only Boots To Console HyBriDJoKeR Slackware 9 06-26-2004 06:09 AM
KDE crashes.. linux no longer boots idoubleL Linux - General 4 08-25-2003 11:53 PM

LinuxQuestions.org > Forums > Linux Forums > Linux - Newbie

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