Home » Infrastructure » Linux » Can't open DISPLAY (10gR2, 10.2.0.1,RHEL4)
Can't open DISPLAY [message #347979] Mon, 15 September 2008 04:26 Go to next message
abdulaziz
Messages: 102
Registered: May 2008
Location: Douala
Senior Member
Hello,

I was installing Oracle 10.2.0.1 on RHEL4 following the installation guide. At some point it's recommended to configure the oracle user's environment. I made a "slight" mistake where they ask to configure the display if we're not installing on the local system Sad ... I did enter
$DISPLAY=beretta:0.0; export DISPLAY
Beretta is my pc's name, but it is NOT networked, and I am installing ON it. I totaly missed that instruction.

I thought maybe it's gonna be ok,and when I started the installation of the database itself, just after I passed the first checks, I got the error, "can't open the display beretta:0.0".

I followed the troubleshooting techniques described on the appendix G regarding that error message, but I couldn't fix the problem. When I entered the
unset DISPLAY
command and tried to install oracle again, the new error message was that: "the DISPLAY is not set"

My laptop is not networked, and I am installing the database locally. Can someone help me? Is it necessary in my case to set the display? What am I doing wrong? What did I miss?

Thanks in advance.

[Updated on: Mon, 15 September 2008 05:13]

Report message to a moderator

Re: Can't open DISPLAY [message #348165 is a reply to message #347979] Mon, 15 September 2008 18:22 Go to previous messageGo to next message
ebrian
Messages: 2794
Registered: April 2006
Senior Member
Can you even resolve beretta? My guess is the hostname isn't in the host file.
Re: Can't open DISPLAY [message #348168 is a reply to message #347979] Mon, 15 September 2008 18:26 Go to previous messageGo to next message
BlackSwan
Messages: 22718
Registered: January 2009
Senior Member
127.0.0.1 localhost.localdomain localhost


Network? what network?


KDE? GNOME? which GUI?

[Updated on: Mon, 15 September 2008 18:27] by Moderator

Report message to a moderator

Re: Can't open DISPLAY [message #348239 is a reply to message #348165] Tue, 16 September 2008 03:28 Go to previous messageGo to next message
abdulaziz
Messages: 102
Registered: May 2008
Location: Douala
Senior Member
ebrian wrote on Mon, 15 September 2008 18:22
Can you even resolve beretta? My guess is the hostname isn't in the host file.
uhmm...I do not recall doing that op. Let me check that I see how it goes.

anacedent wrote on Mon, 15 September 2008 18:26
127.0.0.1 localhost.localdomain localhost


Network? what network?
I meant my pc isn't in a network.


anacedent wrote on Mon, 15 September 2008 18:26
KDE? GNOME? which GUI?
GNOME
Re: Can't connect to X11 window server using ... [message #348359 is a reply to message #348239] Tue, 16 September 2008 09:21 Go to previous messageGo to next message
abdulaziz
Messages: 102
Registered: May 2008
Location: Douala
Senior Member
I checked the /etc/hosts file and I there was an entry for Beretta, like the following:

127.0.0.1 Beretta localhost.localdomain  localhost


After I set the display again, I tried and execute ./runInstaller and I got the following:

[B]Can't connect to X11 window server using 'beretta:0.0'[/B]
. I got the same error using localhost:0.0., and that's where my install stops.

A ping on Beretta gives me a positive reply.

How can I fix that?
Re: Can't connect to X11 window server using ... [message #348367 is a reply to message #348359] Tue, 16 September 2008 09:35 Go to previous messageGo to next message
ebrian
Messages: 2794
Registered: April 2006
Senior Member
What do you get if you simply run:

export DISPLAY=:0
Re: Can't connect to X11 window server using ... [message #348662 is a reply to message #348367] Wed, 17 September 2008 09:05 Go to previous messageGo to next message
abdulaziz
Messages: 102
Registered: May 2008
Location: Douala
Senior Member

Didn't try that. But as I was trying to install using text mode, someone tipped me to launch the installation using the graphical mode, KDE or GNOME. I have GNOME installed. Am gonna give it a try and see how it goes.

Thanks.
Re: Can't connect to X11 window server using ... [message #348684 is a reply to message #348662] Wed, 17 September 2008 10:31 Go to previous message
abdulaziz
Messages: 102
Registered: May 2008
Location: Douala
Senior Member

Hello,

It worked that way! Seems as if I was using the wrong environment. Thanks again for assisting me.
Previous Topic: Semaphore process
Next Topic: Inserting special characters into table
Goto Forum:
  


Current Time: Fri Aug 29 23:38:34 CDT 2014

Total time taken to generate the page: 0.05755 seconds