[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 10:42:44 CEST 2010


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

--- Comment #7 from Yves-Alexis Perez <corsac at debian.org> 2010-09-16 08:42:44 UTC ---
(In reply to comment #6)

> I know what is the status-quo; my point is that it *should* be done with
> autostart. This would be the most extensible way, and would help autostart
> scripts that require this.

Then you might want to open another enhancement bug on xfce4-session asking
about the gnome-session dbus protocol. Which doesn't seem to be a FD.o
standard, so it be a prerequisite anyway. And don't hold your breathe, Bryan
isn't really working on xfce4-session nowadays.

> 
> > > 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.
> > 
> > That's already the case. If you select “Start gnome services at startup”, then
> > gnome-keyring is run. In 4.6 it uses the old api though, so I doesn't work
> > correctly. But there are patches to make it start correctly and replace
> > ssh-agent.
> > 
> > See http://bugzilla.xfce.org/show_bug.cgi?id=5912
> 
> Yes, I am also aware of that. But I still think starting ssh-auth in
> /etc/xdg/xfce4/xinitrc is wrong, it should be left to other layers to do that;

For what it's worth, I agree :)

> either gdm (like it happens on Fedora), /etc/xdg/autostart/ssh-agent.desktop
> which would need dbus session support, or in xfce4-session itself just like
> gnome-keyring is run right now (as an option).

Imho it's ssh-agent itself which needs to take care of that. In Debian it's
already working thanks to the (non standard) Xsession.d stuff. I'm not too sure
why it's not upstream and what's the position with xinitrc.d stuff, though.

And as stated on the other bug report, I don't think starting each and
everything out there is the role of Xfce4 (wether by xfce4-utils xinitrc or by
xfce4-session). Tools should take care of that themselves, but as said above,
it requires a common ground. Autostart already works for stuff needed *after*
session start, we might need a common stuff for stuff needed *before*.
> 
> Alternatively, /etc/xdg/xfce4/xinitrc could read a configuration file somewhere
> that specifies whether or not ssh-aent should be run.

In 4.7 xinitrc reads an xfconf key (which is not set by any GUI, you have to
set it manually).

-- 
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