ssh-agent on -current: starts at Xfce login, never exits
by ljb643 from LinuxQuestions.org on (#5BN96)
Using Slackware64-current with recent updates, Xfce-4.14, login via xdm into xfce4 session, no KDE.
Every time I log in, ssh-agent starts. It does not stop when I log out. The number of ssh-agents currently running, as well as the number of /tmp/ssh-* directories, equals the number of times I have logged in since boot-up.
It looks like xfce4-session starts these up, but they are not exiting at logout like they should, for some reason.
I found that I can disable ssh-agent startup at login with this:
Code:$ xfconf-query --channel xfce4-session --property /startup/ssh-agent/enabled --create --type bool --set falseOr re-enable it with this:
Code:$ xfconf-query --channel xfce4-session --property /startup/ssh-agent/enabled --resetI disabled it, since I don't seem to need it. But does anyone know why it isn't stopping at logout?


Every time I log in, ssh-agent starts. It does not stop when I log out. The number of ssh-agents currently running, as well as the number of /tmp/ssh-* directories, equals the number of times I have logged in since boot-up.
It looks like xfce4-session starts these up, but they are not exiting at logout like they should, for some reason.
I found that I can disable ssh-agent startup at login with this:
Code:$ xfconf-query --channel xfce4-session --property /startup/ssh-agent/enabled --create --type bool --set falseOr re-enable it with this:
Code:$ xfconf-query --channel xfce4-session --property /startup/ssh-agent/enabled --resetI disabled it, since I don't seem to need it. But does anyone know why it isn't stopping at logout?