Hi there, just started to get this error when I try to run flatpaks, after a recent upgrade:
$ flatpak run com.discordapp.Discord
error: The name org.freedesktop.Accounts was not provided by any .service files
Similar error when I try to install one:
$ flatpak install org.signal.Signal
[... snip]
Error: GDBus.Error:org.freedesktop.DBus.Error.ServiceUnknown: The name org.freedesktop.Accounts was not provided by any .service files
error: Failed to install org.signal.Signal: GDBus.Error:org.freedesktop.DBus.Error.ServiceUnknown: The name org.freedesktop.Accounts was not provided by any .service files
But at a glance, does it make sense this prevents things from running?
Like, from reading the code you’ve linked it doesn’t need AccountsService exclusively
There’s some issues with flatpak and the p11-kit on unstable/20.03 (apps are unable to connect to the internet etc), though your issue sounds a bit different. A p11-kit update is on its way to master: Sign in to GitHub · GitHub
services.accounts-daemon.enable = true; fixed the original org.freedesktop.Accounts error for me, but I now get an error from the Spotify Flatpak that mentions session, so I think it’s related to dbus. I tried flipping that permission, but it didn’t fix the error. I was also getting connection errors with Discord, which led me to the Manjaro forum, which led me to this issue with p11-kit. Maybe the Spotify issue is the same; it just might report it differently.
Until p11-kit is upgraded to 0.23.20 in nixpkgs, Discord and presumably other Flatpaks will not work, just to put it on the radar. Hope that gets fixed. Thanks!
Oof, my bad. I started composing the message before actually finding the p11-kit issue, and then I guess I just finished it without ever reading the thread. Thanks!