LinuxQuestions.org
Visit Jeremy's Blog.
Home Forums Tutorials Articles Register
Go Back   LinuxQuestions.org > Forums > Linux Forums > Linux - Desktop
User Name
Password
Linux - Desktop This forum is for the discussion of all Linux Software used in a desktop context.

Notices


Reply
  Search this Thread
Old 12-28-2010, 03:44 AM   #1
rcs.raja
LQ Newbie
 
Registered: Dec 2010
Posts: 2

Rep: Reputation: 0
Question Remote display application on Fedora desktop ?


I have an X application. I want to run the application on one box and I want the display to come up on fedora desktop.

I just tried setting DISPLAY environment variable to fedora box's "ip_address:0.0" and ran the application. Its throwing error can't display.

Eg :

# setenv DISPLAY 11.178.59.29:0.0
# xclock
Error: Can't open display: 11.178.59.29:0.0


Could somebody help out on how to do this

Thanks
 
Old 12-28-2010, 09:40 AM   #2
TB0ne
LQ Guru
 
Registered: Jul 2003
Location: Birmingham, Alabama
Distribution: SuSE, RedHat, Slack,CentOS
Posts: 26,659

Rep: Reputation: 7970Reputation: 7970Reputation: 7970Reputation: 7970Reputation: 7970Reputation: 7970Reputation: 7970Reputation: 7970Reputation: 7970Reputation: 7970Reputation: 7970
Quote:
Originally Posted by rcs.raja View Post
I have an X application. I want to run the application on one box and I want the display to come up on fedora desktop. I just tried setting DISPLAY environment variable to fedora box's "ip_address:0.0" and ran the application. Its throwing error can't display.

Eg :
# setenv DISPLAY 11.178.59.29:0.0
# xclock
Error: Can't open display: 11.178.59.29:0.0


Could somebody help out on how to do this
Thanks
Not really, since you don't tell us what the CLIENT is running. If the client isn't running X software, or that software hasn't allowed incoming X sessions, you'll get that error. If you're running Linux, make sure X has started without the -nolisten option. Using Windows? Then load an X emulator.

This has been covered MANY times here, so search the old threads for many answers.
 
Old 12-29-2010, 12:15 AM   #3
rcs.raja
LQ Newbie
 
Registered: Dec 2010
Posts: 2

Original Poster
Rep: Reputation: 0
Hi Guru,

Client(where xclock is running) and server(where I want display) both are linux boxes.

Looks like my server is not allowing connections. Could you please tell me how to make server allow connections.
Where to set the -nolisten option which you mentioned?
Here Im trying to display gui on default fedora desktop. Can I do that ? Or is there any other method ?

Thanks
Chandu
 
Old 12-29-2010, 10:20 AM   #4
TB0ne
LQ Guru
 
Registered: Jul 2003
Location: Birmingham, Alabama
Distribution: SuSE, RedHat, Slack,CentOS
Posts: 26,659

Rep: Reputation: 7970Reputation: 7970Reputation: 7970Reputation: 7970Reputation: 7970Reputation: 7970Reputation: 7970Reputation: 7970Reputation: 7970Reputation: 7970Reputation: 7970
Quote:
Originally Posted by rcs.raja View Post
Hi Guru,
Client(where xclock is running) and server(where I want display) both are linux boxes.

Looks like my server is not allowing connections. Could you please tell me how to make server allow connections.
Where to set the -nolisten option which you mentioned?
Here Im trying to display gui on default fedora desktop. Can I do that ? Or is there any other method ?
Again, this has been covered on here MANY times, search the old threads, and you'll find it. And again, you don't say what version of Fedora you're using, what window manager/display manager, etc., so if you don't provide details, you can't get help. There should be a configuration option in your display manager to allow incoming X sessions. If you do a "ps -ef | grep nolisten" at a prompt, you'll be able to tell if you're allowed incoming sessions or not.
 
Old 01-13-2011, 10:59 PM   #5
routers
Member
 
Registered: Aug 2005
Location: Malaysia - KULMY / CNXTH
Distribution: Slackware, Fedora, FreeBSD, Sun O/S 5.10, CentOS
Posts: 787
Blog Entries: 6

Rep: Reputation: 75
you can do this way


ssh -X user1@serverip -C opera

instead of opera you can use kdesktop or konqueror but not firefox
this call remote apps via ssh

if available you can see my sample Remote Apps
 
Old 01-14-2011, 07:43 AM   #6
16pide
Member
 
Registered: Jan 2010
Posts: 418

Rep: Reputation: 83
I think it's missing one command on the machine where you want the window to pop up:

xhost +

Please look at the xhost man page for detailed info to allow only certain machines ...
 
Old 01-14-2011, 09:09 AM   #7
routers
Member
 
Registered: Aug 2005
Location: Malaysia - KULMY / CNXTH
Distribution: Slackware, Fedora, FreeBSD, Sun O/S 5.10, CentOS
Posts: 787
Blog Entries: 6

Rep: Reputation: 75
Quote:
Originally Posted by 16pide View Post
I think it's missing one command on the machine where you want the window to pop up:

xhost +

Please look at the xhost man page for detailed info to allow only certain machines ...
Just for Information

Xhost is a very insecure mechanism, Xauth as replacement but
If you use ssh, then you don't need to know anything about xauth. It just works.
further info good to read

 
Old 01-25-2011, 11:10 PM   #8
finaldata
LQ Newbie
 
Registered: Aug 2005
Location: Philippines
Posts: 1

Rep: Reputation: 0
by just reading the thread i was able to fix my own issue... nice...
 
  


Reply



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 do I start a gui application and the Desktop on a remote computer threw ssh lindylex Linux - General 4 04-21-2009 08:00 AM
'Remote Desktop' OpenGL application to wireless device SDinAbilene Linux - Desktop 2 04-21-2008 10:45 AM
remote desktop in fedora av.dubey Linux - Newbie 8 03-28-2008 10:10 PM
How to Display Running Application on Remote Machine with SHH anamericanjoe Linux - Software 3 09-14-2006 11:39 AM
VNC vs Remote Desktop: display confusion klandingham Linux - Newbie 0 11-03-2004 11:27 AM

LinuxQuestions.org > Forums > Linux Forums > Linux - Desktop

All times are GMT -5. The time now is 12:31 AM.

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