Ethical Hacking

Learn to find vulnerabilities before the bad guys do! Gain real world hands on hacking experience in our state of the art hacking lab. Course designed and taught by expert instructors with years of penetration testing experience. 12 student maximum in every class. Certification attempt included in every package.
Computer Forensics Training at InfoSec Institute

Gain the in-demand skills of a certified computer examiner, learn to recover trace data left behind by fraud, theft, and cybercrime perpetrators. Discover the source of computer crime and abuse at your organization so that it never happens again. All of our class sizes are guaranteed to be 12 students or less to facilitate one-on-one interaction with one of our expert instructors.




Network Security Secure-Shell
[Top] [All Lists]

Re: Agent Forwarding Question for the list

Subject: Re: Agent Forwarding Question for the list
Date: Thu, 05 Oct 2006 21:36:31 -0600

or whatever...  You can do this by adding such a line to your .xinitrc
(for startx) or .xsession (for sessions started from xdm/gdm/kdm
etc.).  One of these needs to be executable (i.e. a shell script), but
I can never remember which one (I think it's .xsession).  Make sure it
is executable using chmod.


I stand corrected on all points but had a question about this method. Say I am on Laptop A and ssh into my desktop at home which has all the keya and such on it. Using the .xinitrc isn't going to do me much good (less we get into X forwarding)..but if i have the ssh-agent/add in my .bashrc then as soon as I login via my SSH to my desktop it would automatically start my sessions. Should also work for all terminals I open inside X as well, right?


Wouldn't that be a better solution than requiring the start of an X Server for all term's to see the env variables?

Just curious.. I'm sure either way works but just curious as to why the preference to .xinitrc.

Thanks for correcting me,
Layne

<Prev in Thread] Current Thread [Next in Thread>