[Xfce-bugs] [Bug 6073] xinitrc replaces gnome-keyring SSH_AUTH_SOCK with ssh-agent

bugzilla-daemon at xfce.org bugzilla-daemon at xfce.org
Thu Sep 16 08:40:44 CEST 2010


http://bugzilla.xfce.org/show_bug.cgi?id=6073

--- Comment #4 from Felipe Contreras <felipe.contreras at gmail.com> 2010-09-16 06:40:44 UTC ---
(In reply to comment #3)
> (In reply to comment #2)
> > (In reply to comment #1)
> > > Hmm, the problem is that there isn't a good way to check that the auth sock is
> > > actually valid and isn't a stale env var left over from something else.
> > 
> > Why is ssh-agent called from there in the first place? Shouldn't it be another
> > service in /etc/xdg/autostart?
> 
> autostart is too late in the startup process. It has to be a parent of
> xfce4-session so every child inherits the SSH_AUTH_SOCK and SSH_AGEN_PID
> envvar.

Nope, GNOME starts the keyring through autostart, but of course you would have
to register Xfce as a session manager in dbus, and listen for when environment
variables are requested to be updated.

http://live.gnome.org/SessionManagement/GnomeSession

The only other sane option is to make it a configuration directly in the
preferences, so that the user can choose between gnome compat's keyring, or
ssh-agent.

-- 
Configure bugmail: http://bugzilla.xfce.org/userprefs.cgi?tab=email
------- You are receiving this mail because: -------
You are the assignee for the bug.



More information about the Xfce-bugs mailing list