When installing the Oracle it complains that must be configured to display at least .

Good Evening,

When I try to install the oracle in Solaris 10, I get the following error:

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

Some requirement checks failed. You must fulfill these requirements before

Any light please?

Thanks,
aa

go and set the "DISPLAY" variable as mentioned from install script... as far as i know oracle uses a graphical installer and so you need to set your DISPLAY.

Hi
I have already set that. Problem is when I run xclock from root account, it works fine and when I run
from oracle account, it does not. Same thing for xterm. I have used the following DISPLAY settings for user oracle and tried all:

DISPLAY=:0.0
DISPLAY=127.0.0.1:0.0
DISPLAY=10.100.1.108

I am using monitor and keyboard attached to server. Thanks for hint.

Cheers,
aa

if you are on local display, your first setting should work. have you tried the following?

$ who am i
$ DISPLAY=output from above command; last column; should be :0.0
$ export DISPLAY

Originally I logged in as root user and i did "su - oracle" which takes me to oracle home directory

When I run "who am i" here what I get:

$ whoami
oracle
$
$
$ who am i
root pts/7 Apr 14 23:27 (:0.0)
$

Should it be:

DISPLAY=:0.0
export DISPLAY

or something else?

I have another question:

somewhere down the road in installation something has gone wrong that my hostname is "unkown"
when I update the /etc/hosts file to some name, still after reboot again unknown host name appears
in terminal and it says it is set by DHCP.

I appreciate your help.

Cheers,
aa

Thanks

You must have xwin installed.
DISPLAY=<ip_of_your_machine>:0.0
export DISPLAY
cat /etc/hosts

have a look at the file "/etc/nodename".

he is on local mashine with display and keyboard...

Here is what I get:

$
$
$ DISPLAY=10.100.1.108:0.0
$ export DISPLAY
$ xclock
Xlib: connection to "10.100.1.108:0.0" refused by server
Xlib: No protocol specified

Error: Can't open display: 10.100.1.108:0.0

=========================================

Also /etc/nodename is empty and nothing inside this file . :frowning:

Somehow If I can manage to run xclock when I so "su - oracle" it should work I guess.

this is another try:

$ xclock
Xlib: connection to "10.100.1.108:0.0" refused by server
Xlib: No protocol specified

Error: Can't open display: 10.100.1.108:0.0

Above I ran when I did " rlogin -l oracle unknown" which unknown is my server name :frowning:

problem solved guys. :slight_smile: Thanks for help and time for this stupid issue.

Here is what I need to do:

1- When I run xhost as root here is what I get:

Xlib: connection to "127.0.0.1:0.0" refused by server

2- But what I really need to run is below which then I can run xclock under any user account including oracle which solves the issue.

[root@unknown /etc] - xhost +
access control disabled, clients can connect from any host

This solved the problem.

But my unknow host delma stays there. :frowning:

/etc/nodename contents should be the same as /etc/hosts.. at least the entries for the localhost should be there.