SlackwareThis Forum is for the discussion of Slackware Linux.
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 using Slackware 12. I am in a univ where I connect to a Linux based server that has MATLAB installed. I am in a Local Area Network.
I try to connect to the server by:
ssh -X <server i.p>
I can login successfully. When I try some program in text mode like reading a file using less or vi, I have no problems. When I run MATLAB it simply hangs. I get the MATLAB splash screen but once the main command window comes, everything slows down. Even my mouse moves slowly. The same goes for any graphical software like gedit etc. When I check the traffic on my network monitor its 100 bytes per second. The LAN supports traffic of around 500 kilobytes/second to 1 Megabytes/second. Even internet traffic that takes place through a proxy server is around 50 kbps.
I have a CentOS 5 system as dual boot where ssh -X works fine and I can run MATLAB. So there is no hardware issue.
Google searches mainly deal with people having problems with logging in or with get display in ssh -X mode. I am getting graphics but its too slow.
Thanks. It worked. MATLAB runs like a beauty now. I can't believe I didn't try this out. I have always used ssh -X without problems and stuck to it. Never thought about security issues.
You might want to dig further to find out what's screwing up forwarding, because "trusted" is somewhat of a misnomer in this context. Doing this from a shared host can lead to someone who shouldn't be allowed to being able to attach to your display (needless to say that's probably not what you want).
Check the DISPLAY variable's value on the host you're ssh-ing into. Most of the time when I've found X forwarding behaving oddly it's been because it's contained a hostname instead of an IP address.
LinuxQuestions.org is looking for people interested in writing
Editorials, Articles, Reviews, and more. If you'd like to contribute
content, let us know.