LinuxQuestions.org

LinuxQuestions.org (/questions/)
-   Linux - Networking (https://www.linuxquestions.org/questions/linux-networking-3/)
-   -   how can a rsh open a GUI aplication in remote window?? (https://www.linuxquestions.org/questions/linux-networking-3/how-can-a-rsh-open-a-gui-aplication-in-remote-window-465917/)

michi 07-20-2006 10:19 AM

how can a rsh open a GUI aplication in remote window??
 
Hi all!!

I'm trying to use a rsh call to use in remote machine an aplication that opens display there, but I have this message: "cannot connect to X server".
If I do it with a rlogin it's works, but I need it in a rsh call to launch a script with the aplication

I need that the aplication display in the remote machine, setenv DISPLAY is uselees in this case

I can't use ssh


any idea???

too much thanks anyway :)

marozsas 07-20-2006 11:21 AM

Quote:

Originally Posted by michi
I need that the aplication display in the remote machine, setenv DISPLAY is uselees in this case

You really need to inform which display the app will output to. Even if it is the local one. For the local display, "setenv DISPLAY :0.0; path/to/your/appl" will do the trick. (are you using csh there ?, otherwise "export DISPLAY=:0.0; /path...")

And you already knows rsh is a deprecated/unsecure protocol, isn't ?
I must advice you to change to ssh which works fine for remote applications.

michi 07-20-2006 12:16 PM

thanks, I deprecated SETENV DISPLAY machine:0.0 thinking that :0.0 will be the default ^^u

thanks by the advice but I can't change to ssh for now

too much thanks :)


All times are GMT -5. The time now is 04:03 PM.