|
|||||||||||
|
Suggestion for XSession regarding keychain...
From: amit chakradeo <obsd(at)spam.chakradeo.net>
Date: Wed Jul 30 2003 - 12:11:43 EDT SENDBUG: -*- sendbug -*- SENDBUG: Lines starting with `SENDBUG' will be removed automatically, as SENDBUG: will all comments (text enclosed in `<' and `>'). SENDBUG: SENDBUG: Choose from the following categories: SENDBUG: SENDBUG: system user library documentation ports kernel sparc i386 m68k mips ppc arm alpha ns32k vax sparc64 SENDBUG: SENDBUG: To: gnats@openbsd.org Subject: From: amit chakradeo <obsd@spam.chakradeo.net> Cc: Reply-To: amit X-sendbug-version: 3.97 >Submitter-Id: net
Synopsis: Better way to start xdm XSession...ssh-agent is detected. >Fix: I was thinking of a way to make Xsession work with keychain and found many suggestions on the web. I think if the user has already started ssh-agent (using keychain or otherwise), Xsession shouldn't ignore it. This doesn't change anything for people who aren't already running ssh-agent, but makes life easier for people who do. Here is diff -c output for my suggestion: moglee: /etc/X11/xdm % diff -c Xsession-dist Xsession *** Xsession-dist Wed Jul 30 08:06:48 2003 - --- Xsession Wed Jul 30 08:07:25 2003
+ if [ "$SSH_AGENT_PID" ]; then
do_exit() {
My .xsession file is like this:
ssh-add -D < /dev/null
Thanks!
This archive was generated by hypermail 2.1.8 : Wed Aug 23 2006 - 13:30:06 EDT |
||||||||||
|
|||||||||||