Results 1 to 2 of 2
Hi, in my .cshrc file I would like to set DISPLAY.
I know how to do that, thats not the problem though.
Lets say I have a machine called mike ...
Enjoy an ad free experience by logging in. Not a member yet? Register.
- 01-23-2004 #1Just Joined!
- Join Date
- May 2003
- Location
- Minnesota
- Posts
- 9
getting hostname of computer through rsh
Hi, in my .cshrc file I would like to set DISPLAY.
I know how to do that, thats not the problem though.
Lets say I have a machine called mike and I rsh to a machine called luke, I would somehow like
to set the DISPLAY variable to mike:0 automatically. Now If I could get mike into an enviroment variable, I could set my display in .cshrc using that variable.
Anybody know of how to go about doing this?
--Mike
- 01-24-2004 #2Linux Guru
- Join Date
- Oct 2001
- Location
- Täby, Sweden
- Posts
- 7,578
My tip is that you should use ssh instead of rsh. It's more secure, and you can set it up to perform automatic X11 forwarding.


Reply With Quote
