You are not logged in.

#1 2013-05-02 19:58:05

brando56894
Member
From: NYC
Registered: 2008-08-03
Posts: 681

DBUS Problems (Not Installed/Configured?)

After upgrading the packages on my system and rebooting KDE started to become really slow (desktop would be unresponsive for a few seconds periodically, launching programs could take up to 30 seconds granted this is an old pc but it was quicker than that before), at first I thought it was because I had just installed the linux-ck-core2 kernel and used the BFQ I/O scheduler but after rebooting and switching back to the stock kernel and CFQ, it was still there.

Looking in the logs I found these gems:

kdm.log

Loading extension GLX
klauncher(358) kdemain: No DBUS session-bus found. Check if you have started the DBUS server. 
kdeinit4: Communication error with launcher. Exiting!
kdmgreet(352)/kdecore (K*TimeZone*): KSystemTimeZones: ktimezoned initialize() D-Bus call failed:  "Not connected to D-Bus server" 

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

After some Googling this seems to be more or less specific to KDE, more so to the KDM since one guy said that he was having these errors while using KDM and AwesomeWM.


journalctl

May 02 14:57:45 STARMTLLNX0391 systemd[1]: Starting D-Bus System Message Bus...
May 02 14:57:45 STARMTLLNX0391 systemd[135]: Failed at step EXEC spawning /usr/bin/ifplugd: No such file or directory
May 02 14:57:45 STARMTLLNX0391 systemd[1]: Started D-Bus System Message Bus.
May 02 14:57:45 STARMTLLNX0391 systemd[1]: net-auto-wired.service: main process exited, code=exited, status=203/EXEC
May 02 14:57:45 STARMTLLNX0391 dhcpcd[132]: version 5.6.7 starting
May 02 14:57:45 STARMTLLNX0391 dhcpcd[132]: no valid interfaces found
May 02 14:57:45 STARMTLLNX0391 dhcpcd[132]: forked to background, child pid 140
May 02 14:57:45 STARMTLLNX0391 systemd[1]: Started dhcpcd on all interfaces.
May 02 14:57:45 STARMTLLNX0391 systemd[1]: Starting Network.
May 02 14:57:45 STARMTLLNX0391 systemd[1]: Reached target Network.

It also takes about 10-15 seconds to lock the screen when I tell KDE to do so, apparently this is because it sends a message to DBUS asking "can someone lock the screen?" and if DBUS isn't working properly that could be the case.

Here's all my SystemD DBUS things:

 [bran@STARMTLLNX0391 ~]$ findservice dbus
[sudo] password for bran: 
dbus-org.freedesktop.Avahi.service            enabled 
dbus-org.freedesktop.hostname1.service  static  
dbus-org.freedesktop.locale1.service         static  
dbus-org.freedesktop.login1.service          static  
dbus-org.freedesktop.timedate1.service   static  
dbus.service                                              static  
dbus.socket                                              static

Anyone have any insight into this?

Last edited by brando56894 (2013-05-02 20:00:03)

Offline

#2 2013-05-05 03:50:07

mailson
Member
Registered: 2009-11-20
Posts: 10
Website

Re: DBUS Problems (Not Installed/Configured?)

I'm having the same problem. After upgrading the system today I noticed that none of my kde apps would start and it showed some dbus messages to the console. So I rebooted the system and now I cannot get KDE to start.

I tried to downgrade dbus but it didn't fix

Offline

#3 2013-05-05 04:20:14

mailson
Member
Registered: 2009-11-20
Posts: 10
Website

Re: DBUS Problems (Not Installed/Configured?)

I tried to downgrade all my packages following the instructions here but didn't work as well. This is really weird because not even getting back to the old packages fixes the problem.

Offline

#4 2013-05-05 20:14:11

mailson
Member
Registered: 2009-11-20
Posts: 10
Website

Re: DBUS Problems (Not Installed/Configured?)

I asked a friend to tell me what his kdm.log looks like and it shows the same message. It's everything ok to his KDE install, so I guess our issue is not related to dbus. I'm starting to think that my HDD is corrupted.

Offline

#5 2013-05-05 23:50:18

cfr
Member
From: Cymru
Registered: 2011-11-27
Posts: 7,198

Re: DBUS Problems (Not Installed/Configured?)

FWIW, I have the same messages in kdm.log although the errors do not show in the journal. KDE does not feel any different than usual in terms of responsiveness, though, so I am not sure it is related to the slowness.

KDE seems to spew errors as a side-effect of its existence even when nothing is untoward. Makes it difficult to debug issues.

PS Where is findservice from? Or is that a personal script/alias?

Last edited by cfr (2013-05-05 23:51:48)


CLI Paste | How To Ask Questions

Arch Linux | x86_64 | GPT | EFI boot | refind | stub loader | systemd | LVM2 on LUKS
Lenovo x270 | Intel(R) Core(TM) i5-7200U CPU @ 2.50GHz | Intel Wireless 8265/8275 | US keyboard w/ Euro | 512G NVMe INTEL SSDPEKKF512G7L

Offline

#6 2013-05-06 02:06:51

brando56894
Member
From: NYC
Registered: 2008-08-03
Posts: 681

Re: DBUS Problems (Not Installed/Configured?)

They're my own personal aliases that I setup to make things a lot easier. Enjoy!

#systemctl aliases
alias lds="sudo systemctl list-unit-files|grep disabled|less" #lists disabled services
alias les="sudo systemctl list-unit-files|grep enabled|less" #lists enabled services
alias lfs="sudo systemctl --failed" #lists failed services
alias findservice="sudo systemctl list-unit-files|grep -i"
alias status="systemctl status"
alias enable="sudo systemctl enable"
alias disable="sudo systemctl disable"
alias restart="sudo systemctl restart"
alias start="sudo systemctl start"
alias stop="sudo systemctl stop"
alias reloadconfig="sudo systemctl reload"

Offline

Board footer

Powered by FluxBB