SUSE / openSUSEThis Forum is for the discussion of Suse 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.
Does anyone know how to get a GUI when connecting to a remote host? I've been able to get one in the past on different computers for different applications but on my own computer I can't seem to get one. I'm trying to connect to a University computer to run programs like Matlab and Solidworks remotely as actually purchasing it with all the correct block sets and additional software is prohibitively expensive on a student's budget. There is no problem connecting to the computers remotely yet whenever I try to run Matlab it gives me a text based interface.
Is there a certain protocol or program I should be connecting with to get a GUI? In the past I've solely connected through SSH. I don't know if the computers I want to connect to have some sort of VNC or not. Even if they do I don't want to remotely see the entire desktop, I want to interact with a GUI as if the program was run locally on my computer.
My computer is dual-booted with SuSE 9.1 and Windows XP Home and connects over DSL. The operating systems I can chose to connect to are Windows 2000, Red Hat, Debian (Progeny I think), and Solaris.
% matlab
Xlib: connection to "localhost:10.0" refused by server
Xlib: Invalid MIT-MAGIC-COOKIE-1 key
Warning: Unable to open display localhost:10.0, MATLAB is starting without a display.
You will not be able to display graphics on the screen.
Have you tried running this from a console window? (as opposed to a true console)
In response to Riddick: If you're using ssh tunneling (as you should on an untrusted network) then you do not need to open a port on the firewall (If you're talking about a separate hardware firewall). It is true that the X server needs to receive data on a particular port, but ssh pulls that information all the way to your computer. The iptables (linux firewall) might pose a problem, though I doubt it. If you think this may be the case, you can temporarily disable the SuSE firewall with "SuSEfirewall2 stop" (particularly if you're behind another form of protection.)
If I understand this right, the campus computer is trying to connect to the 10th X server, doesn't find it, and gives up. I think the 10th server doesn't exist, but is used by ssh as a place it can listen to forward stuff back to you.
In order for X forwarding to work, /etc/ssh/sshd_config on their computer must have a:
X11Forwarding yes
line. You're own /etc/ssh/ssh_config (different file) must have:
ForwardX11 yes
(though sigsegv suggestion to use a capital -X looks like it can bypass your own config file)
If their server doesn't allow X Forwarding, then I'd say you're out of luck. (unless you want to telnet in, and open a port on any firewall you have - risky).
LinuxQuestions.org is looking for people interested in writing
Editorials, Articles, Reviews, and more. If you'd like to contribute
content, let us know.