Xfce Forum

Sub domains
 

You are not logged in.

#1 2022-11-23 13:18:10

jfacemyer
Member
Registered: 2022-11-07
Posts: 15

Failed to send D-Bus message - timeout was reached.

I get a popup with this message when I try to click or key Whiskermenu.

I get this at a random amount of time after logging in - sometimes it's a few hours, or days.

Sometimes the menu will open after a while, but other things on the panel won't respond either (like application tabs or clock) while some will (like the weather widget or process mon.)

I can't kill the process by any means - e.g. when I do 'killall xfce4-panel', there's no response and the panel stays put. ps shows the process # is the same. killing the ps# has same results.

I looked in .xsession-errros, nothing gets added there when it happens.

Help! I have to log out/in every time this happens.

Thank you!

Offline

#2 2022-11-23 13:20:43

jfacemyer
Member
Registered: 2022-11-07
Posts: 15

Re: Failed to send D-Bus message - timeout was reached.

Ok, now when I'm trying to log out after that, I get "Received error while trying to log out - GDBus.Error:org.freedesktop.DBus.Error.InvalidArgs: Type of message, "(yb)", does not match expected type "(b)"

Offline

#3 2022-11-23 15:05:30

ToZ
Administrator
From: Canada
Registered: 2011-06-02
Posts: 9,524

Re: Failed to send D-Bus message - timeout was reached.

Which distro and version of Xfce are you using? If it's systemd based, have a look at entries in the journal around the time of the hang.

I would also suggest creating a second account on your computer and using that to see if the problem persists, but since it can take some time to manifest itself, it may not be feasible to do so.

Offline

#4 2022-11-29 18:36:53

jfacemyer
Member
Registered: 2022-11-07
Posts: 15

Re: Failed to send D-Bus message - timeout was reached.

It's Xubuntu 22.10 - I'll watch the journal next time. Any tips for what to look for?

Yeah, I can't just hang around for possibly days in a test account, unfortunately. Although, if things persist, I could possibly just migrate my stuff to a clean account and see if that helps.

Offline

#5 2022-11-30 05:13:24

KBar
Moderator
Registered: 2021-11-05
Posts: 643

Re: Failed to send D-Bus message - timeout was reached.

What you described reads similar to https://forum.xfce.org/viewtopic.php?id=15743. There is also a related issue.

Could you try running the following command manually?

xfce4-panel --plugin-event=whiskermenu:popup:bool:false

While monitoring the session bus:

# Get the unique name of the panel's connection to the session bus:
uniqname=$(dbus-send --print-reply=literal --dest=org.freedesktop.DBus /org/freedesktop/DBus org.freedesktop.DBus.GetNameOwner string:org.xfce.Panel | tr -d ' ')
# Monitor both input and output of the connection:
dbus-monitor destination=$uniqname sender=$uniqname

Last edited by KBar (2022-11-30 14:55:45)


Remember to edit the subject of your topic to include the [SOLVED] tag once you're satisfied with the answers or have found a solution (in which case, don't forget to share it as well), so that other members of the community can quickly refer to it and save their time. Pretty please! tongue

Offline

#6 2022-11-30 14:53:58

jfacemyer
Member
Registered: 2022-11-07
Posts: 15

Re: Failed to send D-Bus message - timeout was reached.

When should I run that? (Like, when the issue is presenting, or at the beginning of the session...? Or just now, and give the results?)

Offline

#7 2022-11-30 15:00:11

KBar
Moderator
Registered: 2021-11-05
Posts: 643

Re: Failed to send D-Bus message - timeout was reached.

jfacemyer wrote:

When should I run that? (Like, when the issue is presenting, or at the beginning of the session...? Or just now, and give the results?)

Any time you'd like.

I updated my reply and included some additional commands for debugging. The interesting bit is whether the method calls succeeds. dbus-monitor in one terminal window, run that command from another one. If the Whisker Menu appears, close it and try again later, if it doesn't, interrupt dbus-monitor with Ctrl+C and share the output.


Remember to edit the subject of your topic to include the [SOLVED] tag once you're satisfied with the answers or have found a solution (in which case, don't forget to share it as well), so that other members of the community can quickly refer to it and save their time. Pretty please! tongue

Offline

#8 2022-11-30 21:02:22

jfacemyer
Member
Registered: 2022-11-07
Posts: 15

Re: Failed to send D-Bus message - timeout was reached.

Ok, here's what I got:

signal time=1669842056.982051 sender=org.freedesktop.DBus -> destination=:1.777 serial=2 path=/org/freedesktop/DBus; interface=org.freedesktop.DBus; member=NameAcquired
   string ":1.777"
