LinuxQuestions.org
Review your favorite Linux distribution.
Go Back   LinuxQuestions.org > Forums > Linux Forums > Linux - Newbie
User Name
Password
Linux - Newbie This Linux forum is for members that are new to Linux.
Just starting out and have a question? If it is not in the man pages or the how-to's this is the place!

Notices


Reply
  Search this Thread
Old 09-07-2008, 05:24 AM   #1
n03x3c
Member
 
Registered: Aug 2008
Location: India
Distribution: Fedora, RedHat
Posts: 101

Rep: Reputation: 17
Question Running remote X application - help


Hello Friends,

I am trying to run remote X application of CentOS 5 in Fedora 8.

I am doing following things.

CentOS machine...

Code:
xhost +fedora8
export DISPLAY=:0
Feodora 8 machine...

Code:
xhost +centos
export DISPLAY=:0
Now trying to run X app of CentOS from Fedora

Code:
ssh centos
root@centos: ****

# xterm -display fedora8:0
And it gives error. Error is

Quote:
xterm Xt error: Cannot open display %s
I am sure I am doing something wrong in exporting DISPLAY var. I don't know how to solve problem. I read this thing in Fedora 8 bible and I tried it. But I failed. Please help me out...

Thank You
 
Old 09-07-2008, 09:55 PM   #2
uncle_philip
Member
 
Registered: Apr 2008
Location: sydney
Distribution: centos5.2
Posts: 50

Rep: Reputation: 15
this is what I did,
assume connect from fedora8 to centos5
ssh -X usrname@centos5-ip.addr
 
Old 09-07-2008, 11:13 PM   #3
uncle_philip
Member
 
Registered: Apr 2008
Location: sydney
Distribution: centos5.2
Posts: 50

Rep: Reputation: 15
on centos,
under /etc/hosts,
make sure you have, 127.0.0.1 localhost.localdomain localhost
and under /etc/ssh/sshd_config,
X11Forwarding yes
 
Old 09-08-2008, 12:22 AM   #4
n03x3c
Member
 
Registered: Aug 2008
Location: India
Distribution: Fedora, RedHat
Posts: 101

Original Poster
Rep: Reputation: 17
Problem solved. Thank you for helping... :-D
 
Old 09-08-2008, 12:43 AM   #5
uncle_philip
Member
 
Registered: Apr 2008
Location: sydney
Distribution: centos5.2
Posts: 50

Rep: Reputation: 15
please tell, how you solve your problem ?
 
Old 09-08-2008, 11:36 PM   #6
n03x3c
Member
 
Registered: Aug 2008
Location: India
Distribution: Fedora, RedHat
Posts: 101

Original Poster
Rep: Reputation: 17
X11Forwarding was enabled, but... I was making mistake in executing command that runs remote X application. :-)
 
  


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 Display Running Application on Remote Machine with SHH anamericanjoe Linux - Software 3 09-14-2006 11:39 AM
Running X-application on a remote AND local machine LinuxFrosh Linux - Software 1 07-04-2006 10:24 AM
How do you connect to another computer and use an application running on it remote? zahadumy Linux - Software 8 05-19-2006 04:43 PM
Running remote application through SSH tuananhbirm Linux - General 1 11-15-2005 02:42 AM
Remote X Application camlopez SUSE / openSUSE 2 05-13-2005 02:17 AM

LinuxQuestions.org > Forums > Linux Forums > Linux - Newbie

All times are GMT -5. The time now is 04: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
Facebook: linuxquestions Google+: linuxquestions
Open Source Consulting | Domain Registration