I am relatively new to using Linux as my day to day. I use Putty from my machine (named host1) to ssh into an OpenSUSE box (named box1) and would like to have a gui to use. I am trying to issue xterm and am getting the following error:
xterm Xt error: Can’t open display:
xterm: DISPLAY is not set
I’m sure this is a newbie question but just wanted to check and see if I was missing something.
I use Putty from my machine (named host1) to ssh into an OpenSUSE box (named box1) and would like to have a gui to use. I am trying to issue xterm and am getting the following error:
[QUOTE]
xterm Xt error: Can’t open display:
xterm: DISPLAY is not set
[/QUOTE]I don’t use Putty myself, but I use ssh a lot.
When using ssh to connect to a computer you can’t run graphical applications.
It is only possible when you use “X forwarding”.
I don’t use Putty myself but I searched for X forwarding in putty and came up with this link.
I hope this link is helpful for you.
jeffreypry wrote:
> ssh into an OpenSUSE box (named box1) and
> would like to have a gui to use.
-=welcome=-
what do you wanna do on the openSUSE box? administer a server? if so
check out WebMin http://www.webmin.com/ it is tailor made for folks
wanting a GUI to do admin in…
if you have other needs, speak up…because there are so many
different ways to do what you may, or may not, need/want/have to do…
If you are running putty, then presumably you are on Windows (though I know there is a putty for Linux). Windows is not X-Windows so you won’t be able to display Linux X applications on it. You can install an X server on Windows, search for Xming but there may be better ways to do what you want because Xming is a fairly large package to install on Windows.
You could use VNC for remote admin. If you can use a ncurses interface, YaST supports that. Or you could admin using the CLI. It all depends on what you want to do.
I like the GUI admin idea! As far as the screen, I was able to enable xforwarding, but my box that I am remoting in from is a Windows box. I don’t think I can install X11 Server on my Windows XP box, can I?
I don’t think I can install X11 Server on my Windows XP box, can I?
There’s an application that allows you to run X under Windows.
You can download it from here.
More information can be found here.
I found a guide that tells you step by step how you need to install and setup Putty and XMing. Here.