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


Groups > linux.debian.user > #177015 > unrolled thread

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

Started byTeemu Likonen <tlikonen@iki.fi>
First post2017-01-26 19:30 +0100
Last post2017-01-27 07:20 +0100
Articles 4 — 3 participants

Back to article view | Back to linux.debian.user


Contents

  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

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

FromTeemu Likonen <tlikonen@iki.fi>
Date2017-01-26 19:30 +0100
SubjectHow to not start ssh-agent with XFCE4 desktop (only gpg-agent)?
Message-ID<t3WY1-2hB-1@gated-at.bofh.it>

[Multipart message — attachments visible in raw view] — view raw

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 ///

[toc] | [next] | [standalone]


#177018

FromLiam O'Toole <liam.p.otoole@gmail.com>
Date2017-01-26 21:40 +0100
Message-ID<t3YZP-3sV-5@gated-at.bofh.it>
In reply to#177015
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

[toc] | [prev] | [next] | [standalone]


#177023

FromTony Baldwin <tonybaldwin@gmx.com>
Date2017-01-27 04:20 +0100
Message-ID<t45eV-7nJ-1@gated-at.bofh.it>
In reply to#177018

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

[toc] | [prev] | [next] | [standalone]


#177026

FromTeemu Likonen <tlikonen@iki.fi>
Date2017-01-27 07:20 +0100
Message-ID<t4837-CI-5@gated-at.bofh.it>
In reply to#177023

[Multipart message — attachments visible in raw view] — view raw

Tony Baldwin [2017-01-26 22:12:35-05] wrote:

> have you tried turning ssh off in rcconf?

I'm talking about not starting ssh-agent in user XFCE desktop session. I
need the ssh server.

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

[toc] | [prev] | [standalone]


Back to top | Article view | linux.debian.user


csiph-web