Comment 9 for bug 275010

Revision history for this message
Max Bowsher (maxb) wrote :

Here is a workaround that can be enacted purely using non-root config:

1. Add the line "unset SSH_AUTH_SOCK" to ~/.xsessionrc (creating it if it doesn't exist).
2. Run gnome-session-properties and untick "GNOME Keyring Daemon Wrapper".

The first makes /etc/X11/Xsession.d/90x11-common_ssh-agent not decide that it should not start since there is already an existing agent. The second stops the g-k-r envvars being reinjected into the X session at a later point in startup.