Mailinglist Archive: opensuse-factory (355 mails)

< Previous Next >
Re: socket-activated gpg-agent via systemd user files (was: [opensuse-factory] Re: Changes in gpg-agent / Plasma? SSH-Key no longer available in gpg-agent...)

On Thu, Mar 12, 2020 at 23:06, Wolfgang Rosenauer <wolfgang@xxxxxxxxxxxxx> wrote:

Am 12.03.20 um 22:14 schrieb Johannes Kastl:
On 12.03.20 at 21:06 Johannes Kastl wrote:

(off looking how to disable the gpg-agent start in KDE PLasma...)

Apparently this is being handled in /etc/X11/xdm/scripts/09-ssh-vars and
/etc/X11/xdm/scripts/10-gpg-agent, at least that were the only places I found so

Setting usessh and usegpg to no. Enable the systemd user sockets.
Only thing I had to do was export SSH_AUTH_SOCK pointing to
~/.ssh/ssh_auth_sock, that I created as a link to

Now ssh-agent and gpg-agent are fine, I am asked for a passphrase when trying to
use my SSH key.

Next stop: Wayland.

I was also running into gpg/ssh-agent issues when I switched to wayland.
The outcome so far was

I do not understand why the quite well working X11 setup is not used
(similarly) for a wayland session,

This is a twofold problem from the packaging point of view at least.
Non XDM specific scripts were very often installed in XDM scripts
directory, which means that every desktop has to have XDM installed for
no particular reason. If instead we used profile.d and xinit as the
source of those scripts, we could avoid installing XDM and have the
ability to use some of those scripts under Wayland.

Now just somebody has to do it ;)

LCP [Stasiek]

To unsubscribe, e-mail: opensuse-factory+unsubscribe@xxxxxxxxxxxx
To contact the owner, e-mail: opensuse-factory+owner@xxxxxxxxxxxx

< Previous Next >
Follow Ups