LinuxQuestions.org

LinuxQuestions.org (/questions/)
-   Linux - Desktop (https://www.linuxquestions.org/questions/linux-desktop-74/)
-   -   Remote display application on Fedora desktop ? (https://www.linuxquestions.org/questions/linux-desktop-74/remote-display-application-on-fedora-desktop-852769/)

rcs.raja 12-28-2010 03:44 AM

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

TB0ne 12-28-2010 09:40 AM

Quote:

Originally Posted by rcs.raja (Post 4205216)
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.

rcs.raja 12-29-2010 12:15 AM

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

TB0ne 12-29-2010 10:20 AM

Quote:

Originally Posted by rcs.raja (Post 4206208)
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.

routers 01-13-2011 10:59 PM

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

16pide 01-14-2011 07:43 AM

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 ...

routers 01-14-2011 09:09 AM

Quote:

Originally Posted by 16pide (Post 4224071)
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

:)

finaldata 01-25-2011 11:10 PM

by just reading the thread i was able to fix my own issue... nice...


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