As documented here: http://docs.xfce.org/xfce/xfce4-session/advanced "By default xfce4-session tries to start the gpg- or ssh-agent" I solved my trouble as document there: xfconf-query -c xfce4-session -p /startup/ssh-agent/enabled -n -t bool -s false Here are the bugs I see: 1. gnupg-agent starts even if "Session and Startup"->"Application Autostart"->"GPG Password Agent" is NOT checked. 2. It is started with --enable-ssh-support even if ssh-agent is already running (stomping on the existing ssh-agent), and ignoring ~/.gnupg/gpg-agent.conf 3. man gpg-agent says "The agent is automatically started on demand by gpg, gpgsm, gpgconf, or gpg-connect-agent. Thus there is no reason to start it manually." Personally, I start ssh-agent across all my sessions (X11, Wayland, VT) with ~/.config/systemd/user/..., and allow gpg-agent to autostart on demand. It looks like the history of this issue is here: "xfce-utils/scripts/xinitrc.in.in: Don't start ssh-agent and gpg-agent" https://bugzilla.xfce.org/show_bug.cgi?id=7018 Thank You!
Hi folks, I don't know if this is the same issue, but I'm finding that it's impossible to start xfce without either ssh-agent, gpg-agent or gnome-keyring starting. I'd like to disable ALL of these. I tried following the prescription here: http://docs.xfce.org/xfce/xfce4-session/advanced which says that the following command should disable ssh-agent and gpg-agent, but it doesn't seem to have any effect: xfconf-query -c xfce4-session -p /startup/ssh-agent/enabled -n -t bool -s false I see from the same document that it's possible to substitute gnome-keyring for both of these, but I don't want that either. The xfce version is 4.10, running under CentOS 7. Any advice would be appreciated. Bryan
(In reply to Bryan Wright from comment #1) > I'd like to disable ALL of these. The documentation should be updated, ssh-agent and gpg-agent handled separately now (see https://bugzilla.xfce.org/show_bug.cgi?id=8792). Try this: xfconf-query -c xfce4-session -p /startup/ssh-agent/enabled -n -t bool -s false xfconf-query -c xfce4-session -p /startup/gpg-agent/enabled -n -t bool -s false And make sure that 'GNOME compat mode' is disabled too (check xfconf-query -c xfce4-session -p /compat/LaunchGNOME and set it to false if needed), otherwise gnome-keyring will be launched.
Doc is updated, and gpg/ssh handling has been improved in 4.15 series
I think, it's about: https://docs.xfce.org/xfce/xfce4-session/advanced https://gitlab.xfce.org/xfce/xfce4-session/-/commit/d3c2c37c1e68aecee5a2235bd8facdc91cb1f33e