Skip to Content

Installing Oracle 11g in Ubuntu 9.10

Elslam Alekm

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

[email protected]:/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


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

$ xclock
Error: Can't open display:

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?


Pronco's picture

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.

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 ??


Pronco's picture

It was just a SPAM

It was just a SPAM comment.

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:

[email protected]> DISPLAY=:0; export DISPLAY; xhost +;

connect like oracle user

[email protected]> su – oracle

redirect display and export

[email protected]> DISPLAY=:0 ; export DISPLAY

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


Pronco's picture

Well done.

Thanks for the information.

Comment viewing options

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

Dr. Radut | forum