Re: remote login script

2005-11-23 Thread marzubus
What about ssh -X [EMAIL PROTECTED]

this enables x11 forwarding for session

Kegan Holtzhausen


-- 
To UNSUBSCRIBE, email to [EMAIL PROTECTED] 
with a subject of unsubscribe. Trouble? Contact [EMAIL PROTECTED]



Re: remote login script

2005-11-23 Thread Yoram Hekma

Amish Rughoonundon wrote:


Hi,
I would like to do something only when i remote login to my debian 
box. I would like to run export DISPLAY=[client ip]:0.0 but i don't 
want linux to do this if I login on the box itself. Thanks

Amish


I take it you log in using ssh? If so, try ssh -X or ssh -Y. This 
tunnels your X through ssh.

You have to allow X-forwarding in /etc/sshd_config though


--
To UNSUBSCRIBE, email to [EMAIL PROTECTED] 
with a subject of unsubscribe. Trouble? Contact [EMAIL PROTECTED]




remote login script

2005-11-22 Thread Amish Rughoonundon

Hi,
I would like to do something only when i remote login to my debian box. I 
would like to run export DISPLAY=[client ip]:0.0 but i don't want linux to 
do this if I login on the box itself. Thanks

Amish


--
To UNSUBSCRIBE, email to [EMAIL PROTECTED] 
with a subject of unsubscribe. Trouble? Contact [EMAIL PROTECTED]