Bug 130100

Summary: sometimes KDE is not loaded during boot process
Product: [openSUSE] SUSE LINUX 10.0 Reporter: F. Seidel <dgfs>
Component: KDEAssignee: E-mail List <kde-maintainers>
Status: RESOLVED WORKSFORME QA Contact: E-mail List <qa-bugs>
Severity: Normal    
Priority: P5 - None CC: eich, hvogel, stefan.brandner
Version: unspecified   
Target Milestone: ---   
Hardware: x86-64   
OS: Other   
Whiteboard:
Found By: Customer Services Priority:
Business Priority: Blocker: ---
Marketing QA Status: --- IT Deployment: ---
Attachments: The file /var/log/messages
The file /var/log/kdm.log
All needed log files

Description F. Seidel 2005-10-21 21:20:54 UTC
Sometimes the boot process does not start KDE. It remains on the console login.

If i enter the 'init 5' command after login, nothing happens. If i enter first
'init 3' and after that 'init 5' KDE is started.
Comment 1 Berthold Gunreben 2005-10-25 15:23:45 UTC
Please have a look at
http://www.opensuse.org/Submit_a_bug#Reporting_a_Bug

All SUSE Linux OSS bugs should go into the product SUSE LINUX 10.0 or
newer, because SUSE Linux is based on the SUSE Linux OSS code base.
Always choose the right product when reporting a bug
Comment 2 Dr. Werner Fink 2005-10-25 15:37:09 UTC
Out of memory for KDE display manager?
Please report how many RAM this system includes?
Comment 3 Stephan Kulow 2005-10-25 16:11:43 UTC
I want to see /var/log/kdm.log /var/log/messages and ~/.xsession-errors - do you use autologin or not?
Comment 4 F. Seidel 2005-10-25 16:28:48 UTC
The system has 1GB of RAM.

I use autologin. The files are appended, except ~/.xsession-errors. I do not found this file.
Comment 5 F. Seidel 2005-10-25 16:31:55 UTC
Created attachment 55340 [details]
The file /var/log/messages
Comment 6 F. Seidel 2005-10-25 16:32:33 UTC
Created attachment 55341 [details]
The file /var/log/kdm.log
Comment 7 Stephan Kulow 2005-10-26 15:54:03 UTC
Oct 18 10:05:47 linux kdm[5970]: X server startup timeout, terminating
Oct 18 10:05:52 linux kdm[5970]: X server for display :0 can't be started, session disabled

and it always shows together with vmnet-dhcpd - are you saying you run vmware? What is vmnet-dhcpd? I never heared of it.

Unfortunately it's impossible to say what happens there as the kdm.log doesn't have timings. We would need the logs if the session failed. 
Comment 8 F. Seidel 2005-10-26 17:56:53 UTC
i read the both files and i also see the startup timeout. But why is the startup timed-out? That's the interesting question.

Yes, i run vmware. I don't know what vmnet -dhcpd is. I heard it the first time. 

Which logs you exactly needs if the session failed?
Comment 9 Stephan Kulow 2005-10-27 07:32:29 UTC
tar up messages, kdm.log and Xorg.* from /var/log the next time your session fails - before you rapair it.
Comment 10 F. Seidel 2005-11-15 17:34:25 UTC
Created attachment 57399 [details]
All needed log files

Sorry for my late response.

Here are the files.
Comment 11 Egbert Eich 2005-11-24 15:06:46 UTC
Unfortunately the log files are still inconclusive.
All logfiles you have sent indicate that there is no problem and everything is good.
Maybe you should try the following:
Before you do the 'init 3; init 5' step, please check the timestamp of your XOrg.0.log file and see if it was generated *after* the last boot. Please do the same for the kdm.log file. There may be a problem with the 3D fireglx kernel module. Would you please turn off 3D (remove the line which loads the DRI module in the "modules" section of your config file) and see if the problem still occurs.
Comment 12 Stefan Brandner 2006-03-18 18:19:12 UTC
I have exactly the same problem. I get exactly the same message as Stephan Kulow.
Mar 18 18:37:45 Popper kdm[7034]: X server startup timeout, terminating
Mar 18 18:37:53 Popper kdm[7034]: X server for display :0 can't be started, session disabled

When I now start kdm manually I get the message:
Mar 18 18:39:29 Popper kdm[7803]: Can't lock pid file /var/run/kdm.pid, another xdm is running (pid 7034)

So after deleting /var/run/kdm.pid kde starts fine with kdm.

Since kdm was never really started kdm.log does not get any updates. As soon as it is restarted eg. with init 3 and init 5 xorg.log and kdm.log get data. I checked the timings of the log files.
Comment 13 Stefan Brandner 2006-03-19 08:40:36 UTC
I found a workaround for the problem. 
In /etc/init.d/rc5.d I renamed K19earlykdm to K22earlykdm.
Then kdm is started later in the boot process.
This works so far.
Comment 14 Stephan Kulow 2006-05-07 11:39:01 UTC
no idea what's causing it, but it seems a very rare problem and I can't fix such ;(