[arch-general] Starting gpg-agent on X login (gdm)

Florian Pritz f-p at gmx.at
Sun Apr 26 16:50:48 EDT 2009


-----BEGIN PGP SIGNED MESSAGE-----
Hash: SHA1

Magnus Therning wrote:
> Hubert Grzeskowiak wrote:
>> Magnus Therning schrieb:
>>> After looking through my new shine Arch system I found that ssh-agent is
>>> run from /etc/gdm/Xsession, so I suppose that's where I need to make
>>> changes in order to get gpg-agent to run, right?
>>>
>>> Is there some documentation on the preferred way of doing this?
>>>
>>> Should I look into using seahorse instead of {ssh,gpg}-agent?
>>>
>>> /M
>>>
>> how about ~/.xinitrc or ~/.xsession?
> 
> Yes, I could do that, but it'd be user-specific, I would like to make it 
> system wide.  Also, I'll end up executing something like `ssh-agent 
> ~/.xsession` and that doesn't take advantage of the fact that gpg-agent 
> can act like ssh-agent and thus ssh-agent wouldn't have to run at all.
> 
> I can always hack something up myself, but it'd be nicer to copy some 
> guru's tried-and-tested setup :-)
source this script [1] somewhere (I do it in my .xinitrc) and it should
take care of the rest.

[1] http://git.server-speed.net/cgit.cgi/bin/tree/gpg-agent.sh

Greets
Florian
-----BEGIN PGP SIGNATURE-----
Version: GnuPG v2.0.11 (GNU/Linux)
Comment: Using GnuPG with Mozilla - http://enigmail.mozdev.org

iQIcBAEBAgAGBQJJ9MkoAAoJEG0WVcFM4cE+TEcQAKNVgMlxAk/iuaocEvC83lPz
hNgW+1dU53S+Mu1tFpVjl6PEA/+8tN38he/FHDnG4ex6hiRLmvEu7hNxskv3/F3G
mqmHiB4FEFbEXYfyOHhiv+WsWHvIB65iCCvFFAKprQg5rbCWXN6twRH5pyKeGm7R
lkFUJWPqrPo2KGAzuw2LKXrVVeSf6Mj9AYl4YhZV/hgFc/PfC8oTEw4044wrQjzX
4cbOUD6Q2d0kRq8iyBxRe3hAUPlB8fxSggw6pTB2YOBs62SniSv7wHfgp48fe06Z
V/bS55wTx3XAgKoZUqarqmF4HKGDPy61LFokFNO4LysLesE24xGdSugKKLmsIIJS
SYRzi0HpUnRqOOUUmPT4pLE5THlxgXYnSfyZNpIS1EdDEHx5tDsmwt7zJemsUnls
6jpHkKUL4WcgdY7tCXKKBo+MV9232pGEO9vSZqJ78vDGPzBlOH3dcMMgUVDRE/vZ
91FSJVWoVLyRgwe1M1L5iutmaB1oR08W7I0sJRegU+J3/yUmunu+LZFimA/FJLse
hkclkykW6sW1xIVXg9divKVuBdQJoRyUjmG3SSN+30ldGp0Q5y7JRHz0bX0cvZqA
lFBVNl5RWpz1lcDbc3N0OccSyxFsfJudjDcQqWevSiGPas2JypRcsQCihcf6k+gZ
1y7mRuirpOTqChRGlcNl
=Pq9K
-----END PGP SIGNATURE-----


More information about the arch-general mailing list