[Evolution-users] gMail continuous authentication request
Milan Crha
mcrha at redhat.com
Mon Aug 10 10:08:00 UTC 2026
On Mon, 2026-08-10 at 10:27 +0200, Mark Stanton via evolution-users
wrote:
> Good enough for the moment but not ideal.
Hi,
does it mean you go through the OAuth2 wizard in a browser every day in
the morning? I won't call it "not ideal", it's a whole disaster, close
to useless from my point of view. I do not recall when I went through
the wizard the last time. Evolution is rock solid with this regard
here.
> I run a script on login that creates the keyring sockets and starts
> gnome keyring. Not sure why that loses the authentication overnight
> (when the machine isn't logged out).
That moves the problem from the Evolution to the gnome-keyring-daemon,
which kinda makes sense from your notes.
You need the gnome-keyring-daemon to run before the evolution-data-
server processes, like before the evolution-source-registry process,
thus it can connect to the keyring daemon.
I do not know what you mean by "creating keyring sockets", but what
usually happens is that the gnome-keyring-daemon process starts shortly
after login, with some arguments, and it does everything what it wants
on its own. The first app accessing it unlocks the keyring (PAM can
sometimes do it for you, especially when the user password matches with
the keyring password), then the apps have access to the credentials
stored in the keyring.
I'm no gnome-keyring-daemon expert, I'm sorry, I cannot help more. My
gnome-keyring-daemon is started as:
/usr/bin/gnome-keyring-daemon --daemonize --login
but some other systems have it running with different arguments.
There exists an `oo7` project, which is supposed to replace this aging
gnome-keyring-daemon. Maybe you can give it a try, if your distro
already provides it (it's rather fresh project). The evolution-data-
server does not care what stores the credentials, as long is it
implements the D-Bus interface the libsecret library uses, which is
`org.freedesktop.secrets`. My machine has it as:
/usr/share/dbus-1/services/org.freedesktop.secrets.service
which runs the gnome-keyring-daemon as:
/usr/bin/gnome-keyring-daemon --start --foreground --components=secrets
though you usually do not want to run it in the foreground. These
services can be also started by the systemd, which does not use these
D-Bus scripts, I think, at least not directly.
Bye,
Milan
More information about the evolution-users
mailing list