[ale] Handy little script others may have a use for too...
Michael Still
MikeS at McBurney.com
Mon Mar 24 16:39:14 EST 2003
Wait a sec, I just do 'ssh -X host' and X is automatic. No DISPLAY playing.
-----Original Message-----
From: da Black Baron [mailto:dbaron13 at atl.bellsouth.net]
To: ale at ale.org
Sent: Monday, March 24, 2003 4:41 PM
To: Atlanta Linux Enthusiasts
Subject: [ale] Handy little script others may have a use for too...
## Add this to your .profile, and you'll not have to set your display
## for remote X-apps when you ssh into your box!
display=$(env | grep SSH_CLIENT)
display1=${display##SSH_CLIENT=}
display2=${display1%%22}
display3=${display2%%??????}
DISPLAY=$display3':0' export DISPLAY
--------------<snip here>----------------------------
--
-------------------------------------------------------------------------
-------------------------------------------------------------------------
"Here's my family tree. As far as I can tell, my relatives were
carnival folk who were touring this place called Hiroshima in
the summer of 1945. Because they lost most of their hair, they
mostly married each other. And here I am"
-------------------------------------------------------------------------
-------------------------------------------------------------------------
(,,oBo,,)
Wylde Bill ||||
__________________________________________ http://lyst.org
http://mrpooter.sytes.net
wyldechylde at geocities.com
-------------------------------------------------------------------------
-------------------------------------------------------------------------
_______________________________________________
Ale mailing list
Ale at ale.org
http://www.ale.org/mailman/listinfo/ale
_______________________________________________
Ale mailing list
Ale at ale.org
http://www.ale.org/mailman/listinfo/ale
More information about the Ale
mailing list