Installing Oracle 11g in Ubuntu 9.10

Submitted by asa on Sun, 28/03/2010 - 11:42pm.

Elslam Alekm

I am working on installing oracle11g but facing some issues with my Xserver as I see !


oracle@asa-laptop:/media/1cb920c8-7f8e-41ff-ae2d-ebc6542c1a51/database$ ./runInstaller
Starting Oracle Universal Installer...

Checking Temp space: must be greater than 120 MB.   Actual 15781 MB    Passed
Checking swap space: must be greater than 150 MB.   Actual 1533 MB    Passed
Checking monitor: must be configured to display at least 256 colors
    >>> Could not execute auto check for display colors using command /usr/bin/xdpyinfo. Check if the DISPLAY variable is set.    Failed <<<<

Some requirement checks failed. You must fulfill these requirements before

continuing with the installation,

Continue? (y/n) [n] n

User Selected: No

Exiting Oracle Universal Installer, log for this session can be found at /media/1cb920c8-7f8e-41ff-ae2d-ebc6542c1a51/app/oracle/oraInventory/logs/installActions2010-03-28_11-30-46PM.log

I set DISPLAY variable, but still same problem


DISPLAY=192.168.1.4:0.0; export DISPLAY

I tried to open even simple xclock but failed too :(


$ xclock
Error: Can't open display: 192.168.1.4:0.0

I checked Oracle site to get some help and they mentioned the following in prerequisites:

"An X server is required for this installation of Oracle. Note that we must disable the "Deny TCP connections to X server"feature to enable the server database to connect to the desktop. To disable this option from your desktop: go to menu System/Administration/Login Window, then at the Security tab uncheck the option Deny TCP connections to X server. Once this is done it will restart the X server."

& I couldn't find this tab to disable it. all I see is login screen

Could you please help me?

Thanks.

Check these files. might help you out.

Take a look into these files:

/etc/gdm/gdm.conf & /etc/gdm/gdm.schemas

Search for DisallowTCP Then shift the value from true to false. Restart X afterwards.

- http://pronco.manalaa.net

Pronco's picture

I found only gdm.schemas. I

I found only gdm.schemas. I turned the value to false then I rebooted the laptop. But still have the same problem !

Sorry increase001 I think

Sorry increase001 I think you have mixed the topics. I haven't installed Oracle yet :(

I think the problem is making xserver up! any idea to do that ??

Thanks.

It was just a SPAM

It was just a SPAM comment.

- http://pronco.manalaa.net

Pronco's picture

I finally found the

I finally found the solution

Putting it here in case any one face this problem ;)

Simply do the following:

Like root user enable to export to other users:


root@asa> DISPLAY=:0; export DISPLAY; xhost +;

connect like oracle user


root@asa> su – oracle

redirect display and export


oracle@asa> DISPLAY=:0 ; export DISPLAY

Then I was able to pass the prerequisites and see oracle window for installation.

Thanks.

Well done.

Thanks for the information.

- http://pronco.manalaa.net

Pronco's picture

Comment viewing options

Select your preferred way to display the comments and click "Save settings" to activate your changes.