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

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





On 01/26/2017 03:38 PM, Liam O'Toole wrote:
On 2017-01-26, Teemu Likonen <tlikonen@iki.fi> 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?


Call me crazy, but, have you tried turning ssh off in rcconf?

Tony

--
http://tonybaldwin.me
all tony, all the time


Reply to: