[Date Prev][Date Next] [Thread Prev][Thread Next] [Date Index] [Thread Index]

Re: Lost graphical ssh-askpass with Xfce4 in forky



On 29/09/2025 11:30, Max Nikulin wrote:
On 28/09/2025 21:21, Julian Gilbey wrote:
On Sat, Sep 27, 2025 at 12:12:27PM +0700, Max Nikulin wrote:
In my notes I have a mention of
gnome-keyring-daemon for GNOME session on Ubuntu and it was 5 years ago. The
related setting was "SSH Key Agent" in gnome-session-properties.

Thanks!  I can't see anything like that in Xfce4, though,
unfortunately.

Finally I tried a VM with Debian 12 bookworm XFCE that I have. I see the following file /etc/xdg/autostart/gnome-keyring-ssh.desktop, so gnome- keyring-daemon is installed by default.

Actually that autostart files are (intentionally) ignored by XFCE. gnome-keyring is started by systemd *without* its ssh component.

     SSH_AUTH_SOCK=/run/user/1000/keyring/ssh ssh HOST

and I got a GUI prompt. I have no idea it is one that you expect. I do not have ssh-askpass installed in this VM.

The reason why I got a GUI prompt is that I executed a command from the .desktop file earlier

    /usr/bin/gnome-keyring-daemon --start --components=ssh

So I have no idea what way GUI prompt was configured on Julian's machine earlier.

However in the gnome-keyring changelog I noticed the following entry:

gnome-keyring (48.0-2) experimental; urgency=medium

  * Team upload
  * Stop building gnome-keyring ssh-agent in favour of gcr4 ssh-agent

 -- Alessandro Astone <alessandro.astone@canonical.com>  Sun, 27 Jul 2025 16:56:56 +0200

I can not tell you what gcr expect from DE to display GUI prompt. Perhaps I am wrong, but my impression is that switching to gcr caused full screen modal window to ask pass phrase in GNOME or Unity session several years ago.

In bookworm gcr and gnome-keyring may be used as ssh-agents in addition to gpg and the implementation from openssh (the latter as a part of X11 or systemd session). Not to mention e.g. keepassxc.


Reply to: