Linux - EnterpriseThis forum is for all items relating to using Linux in the Enterprise.
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 tried to install Websphere Application Server 6.0. On starting the install the installer terminates with error
“The installer is unable to run in graphical mode. Try running the installer with the -console or -silent flag.“
How do I enable the graphical mode in the RHEL v4 AS?
And if you're doing it remotely, by ssh'ing into the server, you need to set X forwarding with the -X flag when you ssh into the machine.
But yeah, if X isn't even installed like most server classed machines should be setup, use the -console option to run it from the command line to install.
Thanks for the reply. X11 has been installed in the server.
I used putty to connect using SSH and enabled X11 forwarding.
I tried xclock and got the error
X connection to localhost:10.0 broken (explicit kill or server shutdown).
I did some search in the net and understood that the error is because I am trying to open the X11 window from another system.
So I executed this command
xterm -display 10.105.146.28:0 where 10.105.146.28 is the system IP from where I am accessing the server
But this still gives error
Warning: This program is an suid-root program or is being run by the root user.
The full text of the error or warning message cannot be safely formatted
in this environment. You may get a more descriptive message by running the
program as a non-root user or by removing the suid bit on the executable.
xterm Xt error: Can't open display: %s
Someone else can comment, since I don't use X forwarding, but I assume the server would need it installed. Just because the installer was graphical is irrelevant.
I would assume that you would have a directory /etc/X11 if X is installed.
Clearly you could use rpm to check as well, but I don't have any package names at hand for you to check.
Distribution: Fedora, RHEL 4 and 5, Ubuntu 7 and AIX
Posts: 12
Rep:
I don't know if this is something obvious that you've already tried - if so, sorry! This is my first post after all...
If your running the installer remotely:
1. SSh into the box with the following: ssh -X ip_address_of_server
2. Make sure the client box you are on has an xserver that can accept the x session from the ssh destination (sounds like this could be your problem - if so you need a program such as exceed running on your windows / putty box)
3. Export your display: export DISPLAY=ip_address_of_putty_box:0.0
4. Fire up xclock to test the x connection
I would install the software from the local console if I was you though (if you have access to one that is) that will rule out any remote X issues for now.
LinuxQuestions.org is looking for people interested in writing
Editorials, Articles, Reviews, and more. If you'd like to contribute
content, let us know.