Arch Linux

Please read this before reporting a bug:
https://wiki.archlinux.org/title/Bug_reporting_guidelines

Do NOT report bugs when a package is just outdated, or it is in the AUR. Use the 'flag out of date' link on the package page, or the Mailing List.

REPEAT: Do NOT report bugs for outdated packages!
Tasklist

FS#63513 - [chromium] can't connect to kdewallet

Attached to Project: Arch Linux
Opened by Sergey Shumov (darkxanter) - Tuesday, 20 August 2019, 18:05 GMT
Last edited by Evangelos Foutras (foutrelis) - Saturday, 24 August 2019, 18:22 GMT
Task Type Bug Report
Category Packages: Extra
Status Closed
Assigned To Evangelos Foutras (foutrelis)
Architecture All
Severity Low
Priority Normal
Reported Version
Due in Version Undecided
Due Date Undecided
Percent Complete 100%
Votes 0
Private No

Details

After update kde packets from 5.60 to 5.61. Chromium can't connect to kdewallet
Downgrading kde packets to 5.60 resolve problem.

Chromuim 76.0.3809.100


[7521:7521:0820/190345.473582:ERROR:sandbox_linux.cc(369)] InitializeSandbox() called with multiple threads in process gpu-process.
[7497:7582:0820/190345.524794:ERROR:object_proxy.cc(619)] 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
[7497:7582:0820/190345.524812:ERROR:kwallet_dbus.cc(100)] Error contacting kwalletd (isEnabled)
[7497:7582:0820/190345.525119:ERROR:object_proxy.cc(619)] 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
[7497:7582:0820/190345.525132:ERROR:kwallet_dbus.cc(72)] Error contacting klauncher to start kwalletd
[7497:7582:0820/190345.525430:ERROR:object_proxy.cc(619)] 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
[7497:7582:0820/190345.525441:ERROR:kwallet_dbus.cc(414)] Error contacting kwalletd (close)
[7497:7582:0820/190345.525543:ERROR:token_service_table.cc(141)] Failed to decrypt token for service AccountId-118300027269804747671
[7497:7582:0820/190345.546860:ERROR:object_proxy.cc(619)] 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
[7497:7582:0820/190345.546884:ERROR:kwallet_dbus.cc(100)] Error contacting kwalletd (isEnabled)
[7497:7582:0820/190345.547136:ERROR:object_proxy.cc(619)] 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
[7497:7582:0820/190345.547148:ERROR:kwallet_dbus.cc(72)] Error contacting klauncher to start kwalletd
[7521:7521:0820/190345.728002:ERROR:buffer_manager.cc(488)] [.DisplayCompositor]GL ERROR :GL_INVALID_OPERATION : glBufferData: <- error from previous GL command
[7497:7762:0820/190347.776281:ERROR:get_updates_processor.cc(246)] PostClientToServerMessage() failed during GetUpdates
[7526:7569:0820/190347.830720:ERROR:object_proxy.cc(619)] 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
[7526:7569:0820/190347.830737:ERROR:kwallet_dbus.cc(100)] Error contacting kwalletd (isEnabled)
[7526:7569:0820/190347.831039:ERROR:object_proxy.cc(619)] 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
[7526:7569:0820/190347.831054:ERROR:kwallet_dbus.cc(72)] Error contacting klauncher to start kwalletd
[7526:7569:0820/190347.831329:ERROR:object_proxy.cc(619)] 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
[7526:7569:0820/190347.831342:ERROR:kwallet_dbus.cc(414)] Error contacting kwalletd (close)
[7497:7507:0820/190347.846374:ERROR:browser_process_sub_thread.cc(203)] Waited 13 ms for network service


This task depends upon

Closed by  Evangelos Foutras (foutrelis)
Saturday, 24 August 2019, 18:22 GMT
Reason for closing:  Not a bug
Additional comments about closing:  Not sure if something needs fixing here, but let's rely on the Arch wiki listing the correct value (kwallet5) for now.
Comment by Evangelos Foutras (foutrelis) - Wednesday, 21 August 2019, 07:29 GMT
Which display manager are you using and how are you starting KDE?

You might be missing the KDE_SESSION_VERSION environment variable which must be set to "5" for Chromium to use the new bus name ("org.kde.kwalletd5").

[1] https://cs.chromium.org/chromium/src/components/os_crypt/kwallet_dbus.cc?l=17-42
Comment by Sergey Shumov (darkxanter) - Wednesday, 21 August 2019, 15:35 GMT
I use sddm and default Plasma session.
I have this environment variable and it equals 5, but chromium couldn't connect to kdewallet.

Dolphin and mercurial works fine with kwallet.
Comment by Sergey Shumov (darkxanter) - Thursday, 22 August 2019, 20:29 GMT
Comment by Sergey Shumov (darkxanter) - Friday, 23 August 2019, 17:49 GMT
I installed Arch with my configuration(sddm + Plasma) in a virtual machine and got the same Chromium errors with Kwallet.
Comment by Sergey Shumov (darkxanter) - Saturday, 24 August 2019, 17:08 GMT
I found a solution. I had Chromium command line flag --password-store=kwallet as decribed in man page, but now this flag should be --password-store=kwallet5.
Comment by Evangelos Foutras (foutrelis) - Saturday, 24 August 2019, 18:13 GMT
It should also work if you leave that option out completely (which was why I couldn't reproduce the issue).

It appears that Chromium will assume KDE4 with '--password-store=kwallet' instead of the autodetected KDE5.

[1] https://cs.chromium.org/chromium/src/components/os_crypt/key_storage_linux.cc?l=83-86

Loading...