[Pkg-xfce-devel] Bug#470599: Bug#470599: Bug#470599: /etc/xdg/xfce4/xinitrc ignores Xsession.options in handling ssh-agent

Yves-Alexis Perez corsac at debian.org
Wed Mar 12 16:47:50 UTC 2008


On Wed, Mar 12, 2008 at 04:32:14PM +0000, novakyu wrote:
> On Wed, Mar 12, 2008 at 3:21 AM, Yves-Alexis Perez <corsac at debian.org> wrote:
> >  Here, the running ssh-agent is by Xsession stuff, not by xfce's xinitrc (the
> >  line is like ssh-agent gpgagent --daemon ... dbus-launch --exit-with-session
> >  startxfce4).
> 
> I should have clarified. I already edited Xsession.options to comment
> out use-ssh-agent, but even then, ssh-agent kept getting "mysteriously"
> killed, until I found xfce4's xinitrc that has its own ssh-agent-related
> lines, which does its own thing with ssh-agent, if ssh-agent isn't run
> with the common Xsession script.

Yup.
> 
> And that's what I considered a bug---xfce4's xinitrc is not working with
> the rest of the X: if the user wants ssh-agent launched with X and has
> use-ssh-agent defined, then xfce4's xinitrc is not doing anything useful
> in that regard, and if the user does not want ssh-agent launched with X
> (i.e. use-ssh-agent is not defined in Xsession.options), xfce4 launches
> ssh-agent anyway and kills it on exit.

Well, that is for people not using Xsession.d but still using startxfce4.
startxfce4 is the upstream way to run Xfce, wich is what user may expect to have
when it uses Xfce on whatever distro.

If you don't want this behavior, you're free to edit it. But this is still a
sane default, imho.
-- 
Yves-Alexis





More information about the Pkg-xfce-devel mailing list