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.
On my old computer running RH7.3, if I ssh into my file server, I can open an emacs session, no problem. On my new computer running Suse9.3, I can't seem to get it to work. I've tried setting the DISPLAY env var to <my_ip>:0.0 once I've logged into the file server, but still only get the non-x version of emacs. I know the server is forwarding X because it works on my old machine.
Originally posted by Vgui Instead of manually setting your DISPLAY variable, why not try ssh with the -X switch?
Code:
ssh -X user@ipaddress
If you are sure X11 Forwarding is enabled, then maybe the above command will work...
that a standard command which usually work without problems.
just change on your server in /etc/ssh/sshd_config the "X11Forwarding" to "yes".
and after you login over ssh, do not change DISPLAY because it is already set.
Both of those options worked. I didn't know about the -X option, which worked fine. However, by changing X11 forwarding to "yes" on the client machine (in my case, the Sus9.3 box), X finally started going through... I thought that setting only mattered on the server.
... assuming the thing I'm connecting to is the server and the thing I'm connecting from is the client.
LinuxQuestions.org is looking for people interested in writing
Editorials, Articles, Reviews, and more. If you'd like to contribute
content, let us know.