You are not logged in.

#1 2011-10-19 15:06:00

DivisionByZero
Member
Registered: 2011-10-17
Posts: 3

kdeinit4 crashes on startup. kdm.log tells: No DBUS session-bus found.

Hello everyone,

I am new to archlinux and linux at general. With the excellent wiki I was able to install archlinux and KDE.
Now about the problem:

When I login (through KDM) I get a notification that kdeinit4 crashed. So I checked the files in /var/log and kdm.log tells:

X.Org X Server 1.11.1
Release Date: 2011-09-24
X Protocol Version 11, Revision 0
Build Operating System: Linux 3.0-ARCH x86_64 
Current Operating System: Linux myhost 3.0-ARCH #1 SMP PREEMPT Fri Oct 7 11:35:34 CEST 2011 x86_64
Kernel command line: root=/dev/disk/by-uuid/08fbcf29-0571-47f6-9e20-3235b315a7c4 ro vga=795
Build Date: 10 October 2011  08:55:30AM
 
Current version of pixman: 0.22.2
	Before reporting problems, check http://wiki.x.org
	to make sure that you have the latest version.
Markers: (--) probed, (**) from config file, (==) default setting,
	(++) from command line, (!!) notice, (II) informational,
	(WW) warning, (EE) error, (NI) not implemented, (??) unknown.
(==) Log file: "/var/log/Xorg.0.log", Time: Wed Oct 19 08:54:07 2011
(==) Using config file: "/etc/X11/xorg.conf"
(==) Using config directory: "/etc/X11/xorg.conf.d"
The XKEYBOARD keymap compiler (xkbcomp) reports:
> Warning:          Type "ONE_LEVEL" has 1 levels, but <RALT> has 2 symbols
>                   Ignoring extra symbols
Errors from xkbcomp are not fatal to the X server
(EE) HID 046a:0023: failed to initialize for relative axes.
klauncher(1031) kdemain: No DBUS session-bus found. Check if you have started the DBUS server. 
kdeinit4: Communication error with launcher. Exiting!
kdmgreet(1025)/kdecore (K*TimeZone*): KSystemTimeZones: ktimezoned initialize() D-Bus call failed:  "Not connected to D-Bus server" 

kdmgreet(1025)/kdecore (K*TimeZone*): No time zone information obtained from ktimezoned 

In my rc.conf is the line: DAEMONS=(hwclock syslog-ng dbus network netfs crond)
As the manual told, my user is in the groups storage, floppy and optical.
During boot-process there is also the message start DBUS... [DONE]

ps x | grep dbus prints:

 1154 ?        S      0:00 dbus-launch --sh-syntax --exit-with-session
 1155 ?        Ss     0:04 /usr/bin/dbus-daemon --fork --print-pid 5 --print-address 7 --session
 7965 pts/1    S+     0:00 grep dbus

So I think DBUS is running, isn't it?

When I login, then logout and then login again (without reboot), I don't this errornotfication on startup, but kdm.log complains also for the new login about not being able to communicate with DBUS.

Thanks for any ideas about this issue. If you need more information please let me know.

Kind regards,
Division by 0

Offline

#2 2011-10-19 15:12:22

falconindy
Developer
From: New York, USA
Registered: 2009-10-22
Posts: 4,111
Website

Re: kdeinit4 crashes on startup. kdm.log tells: No DBUS session-bus found.

DBus has 2 main components -- a system bus, and a session bus. The dbus daemon (in /etc/rc.conf) should be starting the system bus -- with the session bus started upon starting X (for each user). In your case, the system bus isn't running. Figure out why it failed.

Offline

#3 2011-10-19 16:47:08

DivisionByZero
Member
Registered: 2011-10-17
Posts: 3

Re: kdeinit4 crashes on startup. kdm.log tells: No DBUS session-bus found.

Thanks for your reply.
Sorry, I am not so familiar with Linux and I posted the wrong output.

 ps -ef | grep dbus*
dbus       882     1  0 18:40 ?        00:00:00 /usr/bin/dbus-daemon --system
myuser      1130     1  0 18:40 ?        00:00:00 dbus-launch --sh-syntax --exit-with-session
myuser      1131     1  0 18:40 ?        00:00:00 /usr/bin/dbus-daemon --fork --print-pid 5 --print-address 7 --session
myuser      1549  1496  0 18:42 pts/1    00:00:00 grep dbus*

So system bus is running.
Could the problem be that one of the DBus-Components is starting too slowly?

Last edited by DivisionByZero (2011-10-19 16:47:19)

Offline

#4 2011-10-20 06:41:55

birdflesh
Member
From: Greece
Registered: 2010-08-04
Posts: 97

Re: kdeinit4 crashes on startup. kdm.log tells: No DBUS session-bus found.

I wouldn't worry about the dbus error. I  have it in other distros too. It's a common error message (just google it) and it doesn't seem to cause any specific problem.

About the kdeinit4 crash, are you by any chance using phonon-vlc?

Offline

#5 2011-10-20 07:39:55

DivisionByZero
Member
Registered: 2011-10-17
Posts: 3

Re: kdeinit4 crashes on startup. kdm.log tells: No DBUS session-bus found.

Thanks for the hint. I was using phonon-vlc.
I now switched to gstreamer and the problem is gone (kdm.log is clean too). Thanks for the help.

Edit: Sorry, I am not able to edit the topic of my original post to add a [SOLVED]. When I click the edit-Button of my original post, the topic line is not editable.

Last edited by DivisionByZero (2011-10-20 07:51:33)

Offline

Board footer

Powered by FluxBB