- Log into Gnome
- emacs-server is started by systemd, using the default configuration of my distribution (Fedora 36):
[Unit]
Description=Emacs text editor
Documentation=info:emacs man:emacs(1) https://gnu.org/software/emacs/
[Service]
Type=notify
ExecStart=/usr/bin/emacs --fg-daemon
ExecStop=/usr/bin/emacsclient --eval "(kill-emacs)"
# The location of the SSH auth socket varies by distribution, and some
# set it from PAM, so don't override by default.
# Environment=SSH_AUTH_SOCK=%t/keyring/ssh
Restart=on-failure
[Install]
WantedBy=default.target
- Start an emacs-client frame using the Gnome shell.
At this point I can use magit
and pull and push remote commits without typing my ssh key passphrase.
- Start an emacs frame (not a client) using the Gnome shell.
At this point I also can use my ssh key without typing the passphrase.
- Start an emacs-client frame using the Gnome shell.
I try to pull from my remote, emacs asks me for my ssh key passphrase.
I'm puzzled. I really would like to be able to continue using my ssh keys without typing the passphrase on subsequent emacs-client frames. This glitch becomes really annoying when I'm using emacs across multiple physical screens.