[Pkg-xfce-devel] Bug#852873: xfce4-session: ssh-agent is started even if user wishes to use gpg-agent's ssh agent protocol

Teemu Likonen tlikonen at iki.fi
Sat Jan 28 06:56:14 UTC 2017

Package: xfce4-session
Version: 4.12.1-5
Severity: normal

Dear Maintainer,

XFCE starts ssh-agent even if user wishes to use gpg-agent's ssh agent
protocol. The details:

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

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.

I think XFCE session should not start ssh-agent nor should it override
SSH_AUTH_SOCK variable (which "belongs" to gpg-agent in this use case).

-- System Information:
Debian Release: 9.0
  APT prefers testing
  APT policy: (500, 'testing')
Architecture: amd64 (x86_64)

Kernel: Linux 4.9.0-1-amd64 (SMP w/4 CPU cores)
Locale: LANG=fi_FI.utf8, LC_CTYPE=fi_FI.utf8 (charmap=UTF-8)
Shell: /bin/sh linked to /bin/dash
Init: systemd (via /run/systemd/system)

Versions of packages xfce4-session depends on:
ii  libatk1.0-0            2.22.0-1
ii  libc6                  2.24-8
ii  libcairo2              1.14.8-1
ii  libdbus-1-3            1.10.14-1
ii  libdbus-glib-1-2       0.108-2
ii  libfontconfig1         2.11.0-6.7
ii  libfreetype6           2.6.3-3+b1
ii  libgdk-pixbuf2.0-0     2.36.3-1
ii  libglib2.0-0           2.50.2-2
ii  libgtk2.0-0            2.24.31-1
ii  libice6                2:1.0.9-1+b1
ii  libpango-1.0-0         1.40.3-3
ii  libpangocairo-1.0-0    1.40.3-3
ii  libpangoft2-1.0-0      1.40.3-3
ii  libpolkit-gobject-1-0  0.105-17
ii  libsm6                 2:1.2.2-1+b1
ii  libwnck22              2.30.7-5.1
ii  libx11-6               2:1.6.4-2
ii  libxfce4ui-1-0         4.12.1-2
ii  libxfce4util7          4.12.1-3
ii  libxfconf-0-2          4.12.1-1
ii  xfce4-settings         4.12.1-1
ii  xfconf                 4.12.1-1

Versions of packages xfce4-session recommends:
ii  dbus-x11           1.10.14-1
ii  libpam-systemd     232-14
ii  light-locker       1.7.0-3
ii  systemd-sysv       232-14
ii  upower             0.99.4-4
ii  x11-xserver-utils  7.7+7
ii  xfdesktop4         4.12.3-3
ii  xfwm4              4.12.3-3

Versions of packages xfce4-session suggests:
pn  fortunes-mod  <none>
pn  pm-utils      <none>
ii  sudo          1.8.19p1-1

-- no debconf information

More information about the Pkg-xfce-devel mailing list