Linux - NewbieThis 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
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 am brand new to Linux but I was reading the Redhat 7 Bible and noticed a section on remote X displays. Apparently you can remote login to another machine and have the display show on your screen using the DISPLAY variable in the remote session. Well I tried and it didn't work. Basically I tried the following:
[ccc@ccc ~]xhost +otherpc
otherpc being added to access control list
[ccc@ccc ~]ssh me@otherpc
[me@otherpc]export DISPLAY=ccc:0
[me@otherpc]export DISPLAY=ccc:0
Error: Can't open display:ccc:0
What gives? Am I doing something wrong or is remote X nolonger supported? Do the Window managers need to be the same accross machines? Please Advise.
No the remote machine cannot resolve my machine name. That's not the issue though. Should have mentioned that I was using ip addresses instead of names.
this was all after xhost +192.168.99.125. I'm not behind a firewall of any sort (unless Fedora enables a firewall by default but I'm not sure how to check that off hand). Do I have to run xhost on the remote mahcine or on my machine? I've been running it on my machine to allow the remote machine to connect as that seems natural (also it's how the book said to do it). Let me know if I'm doing anything backwards.
ssh -X user@IP program_path_to_run
passwordenter p/w when prompted)
poof there it is.
for this IIRC you have to have x11 forwarding configured, and i have no clue how to set it up, it is enabled by default in debian with KDE3.x or better.
LinuxQuestions.org is looking for people interested in writing
Editorials, Articles, Reviews, and more. If you'd like to contribute
content, let us know.