[Date Prev][Date Next] [Thread Prev][Thread Next] [Date Index] [Thread Index]

How to not start ssh-agent with XFCE4 desktop (only gpg-agent)?



I have a Debian testing XFCE4 desktop system and use gpg-agent to
manager ssh-agent protocol as well. There is "enable-ssh-support" in
~/.gnupg/gpg-agent.conf file which, among other things, makes
/etc/X11/Xsession.d/90gpg-agent file set variable SSH_AUTH_SOCK so that
/etc/X11/Xsession.d/90x11-common_ssh-agent file _doesn't_ start
ssh-agent.

That works just fine (i.e., ssh-agent is not started) if I start a bare
X session like

    $ startx /usr/bin/xfce4-terminal

but if I start a full XFCE4 session (/usr/bin/startxfce4) then something
(but certainly not 90x11-common_ssh-agent) starts "ssh-agent -s" process
and overrides SSH_AUTH_SOCK variable. And that's annoying.

So, does anybody know how to not start ssh-agent with XFCE4 desktop
session?

-- 
/// Teemu Likonen   - .-..   <https://keybase.io/tlikonen> //
// PGP: 4E10 55DC 84E9 DFF6 13D7 8557 719D 69D3 2453 9450 ///

Attachment: signature.asc
Description: PGP signature


Reply to: