[Xfce-bugs] [Bug 6558] xfce and support for keychain

bugzilla-daemon at xfce.org bugzilla-daemon at xfce.org
Mon Jul 19 14:32:44 CEST 2010


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

--- Comment #3 from fordfrog at gmail.com 2010-07-19 12:32:42 UTC ---
well true, the real problem is that though in xinitrc SSH_AGENT_PID and
SSH_AUTH_SOCK seem to be exported (by eval `$sshagent -s`), if i run alt+f2 ->
Terminal which invokes my ~/.bashrc, this terminal knows nothing about these
variables (tested by adding env command into ~/.bashrc).

i also tried to comment ssh-agent stuff in /etc/xdg/xfce4/xinitrc and put .
~/.bashrc in ~/.xsession but that one does not seem to be called at all which
is probably because when using xdm, x server is already running by root. i
guess if i would put ssh-agent/keychain in /etc/X11/Xsession.d, it would not
work either as that script would be run by root and not by user.

i recall i also tried to put keychain in xfce4-session-settings but that also
did not cause to export SSH_AGENT_PID in Terminal.

i use xdm (and slim) to start xfce so my start command is: /bin/sh
/etc/xdg/xfce4/xinitrc -- /etc/X11/xinit/xserverrc

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