signal time=1669842056.982081 sender=org.freedesktop.DBus -> destination=:1.777 serial=4 path=/org/freedesktop/DBus; interface=org.freedesktop.DBus; member=NameLost
   string ":1.777"
method call time=1669842066.333224 sender=:1.779 -> destination=:1.143 serial=7 path=/org/xfce/Panel; interface=org.freedesktop.DBus.Properties; member=GetAll
   string "org.xfce.Panel"

...and then after about 20 sec...

method call time=1669842091.355268 sender=:1.779 -> destination=:1.143 serial=8 path=/org/xfce/Panel; interface=org.xfce.Panel; member=PluginEvent
   string "whiskermenu"
   string "popup"
   variant       boolean false

Last edited by jfacemyer (2022-11-30 21:03:26)

Offline

#9 2022-11-30 21:27:34

jfacemyer
Member
Registered: 2022-11-07
Posts: 15

Re: Failed to send D-Bus message - timeout was reached.

In the meantime of trying to figure this out, any suggestion on how I can force the panel to restart? I hate having to log out and back in every time.

Offline

#10 Yesterday 06:04:24

KBar
Moderator
Registered: 2021-11-05
Posts: 643

Re: Failed to send D-Bus message - timeout was reached.

# To restart the whole panel:
xfce4-panel -r
# To restart Whisker Menu:
pkill -f libwhiskermenu.so

Remember to edit the subject of your topic to include the [SOLVED] tag once you're satisfied with the answers or have found a solution (in which case, don't forget to share it as well), so that other members of the community can quickly refer to it and save their time. Pretty please! tongue

Offline

#11 Yesterday 12:56:02

jfacemyer
Member
Registered: 2022-11-07
Posts: 15

Re: Failed to send D-Bus message - timeout was reached.

Neither of those works hmm "Failed to restart the panel / Timeout was reached."

And I'm not still get the error trying to log out that I pasted above:

"Received error while trying to log out - GDBus.Error:org.freedesktop.DBus.Error.InvalidArgs: Type of message, "(yb)", does not match expected type "(b)"

This makes it nontrivial to log out.

Any thoughts on the dbus-monitor results?

Offline

#12 Yesterday 13:12:12

jfacemyer
Member
Registered: 2022-11-07
Posts: 15

Re: Failed to send D-Bus message - timeout was reached.

BTW, I looked in the journal for anything at the time the panel clock froze and after, but nothing there out of the ordinary.

Offline

#13 Yesterday 17:29:26

KBar
Moderator
Registered: 2021-11-05
Posts: 643

Re: Failed to send D-Bus message - timeout was reached.

jfacemyer wrote:

Any thoughts on the dbus-monitor results?

No thoughts because you shared the wrong parts and did not post the whole output.


Remember to edit the subject of your topic to include the [SOLVED] tag once you're satisfied with the answers or have found a solution (in which case, don't forget to share it as well), so that other members of the community can quickly refer to it and save their time. Pretty please! tongue

Offline

#14 Today 15:21:43

jfacemyer
Member
Registered: 2022-11-07
Posts: 15

Re: Failed to send D-Bus message - timeout was reached.

I'm sorry - I thought I had done exactly as you requested hmm

Here it is again:

Term 1: Used both commands to start the dbus monitor, as above.

Term 2:

xfce4-panel --plugin-event=whiskermenu:popup:bool:false

Term 1:

facemyer@solanus:~$ dbus-monitor destination=$uniqname sender=$uniqname
signal time=1669993962.311576 sender=org.freedesktop.DBus -> destination=:1.267 serial=2 path=/org/freedesktop/DBus; interface=org.freedesktop.DBus; member=NameAcquired
   string ":1.267"
signal time=1669993962.311603 sender=org.freedesktop.DBus -> destination=:1.267 serial=4 path=/org/freedesktop/DBus; interface=org.freedesktop.DBus; member=NameLost
   string ":1.267"
method call time=1669993966.875700 sender=:1.268 -> destination=:1.29 serial=7 path=/org/xfce/Panel; interface=org.freedesktop.DBus.Properties; member=GetAll
   string "org.xfce.Panel"
method call time=1669993991.900745 sender=:1.268 -> destination=:1.29 serial=8 path=/org/xfce/Panel; interface=org.xfce.Panel; member=PluginEvent
   string "whiskermenu"
   string "popup"
   variant       boolean false
^C
facemyer@solanus:~$ 

I waited until the timeout popup message, then quit the dbus monitor, and copied both enclosing prompts so you can see everything I got.

As far as I can tell, I followed your instructions exactly, but it looks like the same result to me - tell me if I'm doing something wrong.

Offline

Board footer

Powered by FluxBB