Skip to main content
Topic solved
This topic has been marked as solved and requires no further attention.
Topic: Brave attempting to use kde kwallet (edit: dbus-launch was actual cause) (Read 863 times) previous topic - next topic
0 Members and 1 Guest are viewing this topic.

Brave attempting to use kde kwallet (edit: dbus-launch was actual cause)

Ever since I installed dolphin, which installed kwallet as a dependency (edit: actually it was dbus-launch in my startup script, I just coincidentally happened to edit my xinitrc and startup files around the same time that I installed dolphin. it didn't even occur to me to check that at first; Sorry, my mistake) , the brave browser (aur: brave-bin) is trying to use it on startup.
This causes brave to take 30 seconds to start, and the following is output to the terminal:
Code: [Select]
[7779:7779:1202/234415.687629:ERROR:object_proxy.cc(577)] Failed to call method: org.kde.KWallet.isEnabled: object_path= /modules/kwalletd6: org.freedesktop.DBus.Error.ServiceUnknown: The name org.kde.kwalletd6 was not provided by any .service files
[7779:7779:1202/234415.687703:ERROR:kwallet_dbus.cc(112)] Error contacting kwalletd6 (isEnabled)
[7779:7779:1202/234415.688640:ERROR:object_proxy.cc(577)] Failed to call method: org.kde.KLauncher.start_service_by_desktop_name: object_path= /KLauncher: org.freedesktop.DBus.Error.ServiceUnknown: The name org.kde.klauncher was not provided by any .service files
[7779:7779:1202/234415.688684:ERROR:kwallet_dbus.cc(81)] Error contacting klauncher to start kwalletd6
[7779:7779:1202/234415.689801:ERROR:object_proxy.cc(577)] Failed to call method: org.kde.KWallet.close: object_path= /modules/kwalletd6: org.freedesktop.DBus.Error.ServiceUnknown: The name org.kde.kwalletd6 was not provided by any .service files
[7779:7779:1202/234415.689866:ERROR:kwallet_dbus.cc(503)] Error contacting kwalletd6 (close)
[7779:7779:1202/234415.693413:ERROR:object_proxy.cc(577)] Failed to call method: org.kde.KWallet.isEnabled: object_path= /modules/kwalletd5: org.freedesktop.DBus.Error.ServiceUnknown: The name org.kde.kwalletd5 was not provided by any .service files
[7779:7779:1202/234415.693482:ERROR:kwallet_dbus.cc(112)] Error contacting kwalletd5 (isEnabled)
[7779:7779:1202/234415.694718:ERROR:object_proxy.cc(577)] Failed to call method: org.kde.KLauncher.start_service_by_desktop_name: object_path= /KLauncher: org.freedesktop.DBus.Error.ServiceUnknown: The name org.kde.klauncher was not provided by any .service files
[7779:7779:1202/234415.694765:ERROR:kwallet_dbus.cc(81)] Error contacting klauncher to start kwalletd5
[7779:7779:1202/234415.695781:ERROR:object_proxy.cc(577)] Failed to call method: org.kde.KWallet.close: object_path= /modules/kwalletd5: org.freedesktop.DBus.Error.ServiceUnknown: The name org.kde.kwalletd5 was not provided by any .service files
[7779:7779:1202/234415.695879:ERROR:kwallet_dbus.cc(503)] Error contacting kwalletd5 (close)
[7779:7779:1202/234415.698641:ERROR:object_proxy.cc(577)] Failed to call method: org.kde.KWallet.isEnabled: object_path= /modules/kwalletd: org.freedesktop.DBus.Error.ServiceUnknown: The name org.kde.kwalletd was not provided by any .service files
[7779:7779:1202/234415.698697:ERROR:kwallet_dbus.cc(112)] Error contacting kwalletd (isEnabled)
[7779:7779:1202/234415.700770:ERROR:object_proxy.cc(577)] Failed to call method: org.kde.KLauncher.start_service_by_desktop_name: object_path= /KLauncher: org.freedesktop.DBus.Error.ServiceUnknown: The name org.kde.klauncher was not provided by any .service files
[7779:7779:1202/234415.700972:ERROR:kwallet_dbus.cc(81)] Error contacting klauncher to start kwalletd
[7779:7779:1202/234415.704018:ERROR:object_proxy.cc(577)] Failed to call method: org.kde.KWallet.close: object_path= /modules/kwalletd: org.freedesktop.DBus.Error.ServiceUnknown: The name org.kde.kwalletd was not provided by any .service files
[7779:7779:1202/234415.704309:ERROR:kwallet_dbus.cc(503)] Error contacting kwalletd (close)
[7779:7779:1202/234415.707748:ERROR:policy_logger.cc(157)] :components/enterprise/browser/controller/chrome_browser_cloud_management_controller.cc(163) Cloud management controller initialization aborted as CBCM is not enabled.
[7779:8063:1202/234416.053993:ERROR:object_proxy.cc(577)] Failed to call method: org.freedesktop.DBus.Properties.Get: object_path= /org/freedesktop/UPower: org.freedesktop.DBus.Error.ServiceUnknown: The name org.freedesktop.UPower was not provided by any .service files
[7779:8063:1202/234416.058473:ERROR:object_proxy.cc(577)] Failed to call method: org.freedesktop.UPower.GetDisplayDevice: object_path= /org/freedesktop/UPower: org.freedesktop.DBus.Error.ServiceUnknown: The name org.freedesktop.UPower was not provided by any .service files
[7779:8063:1202/234416.062446:ERROR:object_proxy.cc(577)] Failed to call method: org.freedesktop.UPower.EnumerateDevices: object_path= /org/freedesktop/UPower: org.freedesktop.DBus.Error.ServiceUnknown: The name org.freedesktop.UPower was not provided by any .service files

I have since uninstalled and wiped everything related to kde I can find on my system, including leftover config and cache files, but brave continues to behave this way.
I checked that kwallet is not called in any /etc/pam.d/ files.
I even tried deleting brave and all of it's config/cache files and reinstalling to no avail.

I can manually force it to run with "brave --password-store=gnome or =basic" and it starts instantly and works fine, but I want the autodetection to work.
It was working perfectly fine before I installed dolphin, and it remains after a full wipe and reinstall of brave, meaning it is a system issue rather than specifically a brave issue.

I am using artix-base-openrc with dwm. gnome-keyring is the keyring that I actually have set up with pam and autostart. How do I get programs to use gnome-keyring (or no keyring at all) instead of kwallet.

Re: Brave attempting to use kde kwallet even after it is uninstalled.

Reply #1
I just figured out that having dbus-launch in my xinitrc or display manager startup script is what caused it.
I recently started using emptty as a display manager and rewrote my xinitrc and startup scripts. I guess it's just a coincidence that I also happened to install dolphin (and by proxy kwalletd) at around the same time.

So it's fixed, but it still doesn't explain what exactly the mechanism behind it is though; Maybe my sources were just out of date, but I found multiple claiming that putting "exec dbus-launch [window manager]" is preferable over just "exec [window manager]" because it makes sure that X has a session bus.
It would be very helpful if someone could explain why the use of dbus-launch is recommended for or against in current year Artix.
    Thanks.

Re: Brave attempting to use kde kwallet (edit: dbus-launch was actual cause)

Reply #2
It would be very helpful if someone could explain why the use of dbus-launch is recommended for or against in current year Artix.
    Thanks.
Simplified:
DBUS is used for inter process communication.
Without a user dbus session functionality will on lost on the more heavyweight desktop environments (and probably many others?) as they expect dbus to be there, as do their optional component parts.
Your particular error with kwallet may be due to the current slow switch to (or preparation for) kde 6 as your errors mention kwallet6 but Artix has kwallet5. Which suggests Brave was built on a system with kwallet6. Just a guess.