Groups | Search | Server Info | Keyboard shortcuts | Login | Register [http] [https] [nntp] [nntps]


Groups > linux.debian.user > #177018

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

From Liam O'Toole <liam.p.otoole@gmail.com>
Newsgroups linux.debian.user
Subject Re: How to not start ssh-agent with XFCE4 desktop (only gpg-agent)?
Date 2017-01-26 21:40 +0100
Message-ID <t3YZP-3sV-5@gated-at.bofh.it> (permalink)
References <t3WY1-2hB-1@gated-at.bofh.it>
Organization linux.* mail to news gateway

Show all headers | View raw


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?
>
>=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

Back to linux.debian.user | Previous | Next — Previous in thread | Next in thread | Find similar | Unroll thread


Thread

How to not start ssh-agent with XFCE4 desktop (only gpg-agent)? Teemu Likonen <tlikonen@iki.fi> - 2017-01-26 19:30 +0100
  Re: How to not start ssh-agent with XFCE4 desktop (only gpg-agent)? Liam O'Toole <liam.p.otoole@gmail.com> - 2017-01-26 21:40 +0100
    Re: How to not start ssh-agent with XFCE4 desktop (only gpg-agent)? Tony Baldwin <tonybaldwin@gmx.com> - 2017-01-27 04:20 +0100
      Re: How to not start ssh-agent with XFCE4 desktop (only gpg-agent)? Teemu Likonen <tlikonen@iki.fi> - 2017-01-27 07:20 +0100

csiph-web