This forum has been archived. All content is frozen. Please use KDE Discuss instead.

KDE 4.1.2 crashes when logging in either as root or non-root

Tags: None
(comma "," separated)
lesterng007
Registered Member
Posts
2
Karma
0
Hi guys.....

This is my first post here since this forum started....

Last week i download, compile and install KDE 4.1.2 to my desktop computer running Ubuntu Hardy on P3 800mhz with 256mb of RAM.After installing it according to the techbase site, i tried to run startkde from terminal using Xephyr. But after the splash screen appeared, it crashes, the screen suddenly goes blank, returning me to the login screen. For debugging purpose, i do startkde > kdee.txt 2> kder.txt.

In kdee.txt, it contains ::

GOT SIGHUP

and the last few lines in kder.txt reads ::

nspluginscan(5858) scanDirectory: scanDirectory dir= "/usr/lib/mozilla/plugins"
nspluginscan(5858) scanDirectory: No files found
nspluginscan(5858) scanDirectory: scanDirectory dir= "/usr/lib64/netscape/plugins"
nspluginscan(5858) scanDirectory: No files found
nspluginscan(5858) scanDirectory: scanDirectory dir= "/usr/lib64/mozilla/plugins"
nspluginscan(5858) scanDirectory: No files found
nspluginscan(5858) scanDirectory: scanDirectory dir= "/plugins"
nspluginscan(5858) scanDirectory: No files found
nspluginscan(5858) scanDirectory: (5869)/ kdemain: Xlib XKB extension major= 1 minor= 0
krunner(5849)/kdeui (KIconLoader) KIconLoader::loadIcon: No such icon "krunner"
kdeinit4: Got EXEC_NEW '/kde/bin/kmix' from launcher.
kdeinit4: preparing to launch /kde/bin/kmix
klauncher(5833)/kio (KLauncher) KLauncher::processRequestReturn: "/kde/bin/kmix" (pid 5871) up and running.

Backtrace:
0: /usr/bin/X11/X(xf86SigHandler+0x7e) [0x80c780e]
1: [0xb7f6e420]
2: /usr/bin/X11/X [0x816fe7f]
3: /usr/lib/xorg/modules/extensions//libextmod.so [0xb7b6be6a]
4: /usr/bin/X11/X [0x814572a]
5: /usr/bin/X11/X(dixChangeGC+0xaad) [0x809cb8d]
6: /usr/lib/xorg/modules//libxaa.so [0xb7ae697a]
7: /usr/lib/xorg/modules//libxaa.so [0xb7ae6dbf]
8: /usr/bin/X11/X [0x81708af]
9: /usr/bin/X11/X(compPaintWindowBackground+0x6d) [0x810530d]
10: /usr/bin/X11/X(miClearToBackground+0x1b5) [0x8137f85]
11: /usr/bin/X11/X(ProcClearToBackground+0xc0) [0x8089a30]
12: /usr/bin/X11/X [0x815076e]
13: /usr/bin/X11/X(Dispatch+0x2cf) [0x808d8df]
14: /usr/bin/X11/X(main+0x48b) [0x807471b]
15: /lib/tls/i686/cmov/libc.so.6(__libc_start_main+0xe5) [0xb7cec685]
16: /usr/bin/X11/X(FontFileCompleteXLFD+0x201) [0x8073a91]

Fatal server error:
Caught signal 11. Server aborting

kmix: cannot connect to X server :0
(5871)/: Communication problem with "kmix" , it probably crashed.
Error message was: "org.freedesktop.DBus.Error.NoReply" : " "Message did not receive a reply (timeout by message bus)" "

kdeinit4: PID 5871 terminated.
kdeinit4: Fatal IO error: client killed
kdeinit4: sending SIGHUP to children.
[/kde/bin/nepomukservicestub] nepomukservicestub(5851)/knep (coreservices) Nepomuk::Core::~Core: Shutting down Nepomuk storage core.
klauncher: Exiting on signal 1
XIO: fatal IO error 4 (Interrupted system call) on X server ":0.0"
after 15 requests (8 known processed) with 0 events remaining.
kdeinit4: sending SIGTERM to children.
kdeinit4: Exit.
QProcess: Destroyed while process is still running.
Unexpected response from KInit (response = 0).
startkde: Could not start ksmserver. Check your installation.
kded4: Fatal IO error: client killed
xinit: connection to X server lost.
Hangup
KCrash: crashing... crashRecursionCounter = 2
KCrash: Application Name = ksmserver path = pid = 5841
Warning: connect() failed: : No such file or directory
KCrash cannot reach kdeinit, launching directly.
startkde: Shutting down...
kdeinit4_wrapper: Warning: connect(/kde/admin/.kde4/socket-doraemon-nobita/kdeinit4__0) failed: : No such file or directory
Error: Can not contact kdeinit4!
startkde: Running shutdown scripts...
QWidget: Must construct a QApplication before a QPaintDevice
xprop: unable to open display ':0'
xprop: unable to open display ':0'
startkde: Done.

