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>
next in thread | previous in thread | raw e-mail | index | archive | help
--k1lZvvs/B4yU6o8G Content-Type: text/plain; charset=us-ascii Content-Disposition: inline Content-Transfer-Encoding: quoted-printable 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 ... >=20 > I've tried setting up a simple .xsession file: >=20 > > cat .xsession > ssh-agent startkde > eval `ssh-agent -k` >=20 > but that doesn't appear to work ... >=20 > 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=3D$!; 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 --=20 If today is the first day of the rest of your life, what the hell was yesterday? --k1lZvvs/B4yU6o8G Content-Type: application/pgp-signature Content-Disposition: inline -----BEGIN PGP SIGNATURE----- Version: GnuPG v1.0.7 (FreeBSD) iD8DBQE9v/voY3r/tLQmfWcRAihdAJ976xtTqPTGeKZ3OyoETV/kWsoN0gCeJXYO 5SA2n5JQzkiSUTZHTJcX214= =6H4d -----END PGP SIGNATURE----- --k1lZvvs/B4yU6o8G-- To Unsubscribe: send mail to majordomo@FreeBSD.org with "unsubscribe freebsd-questions" in the body of the message
Want to link to this message? Use this URL: <https://mail-archive.FreeBSD.org/cgi/mid.cgi?20021030153400.GA97822>