Linux - DesktopThis forum is for the discussion of all Linux Software used in a desktop context.
Notices
Welcome to LinuxQuestions.org, a friendly and active Linux Community.
You are currently viewing LQ as a guest. By joining our community you will have the ability to post topics, receive our newsletter, use the advanced search, subscribe to threads and access many other special features. Registration is quick, simple and absolutely free. Join our community today!
Note that registered members see fewer ads, and ContentLink is completely disabled once you log in.
If you have any problems with the registration process or your account login, please contact us. If you need to reset your password, click here.
Having a problem logging in? Please visit this page to clear all LQ-related cookies.
Get a virtual cloud desktop with the Linux distro that you want in less than five minutes with Shells! With over 10 pre-installed distros to choose from, the worry-free installation life is here! Whether you are a digital nomad or just looking for flexibility, Shells can put your Linux machine on the device that you want to use.
Exclusive for LQ members, get up to 45% off per month. Click here for more info.
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.
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.
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 ?
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.
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
LinuxQuestions.org is looking for people interested in writing
Editorials, Articles, Reviews, and more. If you'd like to contribute
content, let us know.