[lug] SSH notes for meeting August 8, 2002

Hugh Brown hugh at vecna.com
Mon Aug 19 17:11:57 MDT 2002


On redhat 7.[1-3], I have done the following for my users.

in 

/home/<user>/.Xclients

put

exec ssh-agent gnome-session

or 

exec ssh-agent startkde

and that works great.

I personally do the following in ~/.Xclients

if [ -x /usr/X11R6/bin/afterstep ];
then
  /usr/X11R6/bin/xscreensaver -no-splash -lock-mode -lock-timeout 5&
  /usr/bin/gaim&
  /usr/bin/gkrellm -g -0+0&
   /usr/bin/ssh-agent /usr/X11R6/bin/afterstep
fi


I arrived at this by using the switchdesk utility, which autogenerated a
few files.  I played with them until I got the config the way I wanted

FWIW,

Hugh

On Sun, 2002-08-11 at 12:39, Rob Judd wrote:
> My slides for the demo on using keys with SSH may be found at
> http://www.math.du.edu/~rjudd/cryptography/notes/
> 
> One of the things I mentioned was how to get keys working with X.  The
> point is to run eval `ssh-agent` in the parent process of the window
> manager.  Traditionally this was done by putting eval `ssh-agent` in your
> .xsession file, however that file is no longer used by desktops like KDE
> and Gnome.  The two fixes I suggested were to edit the startkde script
> (/usr/bin) or the Xsession script (in the xdm directory) to put in that
> line.  Unfortunately that requires root access or a friendly sys-admin.
> Kevin mentioned that RedHat have put that in already for 7.3.
> 
> So my question is: are there any user-definable scripts that KDE and Gnome
> run where you could put this line as a regular user?  I would like to add
> that information to my slides.
> 
> Thanks a lot, Rob
> 
> _______________________________________________
> Web Page:  http://lug.boulder.co.us
> Mailing List: http://lists.lug.boulder.co.us/mailman/listinfo/lug
> Join us on IRC: lug.boulder.co.us port=6667 channel=#colug






More information about the LUG mailing list