LinuxQuestions.org
Latest LQ Deal: Latest LQ Deals
Home Forums Tutorials Articles Register
Go Back   LinuxQuestions.org > Forums > Linux Forums > Linux - Distributions > Slackware
User Name
Password
Slackware This Forum is for the discussion of Slackware Linux.

Notices


Reply
  Search this Thread
Old 09-19-2009, 06:49 AM   #1
justin_p
Member
 
Registered: Jan 2004
Location: Virginia, USA
Distribution: slack 13; I've used it all :)
Posts: 433

Rep: Reputation: 30
Sometimes X and KDM/KDE won't start....


I have a SW 13 install that is running strong. I truly love it. No real hiccups. Sometimes X won't start. This is on a reboot or when I power-up the machine in the morning. Everything seems to be fine during the start-up then once X starts I don't kicked back to a prompt saying there was an error I get to a black screen with a blinking cursor and if I move the move I get a rectangle to move around the screen. Like I said, it isn't everytime. I have a 32bit install with my NVIDIA card with the NVIDIA driver installed. I have looked at the logs but nothing seems to stick out. Also, I have tried it with the desktop effects on and off. KDM is set to autologin.

So....any thoughts....?
 
Old 09-19-2009, 10:45 AM   #2
stinkytaco
LQ Newbie
 
Registered: Oct 2008
Location: Fargo, ND
Distribution: Slackware 13
Posts: 14

Rep: Reputation: 1
I have a similar problem but with a different set of circumstances. I use SLiM (though I was using KDM) and have an Intel Graphics card (915resolution driver). Sometimes X just won't start and won't kick me back to a terminal. Just hangs and I have to hard reboot. Don't know if they are two separate problems or not...
 
Old 09-19-2009, 01:38 PM   #3
justin_p
Member
 
Registered: Jan 2004
Location: Virginia, USA
Distribution: slack 13; I've used it all :)
Posts: 433

Original Poster
Rep: Reputation: 30
Once I turned off auto-logon, there was no issue. Weird.
 
Old 09-20-2009, 08:05 AM   #4
justin_p
Member
 
Registered: Jan 2004
Location: Virginia, USA
Distribution: slack 13; I've used it all :)
Posts: 433

Original Poster
Rep: Reputation: 30
Even with auto log in turned off, it did the same thing off a cold start this morning. I am going to dig in the logs.

Justin
 
Old 09-20-2009, 11:03 AM   #5
Woodsman
Senior Member
 
Registered: Oct 2005
Distribution: Slackware 14.1
Posts: 3,482

Rep: Reputation: 546Reputation: 546Reputation: 546Reputation: 546Reputation: 546Reputation: 546
I like to have two boot options for any system on my hard drives: one for run level 3 (init 3) and one for run level 4 (init 4). Although run level 4 is nice for many people, troubleshooting X issues is easier from run level 3.

You also can modify the run level by editing /etc/inittab.

Either way, boot into run level 3. Login at the command prompt. To start X/KDE use the startx command, which actually is a shell script.

If you get slapped back to the command line, examine the X logs:

grep '(EE)' /var/log/Xorg.0.log
grep '(WW)' /var/log/Xorg.0.log

X normally will boot with warning (WW) messages, but often will not boot with error (EE) messages.
 
Old 09-20-2009, 01:03 PM   #6
justin_p
Member
 
Registered: Jan 2004
Location: Virginia, USA
Distribution: slack 13; I've used it all :)
Posts: 433

Original Poster
Rep: Reputation: 30
Woodsman: I could get X to start going over to a console, logging in and starting X.

I found the issue in my logs. KDM was timing out waiting for X to fully start. It has to do with the NVIDIA driver taking a few seconds to start. The explanation and the solution here: http://bugs.debian.org/cgi-bin/bugreport.cgi?bug=524751

Last edited by justin_p; 09-20-2009 at 01:04 PM.
 
  


Reply



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
Need to login twice to start KDE with compiz and kde-window-decorator from kdm allend Slackware 3 06-16-2008 06:54 PM
I cannot start kdm - kde Amador Linux - Software 4 11-07-2005 03:34 PM
KDM won't start my KDE... ssobeht Linux - Software 1 02-16-2005 03:17 PM
kdm won't start kde seb3579 Linux - Software 12 09-12-2004 11:33 PM
KDM won't start KDE marsonist Linux - General 1 12-10-2002 03:50 PM

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

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