LinuxQuestions.org
Visit Jeremy's Blog.
Go Back   LinuxQuestions.org > Forums > Linux Forums > Linux - Networking
User Name
Password
Linux - Networking This forum is for any issue related to networks or networking.
Routing, network cards, OSI, etc. Anything is fair game.

Notices


Reply
  Search this Thread
Old 07-20-2006, 10:19 AM   #1
michi
LQ Newbie
 
Registered: Sep 2002
Location: MADRID (SPAIN)
Distribution: REDHAT 9.0
Posts: 9

Rep: Reputation: 0
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
 
Old 07-20-2006, 11:21 AM   #2
marozsas
Senior Member
 
Registered: Dec 2005
Location: Campinas/SP - Brazil
Distribution: SuSE, RHEL, Fedora, Ubuntu
Posts: 1,499
Blog Entries: 2

Rep: Reputation: 68
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.
 
Old 07-20-2006, 12:16 PM   #3
michi
LQ Newbie
 
Registered: Sep 2002
Location: MADRID (SPAIN)
Distribution: REDHAT 9.0
Posts: 9

Original Poster
Rep: Reputation: 0
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
 
  


Reply


Thread Tools Search this Thread
Search this Thread:

Advanced Search

Posting Rules
You may not post new threads
You may not post replies
You may not post attachments
You may not edit your posts

BB code is On
Smilies are On
[IMG] code is Off
HTML code is Off



Similar Threads
Thread Thread Starter Forum Replies Last Post
How to open an remote X window on FC5 from a Solaris 5 station? murariua Linux - Newbie 2 07-20-2006 04:44 AM
SuSe 10 on a remote system via rsh is very slow vonSawitzky Linux - Networking 0 01-27-2006 05:21 AM
RSH (remote shell) maseby Linux - Newbie 1 01-22-2005 07:54 PM
Can't open GUI of programs in remote machines by telnet and setting DISPLAY..... bioinfo Linux - Networking 2 10-02-2004 08:26 AM
Mandrake 9.1 + Open Office = Aplication ErrorAborted Vladlen Linux - Software 5 07-02-2003 01:54 PM

LinuxQuestions.org > Forums > Linux Forums > Linux - Networking

All times are GMT -5. The time now is 05:36 PM.

Main Menu
Advertisement
My LQ
Write for LQ
LinuxQuestions.org is looking for people interested in writing Editorials, Articles, Reviews, and more. If you'd like to contribute content, let us know.
Main Menu
Syndicate
RSS1  Latest Threads
RSS1  LQ News
Twitter: @linuxquestions
Open Source Consulting | Domain Registration