On 2017-01-26, Teemu Likonen <[email protected]> wrote: > --=-=-= > Content-Type: text/plain > Content-Transfer-Encoding: quoted-printable > > 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? > >=2D-=20 > /// Teemu Likonen - .-.. <https://keybase.io/tlikonen> // > // PGP: 4E10 55DC 84E9 DFF6 13D7 8557 719D 69D3 2453 9450 /// > > --=-=-= > Content-Type: application/pgp-signature; name="signature.asc" > > --=-=-=-- > >
I haven't used XFCE for a while but, if I remember correctly. /usr/bin/startxfce4 is a shell script. Maybe there's a clue in it. -- Liam

