Gentoo Websites Logo
Go to: Gentoo Home Documentation Forums Lists Bugs Planet Store Wiki Get Gentoo!
Bug 4180 - default XFree86 xinitrc script doesn't launch ssh-agent
Summary: default XFree86 xinitrc script doesn't launch ssh-agent
Status: RESOLVED INVALID
Alias: None
Product: Gentoo Linux
Classification: Unclassified
Component: Current packages (show other bugs)
Hardware: x86 Linux
: High normal (vote)
Assignee: Martin Schlemmer (RETIRED)
URL:
Whiteboard:
Keywords:
Depends on:
Blocks:
 
Reported: 2002-06-26 01:30 UTC by Gregory P. Smith
Modified: 2003-02-04 19:42 UTC (History)
0 users

See Also:
Package list:
Runtime testing required: ---


Attachments

Note You need to log in before you can comment on or make changes to this bug.
Description Gregory P. Smith 2002-06-26 01:30:39 UTC
Please add the following to /etc/X11/xinit/xinitrc right before it starts
looking for the users .xinitrc:

if [ -x /usr/bin/ssh-agent ]; then
    eval `/usr/bin/ssh-agent -s`
fi

Users shouldn't need to know how to run an ssh-agent when they log in, it should
just happen for them.  [i've got xfree 4.2.0-r12]
Comment 1 Seemant Kulleen (RETIRED) gentoo-dev 2002-06-26 02:18:38 UTC
have you considered using keychain?

http://www.gentoo.org/projects/keychain
Comment 2 Gregory P. Smith 2002-06-26 11:24:07 UTC
thanks.  i wasn't previously aware of keychain.  i'll enjoy using it.