LinuxQuestions.org

LinuxQuestions.org (/questions/)
-   Linux - Enterprise (https://www.linuxquestions.org/questions/linux-enterprise-47/)
-   -   RHEL v4 - How to enable graphical mode? (https://www.linuxquestions.org/questions/linux-enterprise-47/rhel-v4-how-to-enable-graphical-mode-681300/)

balamuruganm 11-05-2008 09:34 AM

RHEL v4 - How to enable graphical mode?
 
Hi

I have installed RHEL v4 AS in Intel Server.

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?

Please let me know if you need further details.

Thanks

bhaslinux 11-05-2008 11:17 AM

Did you start the installer in the Xwindow session ?
If yes is the environment variable DISPLAY set in the shell ?

trickykid 11-05-2008 12:28 PM

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.

balamuruganm 11-05-2008 10:42 PM

Hi

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


Please help.

Thanks

billymayday 11-05-2008 10:47 PM

Does the RH box have X or any other gui related software installed? Probably not.

balamuruganm 11-05-2008 10:58 PM

How can I check that? Can you please provide me the commands.

The installation of RHEL was done through GUI only. So I guess that some graphical display software also would have been installed.

Thanks

billymayday 11-05-2008 11:29 PM

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.

Rgds

DT0X 11-06-2008 04:37 AM

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.


All times are GMT -5. The time now is 03:52 PM.