LinuxQuestions.org

LinuxQuestions.org (/questions/)
-   Linux - Newbie (https://www.linuxquestions.org/questions/linux-newbie-8/)
-   -   Linux boots to Kernel instead of KDE Why? (https://www.linuxquestions.org/questions/linux-newbie-8/linux-boots-to-kernel-instead-of-kde-why-464574/)

rcurci2 07-16-2006 11:21 AM

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.

xpromisex 07-16-2006 11:38 AM

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.

raskin 07-16-2006 11:39 AM

login as root. Type 'init 5'. Press Ctrl-J. What happens?

rcurci2 07-16-2006 12:08 PM

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"

rcurci2 07-16-2006 12:15 PM

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.

johnson_steve 07-16-2006 12:16 PM

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?

raskin 07-16-2006 12:20 PM

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).

rcurci2 07-16-2006 12:31 PM

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: *

raskin 07-16-2006 12:36 PM

You can also replace it with
FontPath "/usr/share/fonts"
and I think you should run mkfontscale and mkfontdir in /usr/share/fonts .

rcurci2 07-16-2006 12:37 PM

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

rcurci2 07-16-2006 12:45 PM

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'

rcurci2 07-16-2006 01:18 PM

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.

Nylex 07-16-2006 01:37 PM

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).

rcurci2 07-16-2006 01:59 PM

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?

raskin 07-16-2006 02:20 PM

df -h
What's the output?


All times are GMT -5. The time now is 10:27 PM.