I've trien console login, terminal login and GDM or KDM login, as root or not root, but to no avail..

Hope someone can help fix this problem, since i googled about this problem and i noticed that i'm not alone in having this problem..

Bye!
User avatar
JontheEchinda
KDE Developer
Posts
309
Karma
4
OS
Your XServer is crashing, which is the main problem. Unfortunately, X crashes are almost always the fault of the video driver your card uses and are hard to work around. I'd recommend trying to start KDE with another driver available for your card if possible.

It also could be some fiddly Xephyr issue, but I am not enough of an uber 1337 haxX0r to diagnose that, eheh.

Last edited by JontheEchinda on Mon Oct 13, 2008 5:29 pm, edited 1 time in total.


JontheEchinda, proud to be a member of the Kubuntu team since July 2008.
Image
Image
werner
Registered Member
Posts
4
Karma
0
I've encountered a very similar problem after updating kde 4.1.0 to 4.1.1. It's just a guess since I don't know your X configuration or even a graphic card manufacturer.

I'm using an NVidia card, my X server was crashing immediately after logging to KDE 4, with an identical output. I've spend quite a long trying to figure out, then gave up, and switched back to KDE 3. Later tried to play with my xorg.conf, finally managing to fix it, I didn't have time to investiagate the problem. I'm using Arch Linux, and I'm not sure if all paths are valid, I'm also assuming that you're using an NVidia card. So, a very short step-by-step recipe:

1: backup your xorg.conf just in case.
Code: Select all
$ sudo cp /etc/X11/xorg.conf /etc/X11/xorg.conf_working

2: generate a clear config file, you may use a graphic nvidia-settings (X Server Display Configuration -> Save to X Configuration File -> uncheck "Merge with existing file"), or text mode nvidia-xconfig:
Code: Select all
$ sudo nvidia-xconfig --output-xconfig=/etc/X11/xorg.conf --xconfig='none'
it will display a warning:
Code: Select all
WARNING: Unable to locate/open X configuration file.
but it's ok, we don't want it to read the old file.
3: if you get some errors you may need to adjust your new config file (I needed to copy HorizSync and VertRefresh from my old monitor section and to comment out 'RgbPath' option). If you can't make it work at all you always have your backup file.
4: Try logging in to KDE4 again. It worked for me without any additional problems.

Well... later I'll try to find some time and figure out the reason, now recreating a minimal xorg.conf is my only advice. Tell if my proposed solution is applicable and if it works. It's a pretty interesting bug.

Good luck.
lesterng007
Registered Member
Posts
2
Karma
0
i'm using a (what seems to be) intel i810 integrated graphics card, by the way.....

now here's the deal.....

i've adjusted the xorg.conf file and i managed to get into KDE 4.

HOWEVER, the screen resolution is set to 800x600 only.

I tried changing the resolution to 1024x768 with displayconfig-gtk (im using ubuntu hardy) but when i launch KDE 4, it crashed again...

Looks like I've to settle down to using KDE 4 in an 800x600 resolution....

Somebody must fix this ASAP because it starts to drive me crazy......
werner
Registered Member
Posts
4
Karma
0
I have no experience with Xephyr so I'm just guessing. Post your xorg.conf which lets you to log in to kde in 800x600 mode and post your old 1024x768 xorg.conf which wasn't working.

Also - start X with the old config and login to KDE4. After the crash copy and post here /var/log/Xorg.0.log.old and /var/log/Xorg.0.log (one of them will contain your crash log).


Bookmarks



Who is online

Registered users: bartoloni, Bing [Bot], Google [Bot], Sogou [Bot], Yahoo [Bot]