Oh dear - another clueless 'setenv DISPLAY' question...
Oh dear - another clueless 'setenv DISPLAY' question...
- Subject: Oh dear - another clueless 'setenv DISPLAY' question...
- From: email@hidden
- Date: Fri, 10 Oct 2008 19:44:49 +0000
Hi,
I have an old environment at work that I'm trying to resurrect whereby I use my Mac and X11 to run CAD jobs on my linux box and display their windows back on my Mac. I used to do this by running a script that was invoked when I double-clicked on the icons of the CAD package files. That script looked like:
xhost + my_linux_machine
rsh my_linux_machine -l mueck "source ~/.login; setenv DISPLAY my_macs_IP_address:0; cad_command &"
The beauty of the above was that I didn't have to enter my password for the rsh command because I had my Mac listed in the linux box's .rhosts file i.e. my Mac was granted permission with no questions asked.
Now I know that the latest X11 frowns upon setting DISPLAY and I can easily do:
ssh -Y mueck@ my_linux_machine
-- enter my password
cad_command
However when automating the ssh method via double-click it's a major pain to have to enter my password all the time. Can some kind soul please tell me how to either modify the rsh method to get around the DISPLAY thing, or advise some way to get around the password requirement in the ssh method. Regarding the ssh method, I've already tried making a ~/.shosts file and a ~/.ssh/known_hosts file but neither work. Going to our IT department (who don't like Macs) is not an option.
I'm only just average at unix & X11 stuff...
Thanks,
Mick
_______________________________________________
Do not post admin requests to the list. They will be ignored.
X11-users mailing list (email@hidden)
This email sent to email@hidden