You are not logged in.

#1 2016-10-22 02:10:03

lilmike
Member
Registered: 2014-09-25
Posts: 26

dbus issues with mate and other applications

Hi,
Since a few weeks ago, for some reason when I start mate (with slim or nodm) it tries to autolaunch its own dbus instance, seemingly because it thinks that my session bus doesn't exist. However, my session bus does exist, and is under /run/user/1000/bus. I have verified that all the proper environment variables are being set to let mate know of the bus. I realize that both nodm and slim use xinitrc to start the desktop, so this seems like a good place to start looking for some call to dbus-launch or some other problem, but .xinitrc doesn't contain anything, and a grep for "dbus-launch" under .local and .config returns nothing. Mate is trying to connect to /tmp/dbus-xxx, where xxx is a string of random letters and numbers, but it always says connection refused, oddly, except when x is started with startx instead of with a dm. When I use startx, it starts just fine, though anything that requires the bus still connects to /tmp/dbus-xxx. Also, many applications seem to have problems, whether in startx or nodm, because the bus isn't available/is the wrong bus. Any ideas where I could look to fix this?
Thanks,
-Michael.
P.S. ~/.xinitrc: http://codepad.org/bGbdH3K7

Offline

#2 2016-10-29 07:48:35

lilmike
Member
Registered: 2014-09-25
Posts: 26

Re: dbus issues with mate and other applications

Any ideas?
-Michael.

Offline

#3 2016-10-29 10:17:34

Roken
Member
From: South Wales, UK
Registered: 2012-01-16
Posts: 1,253

Re: dbus issues with mate and other applications

is $DBUS_SESSION_BUS_ADDRESS being set correctly?

env | grep DBUS

If not, the only way I found to fix it was to backup and delete ~/.config. From the backup, I restored individual applications configs.

Before you do, though, it may be worth trying logging out and then logging back in to your session. That worked as a workround for me.

https://bbs.archlinux.org/viewtopic.php?id=218064&p=2

Last edited by Roken (2016-10-29 10:19:57)


Ryzen 5900X 12 core/24 thread - RTX 3090 FE 24 Gb, Asus Prime B450 Plus, 32Gb Corsair DDR4, Cooler Master N300 chassis, 5 HD (1 NvME PCI, 4SSD) + 1 x optical.
Linux user #545703

Offline

#4 2016-10-31 08:36:44

lilmike
Member
Registered: 2014-09-25
Posts: 26

Re: dbus issues with mate and other applications

As far as I can tell, DBUS_SESSION_BUS_ADDRESS is set correctly, it's set to unix:path=/run/user/1000/bus.
I'm not sure what exactly you mean by log out, but if it counts I've rebooted several times since. I will try backing up and deleting .config and see if that helps.
Thanks,
-Michael.

Offline

#5 2016-10-31 08:51:25

lilmike
Member
Registered: 2014-09-25
Posts: 26

Re: dbus issues with mate and other applications

I just backed up .config, and it didn't help. I only restored a few applications that I needed the config for.
-Michael.

Offline

Board footer

Powered by FluxBB