Package: desktop-base Version: 12.0.6+nmu1~deb12u1 Severity: normal X-Debbugs-Cc: debian.mournful...@passmail.net
If Konsole is started using krunner ssh-agent works. If Konsole is started sing a shortcut ssh-agent is broken. This seems to be due to the way the plasma session is initialised, and it's broken on Debian while Fedora ships a workaround (voluntary or otherwise). Steps to reproduce: - Run Konsole from the application menu - Run `ssh-agent -l`, see 'The agent has no identities.' - Open System Settings > Shortcuts > Add Application > Konsole - Choose a shortcut, apply, then launch Konsole using that shortcut - Run `ssh-agent -l`, now it throws the error: 'Could not open a connection to your authentication agent.' I found someone on stackoverflow lamenting the same behaviour: https://unix.stackexchange.com/questions/771404/launching-via-plasma-shortcut-removes-ssh-agents-environment-variables It was confirmed on KDE's bug tracker: https://bugs.kde.org/show_bug.cgi?id=483541 Quoting Nicolas Fella from the bug report: ===== What seem to be happening is this: When launching apps via global shortcuts they are launched from kwin_wayland whereas when they are launched from the app launcher/krunner the launching process is plasmashell/krunner. When SSH_AUTH_SOCK is populated after kwin_wayland is started it will not be in kwin's environment, so it doesn't propagate to apps launched by kwin. Fedora ships a file /etc/xdg/plasma-workspace/env/ssh-agent.sh that causes SSH_AUTH_SOCK to be set before kwin starts, so for me on Fedora it works fine. However on Neon there's no such file so SSH_AUTH_SOCK is not set that way and only later set by something else ===== It would be nice if Debian had the same workaround Thanks! -- System Information: Debian Release: 12.7 APT prefers stable-updates APT policy: (500, 'stable-updates'), (500, 'stable-security'), (500, 'stable') Architecture: amd64 (x86_64) Kernel: Linux 6.1.0-26-amd64 (SMP w/4 CPU threads; PREEMPT) Locale: LANG=en_GB.UTF-8, LC_CTYPE=en_GB.UTF-8 (charmap=UTF-8), LANGUAGE=en_GB:en Shell: /bin/sh linked to /usr/bin/dash Init: systemd (via /run/systemd/system) LSM: AppArmor: enabled Versions of packages desktop-base depends on: ii fonts-quicksand 0.2016-2.1 ii librsvg2-common 2.54.7+dfsg-1~deb12u1 Versions of packages desktop-base recommends: ii plymouth-label 22.02.122-3 Versions of packages desktop-base suggests: ii kde-standard 5:142 ii xfce4 4.18 -- no debconf information