You are not logged in.

#1 2017-07-27 18:54:27

zeebzz
Member
Registered: 2017-07-27
Posts: 18

Dbus / SystemD(?) stops working. Can't open Dolphin/etc Until Relog

After x amount of time dolphin and 80% of my programs will just stop working. If i try running Dolphin in terminal I get:

Session bus not found\nTo circumvent this problem try the following command (with Linux and bash)\nexport $(dbus-launch)

The only solution is to log out / reboot. It could happen with something as simple as just opening the start menu and hitting Dolphin, clicking a firefox link, etc. It seems completely random. My system is pretty much a basic arch + Kde install with very few AUR packages installed.

Happens maybe 5 times a day?

I even created a new user account fresh but it still happens there after about a day.

How can I diagnose this?


output of  systemctl status --user dbus.service

https://pastebin.com/BzEXPpdt

first 1500 lines of 'journalctl -b'

https://pastebin.com/G6pwNkch

Last edited by zeebzz (2017-07-27 19:07:26)

Offline

#2 2017-07-27 19:24:29

seth
Member
Registered: 2012-09-03
Posts: 51,655

Re: Dbus / SystemD(?) stops working. Can't open Dolphin/etc Until Relog

ps aux | grep dbus
echo $DBUS_SESSION_BUS_ADDRESS
stat ${DBUS_SESSION_BUS_ADDRESS#*path=}
dbus-send --print-reply --session  --dest=org.freedesktop.systemd1 /org/freedesktop/systemd1 org.freedesktop.DBus.Introspectable.Introspect

Offline

#3 2017-07-27 19:32:19

zeebzz
Member
Registered: 2017-07-27
Posts: 18

Re: Dbus / SystemD(?) stops working. Can't open Dolphin/etc Until Relog

seth wrote:
ps aux | grep dbus
echo $DBUS_SESSION_BUS_ADDRESS
stat ${DBUS_SESSION_BUS_ADDRESS#*path=}
dbus-send --print-reply --session  --dest=org.freedesktop.systemd1 /org/freedesktop/systemd1 org.freedesktop.DBus.Introspectable.Introspect

if you meant for me to paste the output

https://pastebin.com/wX4E72qJ

i think i did it wrong though, trying again as individual commands...


ps aux | grep dbus output:
https://pastebin.com/mXNZXQbU

[zach@zeeb]: ~>$ echo $DBUS_SESSION_BUS_ADDRESS
unix:path=/run/user/1001/bus



[zach@zeeb]: ~>$ stat ${DBUS_SESSION_BUS_ADDRESS#*path=}
  File: /run/user/1001/bus
  Size: 0               Blocks: 0          IO Block: 4096   socket
Device: 2bh/43d Inode: 12772       Links: 1
Access: (0666/srw-rw-rw-)  Uid: ( 1001/    zach)   Gid: ( 1001/    zach)
Access: 2017-07-27 16:41:37.685734377 -0230
Modify: 2017-07-27 16:41:37.552401039 -0230
Change: 2017-07-27 16:41:37.552401039 -0230
Birth: -



dbus-send --print-reply --session  --dest=org.freedesktop.systemd1 /org/freedesktop/systemd1 org.freedesktop.DBus.Introspectable.Introspect  output:

https://pastebin.com/T9HdxuPE



^ im rebooted and things are working for now by the way, but its only a matter of time until it breaks again

Last edited by zeebzz (2017-07-27 19:38:51)

Offline

#4 2017-07-27 20:07:02

seth
Member
Registered: 2012-09-03
Posts: 51,655

Re: Dbus / SystemD(?) stops working. Can't open Dolphin/etc Until Relog

There's nothing wrong with that dbus setup, but I take you ran the commands when everything was working anyway?
It's interesting to see the difference when it doesn't.

You're free to post the outputs, but first and foremost you're encouraged to look at them yourself ;-)

Offline

#5 2017-07-27 20:08:04

zeebzz
Member
Registered: 2017-07-27
Posts: 18

Re: Dbus / SystemD(?) stops working. Can't open Dolphin/etc Until Relog

whats the next step I should take when it breaks again?

Next time my system breaks and I can't open dolphin etc..what should I do?

thx

Offline

#6 2017-07-27 20:16:54

seth
Member
Registered: 2012-09-03
Posts: 51,655

Re: Dbus / SystemD(?) stops working. Can't open Dolphin/etc Until Relog

Run those commands... they provide different information about the status of the session dbus which dolphin claims to be broken.

Offline

#7 2017-07-27 20:18:05

zeebzz
Member
Registered: 2017-07-27
Posts: 18

Re: Dbus / SystemD(?) stops working. Can't open Dolphin/etc Until Relog

alright, last time it broke i ran journalctl -d and it was over 3000 lines long, didnt know what to look for, didnt see anything obviously broken, but i'll look and paste the log when it happens next..

Offline

#8 2017-07-27 20:26:41

zeebzz
Member
Registered: 2017-07-27
Posts: 18

Re: Dbus / SystemD(?) stops working. Can't open Dolphin/etc Until Relog

AAAAAAND it just happened.

>open a link
>SUDDENLY Error - Kio Client - Unable to create io-slave. Cannot talk to klauncher. Not connected to D-Bus server

NOW dolphin wont work, 80% of my system until reboot..

that didnt take long....suggestions..??

Offline

#9 2017-07-27 20:32:28

ayekat
Member
Registered: 2011-01-17
Posts: 1,590

Re: Dbus / SystemD(?) stops working. Can't open Dolphin/etc Until Relog

zeebzz wrote:

suggestions..??

Please paste the output of journalctl around the moment when that happened. Or better, all of `journalctl -b`.

Also (more generally), for pasting shorter snippets of console output/code, you can embed them here using code tags instead of linking to an external site—it's generally easier for other users here to read it, and more future-proof (i.e. the links won't disappear some day).
Otherwise, we would appreciate it if you used something else than pastebin.com (see this Wiki section as a reference).


pkgshackscfgblag

Offline

#10 2017-07-27 20:44:28

zeebzz
Member
Registered: 2017-07-27
Posts: 18

Re: Dbus / SystemD(?) stops working. Can't open Dolphin/etc Until Relog

ok hope this is useful, this is the entire journalctl -b

the error happened about 10 mins ago? since my last post.

https://paste.ee/p/zi3VM  <--- broken formatting


so, for example, if i click a link from a program I get this prompt:


'Error - Kio Client
Unable to create io-slave. Cannot talk to klauncher. Not connected to D-bus server"

Last edited by zeebzz (2017-07-27 20:51:05)

Offline

#11 2017-07-27 20:48:37

ayekat
Member
Registered: 2011-01-17
Posts: 1,590

Re: Dbus / SystemD(?) stops working. Can't open Dolphin/etc Until Relog

For some reason the output is truncated to the right - how did you upload it? Try this:

journalctl -b | curl -F 'f:1=<-' ix.io

pkgshackscfgblag

Offline

#12 2017-07-27 20:50:52

zeebzz
Member
Registered: 2017-07-27
Posts: 18

Re: Dbus / SystemD(?) stops working. Can't open Dolphin/etc Until Relog

oh wow that was easy, try this:

http://ix.io/yJQ   <--- i think thats missing just a few dozen lines, not much

Last edited by zeebzz (2017-07-27 20:52:06)

Offline

#13 2017-07-27 21:06:45

WorMzy
Forum Moderator
From: Scotland
Registered: 2010-06-16
Posts: 11,896
Website

Re: Dbus / SystemD(?) stops working. Can't open Dolphin/etc Until Relog


Sakura:-
Mobo: MSI MAG X570S TORPEDO MAX // Processor: AMD Ryzen 9 5950X @4.9GHz // GFX: AMD Radeon RX 5700 XT // RAM: 32GB (4x 8GB) Corsair DDR4 (@ 3000MHz) // Storage: 1x 3TB HDD, 6x 1TB SSD, 2x 120GB SSD, 1x 275GB M2 SSD

Making lemonade from lemons since 2015.

Offline

#14 2017-07-27 21:26:29

zeebzz
Member
Registered: 2017-07-27
Posts: 18

Re: Dbus / SystemD(?) stops working. Can't open Dolphin/etc Until Relog


Yes i am!!! im using KDE wallpaper slideshow on my second monitor, set to change wallpaper every 30 seconds... is this really why??

Offline

#15 2017-07-27 21:57:22

WorMzy
Forum Moderator
From: Scotland
Registered: 2010-06-16
Posts: 11,896
Website

Re: Dbus / SystemD(?) stops working. Can't open Dolphin/etc Until Relog

Well the similarities between yours and hfenigma's journal are what made me ask, and you've confirmed that you are also using it, so I would say it's quite likely.

Disable it, and see if you can reproduce the problem.


Sakura:-
Mobo: MSI MAG X570S TORPEDO MAX // Processor: AMD Ryzen 9 5950X @4.9GHz // GFX: AMD Radeon RX 5700 XT // RAM: 32GB (4x 8GB) Corsair DDR4 (@ 3000MHz) // Storage: 1x 3TB HDD, 6x 1TB SSD, 2x 120GB SSD, 1x 275GB M2 SSD

Making lemonade from lemons since 2015.

Offline

#16 2017-07-28 01:51:24

zeebzz
Member
Registered: 2017-07-27
Posts: 18

Re: Dbus / SystemD(?) stops working. Can't open Dolphin/etc Until Relog

hasn't happened since turning off the Wallpaper Slideshow in KDE wallpaper settings.

Is this going to get addressed/fix in next kde update?

Offline

#17 2017-07-28 14:15:36

V1del
Forum Moderator
Registered: 2012-10-16
Posts: 21,771

Re: Dbus / SystemD(?) stops working. Can't open Dolphin/etc Until Relog

Follow the linked bug report, as of the current state of knowledge, this is a regression in QT 5.9 so it's more likely that a fix will come from there, depending on how the discussions go

Offline

#18 2017-07-30 16:03:42

zeebzz
Member
Registered: 2017-07-27
Posts: 18

Re: Dbus / SystemD(?) stops working. Can't open Dolphin/etc Until Relog

Ok. It isn't the wallpaper switcher. It just happened again at complete random.

Im completely clueless now. Please help?

Offline

#19 2017-07-30 16:27:28

zeebzz
Member
Registered: 2017-07-27
Posts: 18

Re: Dbus / SystemD(?) stops working. Can't open Dolphin/etc Until Relog

I deleted .kde4 in hopes of fixing it, but I already tried a new user, dont think thats gonna do much good..

Offline

#20 2017-07-30 16:28:22

zeebzz
Member
Registered: 2017-07-27
Posts: 18

Re: Dbus / SystemD(?) stops working. Can't open Dolphin/etc Until Relog

I simply tried "Open containing folder" in SoulseekQT and dolphin refused to launch. Now I get the redundant 'Session bus not found' error.

I wouldn't blame SoulseekQT, it seems to happen with any program at random..

Offline

#21 2017-07-30 16:39:16

zeebzz
Member
Registered: 2017-07-27
Posts: 18

Re: Dbus / SystemD(?) stops working. Can't open Dolphin/etc Until Relog

If I try to run it as sudo in terminal I get this:

[zach@zeeb]: ~>$ kdesu dolphin
klauncher not running... launching kdeinit
No DBUS session-bus found. Check if you have started the DBUS server.
kdeinit5: Communication error with launcher. Exiting!
"KLauncher could not be reached via D-Bus. Error when calling kdeinit_exec_wait:\nNot connected to D-Bus server\n"

Offline

#22 2017-07-30 16:42:38

zeebzz
Member
Registered: 2017-07-27
Posts: 18

Re: Dbus / SystemD(?) stops working. Can't open Dolphin/etc Until Relog

sudo systemctl start dbus ---> STILL HAPPENS

Offline

#23 2017-07-30 16:45:35

zeebzz
Member
Registered: 2017-07-27
Posts: 18

Re: Dbus / SystemD(?) stops working. Can't open Dolphin/etc Until Relog

output of systemctl

https://paste.ee/p/XPFkL

Offline

#24 2017-07-30 17:04:25

arojas
Developer
From: Spain
Registered: 2011-10-09
Posts: 2,103

Re: Dbus / SystemD(?) stops working. Can't open Dolphin/etc Until Relog

The kdesu issue has nothing to do with anything, that is the expected behavior of kdesu. Also, learn edit posts instead of endlessly bumping your thread, this is not irc

Last edited by arojas (2017-07-30 17:05:35)

Offline

#25 2017-07-30 18:40:42

seth
Member
Registered: 2012-09-03
Posts: 51,655

Re: Dbus / SystemD(?) stops working. Can't open Dolphin/etc Until Relog

For clarification: this *only* affects dolphin and it is *not* an approach to run dolphin as different user (or even root)?
Are there stale dolphin processes when this happens? What if you kill them away?

Offline

Board footer

Powered by FluxBB