|
Registered Member
|
Hello,
I am trying to locate what process launches ssh-agent and/or gpg-agent on login. See below:
I glanced at /usr/bin/startkde script and noticed line 296. However, this isn't quite what I was looking for to determine what process launches {ssh,gpg}-agent:
Any assitance I can get from community to locate the solution for this problem above would be greateful. Ty |
|
Registered Member
|
ssh-agent starts startkde in Fedora. ssh-agent and gpg-agent has no relationship. You could run ssh-agent via gpg-agent.
|
|
Registered Member
|
Interestingly, I should have stated my distro, which is openSUSE 13.2. I doubt that's how it is launched here.
In fedora, I would assume that is launched by your display manager yes? |
|
That doesn't depend on the distro, but rather on the display manager (gdm, kdm, sddm, ...)
The line will either be called by the DM or the session script, for startkde (from KDE5), additional bits could be found in /etc/xdg/plasma-workspace/env or ~/.config/plasma-workspace/env |
|
Registered Member
|
I have the same problem with Kubuntu 15.10
I am pretty sure it is something I did while trying to get KDE to work with ssh-agent. So far I have been through all the lightdm config and found nothing. pstree and Ksysguard both show ssh-agent as a child of startkde, not vice-versa. |
|
Registered Member
|
As others have mentioned, it's probably the display manager that's launching ssh-agent, probably in a distribution-specific manner. You can try finding the script that launches it by searching the /etc hierarchy. For example:
The OP is running openSUSE. Recent versions seem to call ssh-agent from /etc/X11/xdm/scripts/11-ssh-agent. |
Registered users: Baidu [Spider], Bing [Bot], Google [Bot]