Link to home
Start Free TrialLog in
Avatar of jayatallen
jayatallen

asked on

how to setup xterm on GNU LINUX

Hi Folks,

I have been trying to setup xterm with GNU LINUX and searched internet but couldn't find any simple and lucid instructions.What i have understood is if i setup Xterm, i would be able to see the GUI of a software product running on Server.

What i mean is, if I have xterm setup and i run Siteminder agent script to install siteminder on LINUX server (which i access through putty) would pop up the GUI display of the siteminder Product on my Windows laptop and then i call interact and click buttons on the GUI and it will connected to server and install the software. This way its would be lot easier to install it.


What i have done is, Installed cygwin X and under that i see a lots of icons such as X win server,xman,xmh,xterm, etc.

I click on X win server and it pop ups a new white window.
Then, i login to the LINUX server through putty have X11 forwarding option  checked.
and then try to run the script but it doesnt through any window.

Could you please help, how this can be achieved?

Thank you,
Joe
Avatar of wesly_chen
wesly_chen
Flag of United States of America image

Which GNU Linux server do you have?  Ubuntu/Debian or Fedora/RedHat/CentOS?
Ubuntu/Debian
# sudo apt-get install xorg

Fedora/RedHat/CentOS
$ su -
# yum install xorg

You need is install X-window server, which is xorg.
Avatar of jayatallen
jayatallen

ASKER

Hi Chen,

when i do uname i see this. Not sure how i can find if its debian or anything. Could you please if there is any to find it.
# uname -a
Linux devsho-ibdrm01 2.6.18-194.3.1.el5 #1 SMP Sun May 2 04:17:42 EDT 2010 x86_64 x86_64 x86_64 GNU/Linux

thank you
> 2.6.18-194.3.1.el5
It is RedHat Enterprise Linux or CentOS 5
Please run
# cat /etc/redhat-release

If "cat /etc/redhat-release" show
CentOS release 5.x

The you can run (as root)
# yum install xorg-x11-server-Xorg

to install X-windows server, which will give you ability use cygwin-X to connect and launch xterm.
thank you chen for the command.

# cat redhat-release
Red Hat Enterprise Linux Server release 5.5 (Tikanga)

I dont have access to thing machine as root. Is there any way i can find if X11 is already installed?
I think it should be but dont know how to check.
> Is there any way i can find if X11 is already installed?
$ rpm -qa | grep -i xorg
Use rpm to see the xorg package installed or not
i think its installed.
# rpm -qa | grep -i xorg
xorg-x11-filesystem-7.1-2.fc6.noarch
xorg-x11-xauth-1.0.1-2.1.x86_64

I have tried using xming and putty to get this working:
1) ran start->xming->xlaunch
2) In, putty checked x11 forwarding and in front of "x display location" entered :0.0.

then i connect to linux box and run the guI application but its not working...
getting below error:
No X11 DISPLAY variable was set, but this program performed an operation which requires it.

am i doing in right way?


ASKER CERTIFIED SOLUTION
Avatar of wesly_chen
wesly_chen
Flag of United States of America image

Link to home
membership
This solution is only available to members.
To access this solution, you must be a member of Experts Exchange.
Start Free Trial
thank you chen for your guidence. atleast now i know what needs to be done.