Linux - SoftwareThis forum is for Software issues.
Having a problem installing a new program? Want to know which application is best for the job? Post your question in this forum.
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 two boxes set up using SUSE 9.2 professional. When I connect to either one and try to use "kvim", I get the following response: "unable to open display". I have put "xhost +" in the "/etc/profile.local" file on both boxes, I have disabled the firewall but I still have the same problem. I also make sure that the "DISPLAY" environment is set up with the IP address.
I never had this problem before, and I have run out of things to try. Any ideas?
are you trying to run kvim localy or from the other system? if you are trying to run it localy and have KDE up and running, then i have no clue, but if you are local and do not already have KDE up and running, then i doubt you will be able to get kvim running. just use vim in a console.
if you are trying to run it remote (from the other system), then the above will do it for you:
ssh -X user@IP program
or you can leave the program blank and you will get a command prompt for that other system, then you can run as many GUI based apps you wish.
Thanks for your replies. However, I don't think I wrote my problem correctly. I can get kvim to work on a remote machine or on my machine. The problem is when I log into a remote machine and I want to run kvim on the remote machine but have it display on my monitor.
When I was using Red Hat I had no problem but with SUSE 9.2. I can't seem to figure out how to make it work. With Red Hat all I had to do was run "xhost +" on my box and then when I logged into a remote machine, all I had to do was export the DISPLAY (i.e. export DISPLAY=<IP. ADDRESS:0.0>. Then when I ran kvim or whatever graphyical program on the remote box, I could have show on my display.
When I do that now, all I get is "Cannot connect to X Server".
LinuxQuestions.org is looking for people interested in writing
Editorials, Articles, Reviews, and more. If you'd like to contribute
content, let us know.