You are not logged in.

#1 2012-08-31 15:28:32

gbj13
Member
Registered: 2010-05-06
Posts: 109

kdm fails with systemd

Hello, i recently started using systemd and followed the instructions given in the wiki.  The problem is that systemd drops me on a terminal instead of starting kde.  I was wondering if anyone knew how to fix this problem?
Right now I have to stop the systemd service from running ad start kdm as root to get into kde.

I have of course used the command

systemctl enable kdm.service

journalctl shows me this error

kdm[297]: X server died during startup
kdm[297]: X server for display :0 cannot be started, session disabled

Any help on this problem would be greatly appreciated.  Thank you.

Offline

#2 2012-08-31 20:29:25

LordChaos73
Member
From: .nl
Registered: 2008-11-11
Posts: 183

Re: kdm fails with systemd

Apparently your X server won't start, that's why kdm isn't able to run.

Have a look at:

~/.xsession-errors

and

/var/log/Xorg.0.log

Anything useful in there ?

Offline

#3 2012-09-02 19:17:09

gbj13
Member
Registered: 2010-05-06
Posts: 109

Re: kdm fails with systemd

Thank you for your reply.  I found nothing interesting in xsession-errors, except for errors about inotify.  I however found this in my Xorg.0.log

 64.835] (**) NVIDIA(0):     EDID frequencies has been enabled on all display
[    64.835] (**) NVIDIA(0):     devices.)
[   137.664] [mi] EQ overflowing.  Additional events will be discarded until existing events are processed.
[   137.664] 
[   137.664] Backtrace:
[   137.664] 0: /usr/bin/X (xorg_backtrace+0x36) [0x560366]
[   137.664] 1: /usr/bin/X (mieqEnqueue+0x26b) [0x54161b]
[   137.664] 2: /usr/bin/X (0x400000+0x47f92) [0x447f92]
[   137.665] 3: /usr/lib/xorg/modules/input/evdev_drv.so (0x7f8b1e831000+0x5f74) [0x7f8b1e836f74]
[   137.665] 4: /usr/bin/X (0x400000+0x6efd7) [0x46efd7]
[   137.665] 5: /usr/bin/X (0x400000+0x93370) [0x493370]
[   137.665] 6: /usr/lib/libpthread.so.0 (0x7f8b257da000+0xf170) [0x7f8b257e9170]
[   137.665] 7: /usr/lib/xorg/modules/drivers/nvidia_drv.so (0x7f8b1f37a000+0x8f22f) [0x7f8b1f40922f]
[   137.665] 8: /usr/lib/xorg/modules/drivers/nvidia_drv.so (0x7f8b1f37a000+0x90126) [0x7f8b1f40a126]
[   137.665] 9: /usr/lib/xorg/modules/drivers/nvidia_drv.so (0x7f8b1f37a000+0x117011) [0x7f8b1f491011]
[   137.665] 10: /usr/lib/xorg/modules/drivers/nvidia_drv.so (0x7f8b1f37a000+0xb17b0) [0x7f8b1f42b7b0]
[   137.665] 11: /usr/lib/xorg/modules/drivers/nvidia_drv.so (0x7f8b1f37a000+0x52ea90) [0x7f8b1f8a8a90]
[   137.665] 12: /usr/bin/X (0x400000+0xf2119) [0x4f2119]
[   137.665] 13: /usr/bin/X (0x400000+0xbb005) [0x4bb005]
[   137.665] 14: /usr/bin/X (0x400000+0xbc35f) [0x4bc35f]
[   137.665] 15: /usr/bin/X (0x400000+0xb94cc) [0x4b94cc]
[   137.665] 16: /usr/bin/X (ConfigureWindow+0x378) [0x45d578]
[   137.665] 17: /usr/bin/X (0x400000+0x2efd4) [0x42efd4]
[   137.665] 18: /usr/bin/X (0x400000+0x34531) [0x434531]
[   137.665] 19: /usr/bin/X (0x400000+0x23615) [0x423615]
[   137.665] 20: /usr/lib/libc.so.6 (__libc_start_main+0xf5) [0x7f8b24686725]
[   137.665] 21: /usr/bin/X (0x400000+0x238ed) [0x4238ed]
[   137.665] 
[   137.665] [mi] These backtraces from mieqEnqueue may point to a culprit higher up the stack.
[   137.665] [mi] mieq is *NOT* the cause.  It is a victim.
[   137.737] [mi] Increasing EQ size to 512 to prevent dropped events.
[   137.737] [mi] EQ processing has resumed after 15 dropped events.
[   137.737] [mi] This may be caused my a misbehaving driver monopolizing the server's resources.

I have no idea what is happening here.  I have the latest nvidia driver from core.

Offline

#4 2012-09-03 18:29:28

theshadster
Member
Registered: 2012-08-06
Posts: 29

Re: kdm fails with systemd

Seems to be an old-ish bug:

https://bugs.archlinux.org/task/29503

Are you using the latest nvidia driver ? My i686 nvidia driver is fine, for what it's worth - driver version 304.43.

Offline

#5 2012-09-03 18:50:38

gbj13
Member
Registered: 2010-05-06
Posts: 109

Re: kdm fails with systemd

Yes I am using the latest driver.  I managed to fix this problem temprarily by removing xorg.conf.  I am hoping that the next nvidia update will fix this problem.

Offline

#6 2014-02-15 00:43:39

c2ypt1c
Member
Registered: 2012-01-05
Posts: 10

Re: kdm fails with systemd

I know this is an old post but I just ran into this problem and it turned out to be related to the config file /etc/X11/xorg.conf.d/50-synaptics.conf. I manually entered some settings and it must have screwed things up.

Offline

#7 2014-02-15 01:16:11

ewaller
Administrator
From: Pasadena, CA
Registered: 2009-07-13
Posts: 20,722

Re: kdm fails with systemd

c2ypt1c wrote:

I know this is an old post but I just ran into this problem and it turned out to be related to the config file /etc/X11/xorg.conf.d/50-synaptics.conf. I manually entered some settings and it must have screwed things up.

Yes.  KDE has changed a lot in a year and a half.  I am going to close this thread.  Feel free to start a new thread and, if you still feel this thread is relevant, link back to this thread.

Closing


Nothing is too wonderful to be true, if it be consistent with the laws of nature -- Michael Faraday
The shortest way to ruin a country is to give power to demagogues.— Dionysius of Halicarnassus
---
How to Ask Questions the Smart Way

Offline

Board footer

Powered by FluxBB