Public bug reported:

1. `apt-get install -y sway` to install an alternative Wayland window manager.
2. Login to `sway` user session.
3. Gnome Keyring will ask for passphrase to unlock SSH keys.
4. Then `gnome-keyring-daemon` stays in the background.
5. However, no shell terminal will see this ssh.

   Attempting to use `ssh` or `git` remote will ask for the same
passphrase again.

Workaround:

Add `export SSH_AUTH_SOCK=/run/user/${UID}/keyring/ssh` to `.bashrc`.
Then it works.

ProblemType: Bug
DistroRelease: Ubuntu 22.04
Package: gnome-keyring 40.0-3ubuntu3
ProcVersionSignature: Ubuntu 5.15.0-48.54-lowlatency 5.15.53
Uname: Linux 5.15.0-48-lowlatency x86_64
ApportVersion: 2.20.11-0ubuntu82.1
Architecture: amd64
CasperMD5CheckResult: pass
Date: Tue Oct  4 00:09:03 2022
InstallationDate: Installed on 2022-09-05 (28 days ago)
InstallationMedia: Ubuntu 22.04.1 LTS "Jammy Jellyfish" - Release amd64 
(20220809.1)
SourcePackage: gnome-keyring
UpgradeStatus: No upgrade log present (probably fresh install)

** Affects: gnome-keyring (Ubuntu)
     Importance: Undecided
         Status: New


** Tags: amd64 apport-bug jammy wayland-session

-- 
You received this bug notification because you are a member of Ubuntu
Desktop Bugs, which is subscribed to gnome-keyring in Ubuntu.
https://bugs.launchpad.net/bugs/1991587

Title:
  Gnome Keyring SSH agent socket is ignored by Sway session

To manage notifications about this bug go to:
https://bugs.launchpad.net/ubuntu/+source/gnome-keyring/+bug/1991587/+subscriptions


-- 
desktop-bugs mailing list
desktop-bugs@lists.ubuntu.com
https://lists.ubuntu.com/mailman/listinfo/desktop-bugs

Reply via email to