Date: Wed, 30 Oct 2002 16:34:00 +0100 From: Stijn Hoop <stijn@win.tue.nl> To: "Marc G. Fournier" <scrappy@hub.org> Cc: freebsd-questions@freebsd.org Subject: Re: using ssh-agent with kdm login manager ... Message-ID: <20021030153400.GA97822@pcwin002.win.tue.nl> In-Reply-To: <20021030111422.S44235-100000@hub.org> References: <20021030111422.S44235-100000@hub.org>
index | next in thread | previous in thread | raw e-mail
[-- Attachment #1 --] On Wed, Oct 30, 2002 at 11:16:15AM -0400, Marc G. Fournier wrote: > I've searched the web (and am still searching), but for the life of me, I > can't get ssh-agent 'active' when using kdm for the login manager ... > > I've tried setting up a simple .xsession file: > > > cat .xsession > ssh-agent startkde > eval `ssh-agent -k` > > but that doesn't appear to work ... > > help? Here's what I do, using blackbox (using an idea of a friend of mine): ----------->8----------------->8--------- #!/bin/sh eval `/usr/bin/ssh-agent -s` ( while true; do sleep 6048000; done ) & WAITPID=$!; export WAITPID /usr/X11R6/bin/blackbox & wait $WAITPID eval `/usr/bin/ssh-agent -k` ----------->8----------------->8--------- This way I can even change window managers without stopping X. I have 'kill $WAITPID' as my 'exit session' command in the menu. You might be able to do something similar with KDE. Note that I use xdm, not kdm. HTH, --Stijn -- If today is the first day of the rest of your life, what the hell was yesterday? [-- Attachment #2 --] -----BEGIN PGP SIGNATURE----- Version: GnuPG v1.0.7 (FreeBSD) iD8DBQE9v/voY3r/tLQmfWcRAihdAJ976xtTqPTGeKZ3OyoETV/kWsoN0gCeJXYO 5SA2n5JQzkiSUTZHTJcX214= =6H4d -----END PGP SIGNATURE-----help
Want to link to this message? Use this URL: <https://mail-archive.FreeBSD.org/cgi/mid.cgi?20021030153400.GA97822>
