Bug#829698: gnome-keyring lives on after ssh session stops

Vincent Lefevre vincent at vinc17.net
Wed Jul 19 10:24:00 UTC 2017


On 2017-07-19 11:40:43 +0200, Laurent Bigonville wrote:
> IIRC, what's happening is:
> 
> 1) pam start gnome-keyring

Is this "/usr/bin/gnome-keyring-daemon --daemonize --login"?

> 2) during the startup of the session, "/usr/bin/gnome-keyring-daemon --start
> --components=foo" is called (see /etc/xdg/autostart/gnome-keyring-*) and
> initialize the process, if the --start command is not called the daemon
> apparently exists. The thing is that these are only called for
> "GNOME;Unity;MATE;" sessions, not the others.

I have XDG_SESSION_DESKTOP=lightdm-xsession, so that I suppose
that none of these components are started.

So, that's the reason the daemon exits, I assume. But the question
is why after 3 minutes and not immediately.

> > 2. if I log out quickly after I log in, why it is still running after
> > the session has ended (up to these 3 minutes).
> I'm not exactly sure why it's designed like that.
> 
> With systemd you can fix that by turning the KillUserProcesses to yes in
> /etc/systemd/logind.conf I think.

KillUserProcesses=yes would have bad side effects, such as killing
background computation processes and GNU screen!

-- 
Vincent Lefèvre <vincent at vinc17.net> - Web: <https://www.vinc17.net/>
100% accessible validated (X)HTML - Blog: <https://www.vinc17.net/blog/>
Work: CR INRIA - computer arithmetic / AriC project (LIP, ENS-Lyon)



More information about the pkg-gnome-maintainers mailing list