debcrafters-packages team mailing list archive
-
debcrafters-packages team
-
Mailing list archive
-
Message #08527
[Bug 2125549] Re: ssh agent no longer work a questing upgrade
> (2) It does not appear that xfce launches applications as transient
systemd user units. To see this, try > running the following from a
terminal in a graphical session:
That's not necessary, provided that the graphical shell process has the
environment set and exports it when forking to the app process.
> (3) So, given that we moved from gnome-keyring to gcr4, my guess is
that gnome-keyring had another method of setting the SSH_AUTH_SOCK
variable in addition to the systemctl --user set-environment call in the
socket unit, and that gcr4 has no such mechanism.
Ok, xfce4-session has special integration with gnome-keyring-daemon.
It runs `gnome-keyring-daemon` which prints out some key-value-pairs to stdout and xfce4-session uses those to set its own environment:
$ gnome-keyring-daemon --start 2>/dev/null
GNOME_KEYRING_CONTROL=/run/user/1000/keyring
SSH_AUTH_SOCK=/run/user/1000/keyring/ssh
See https://salsa.debian.org/xfce-
team/desktop/xfce4-session/-/blob/972de48270971c2dc872bb5608ddac4a9ad8e0a1/xfce4-session/xfsm-
compat-gnome.c#L158
Now that gnome-keyring-daemon no longer provides an ssh agent,
xfce4-session doesn't know where to find one anymore.
I suggest a small patch to xfce4-session to try and find other known sockets, in order:
$XDG_RUNTIME_DIR/gcr/ssh
$XDG_RUNTIME_DIR/openssh_agent
Long-term, xfce4-session should invest in moving its session startup to
be systemd-based. But that's definitely out of scope for 25.10
** Changed in: gcr4 (Ubuntu)
Status: New => Won't Fix
** Changed in: gcr4 (Ubuntu)
Milestone: ubuntu-25.10 => None
--
You received this bug notification because you are a member of
Debcrafters packages, which is subscribed to gcr4 in Ubuntu.
https://bugs.launchpad.net/bugs/2125549
Title:
ssh agent no longer work a questing upgrade
Status in gcr4 package in Ubuntu:
Won't Fix
Status in openssh package in Ubuntu:
Fix Released
Status in xubuntu-meta package in Ubuntu:
New
Bug description:
ssh agent worked fine in XUbuntu 25.04. After upgrading to 25.10
(beta) it no longer works.
* ssh-add reports "Could not open a connection to your authentication agent."
* ssh keeps asking for key password
* there is no graphical dialog asking for passwords when adding ssh-keys anymore
* no SSH variable in terminal environment
ProblemType: Bug
DistroRelease: Ubuntu 25.10
Package: openssh-client 1:10.0p1-5ubuntu4
ProcVersionSignature: Ubuntu 6.17.0-4.4-generic 6.17.0-rc5
Uname: Linux 6.17.0-4-generic x86_64
NonfreeKernelModules: nvidia_modeset nvidia
ApportVersion: 2.33.1-0ubuntu2
Architecture: amd64
CasperMD5CheckResult: unknown
CurrentDesktop: XFCE
Date: Wed Sep 24 07:58:24 2025
InstallationDate: Installed on 2017-09-26 (2920 days ago)
InstallationMedia: Ubuntu-Server 17.10 "Artful Aardvark" - Alpha amd64 (20170924)
RelatedPackageVersions:
ssh-askpass N/A
libpam-ssh N/A
keychain N/A
ssh-askpass-gnome N/A
SSHClientVersion: OpenSSH_10.0p2 Ubuntu-5ubuntu4, OpenSSL 3.5.2 5 Aug 2025
SourcePackage: openssh
UpgradeStatus: Upgraded to questing on 2025-09-22 (2 days ago)
To manage notifications about this bug go to:
https://bugs.launchpad.net/ubuntu/+source/gcr4/+bug/2125549/+subscriptions
References