I was trying to Install Database on Solaris 11.2 on one of our customer but the run Installer failed with the following error: oracle@soltest:/u01/sw_home$ ./runInstaller Starting Oracle Universal Installer... Checking Temp space: must be greater than 180 MB. Actual 5779 MB Passed Checking swap space: must be greater than 150 MB. Actual 6961 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 continuing with the installation, Continue? (y/n) [n] oracle@soltest:/u01/sw_home$ When we check the display variable then its already pointing it to the correct environment and we also ensured the “xhost +” command too executed from root user. But still same issue exists. Cause: In Solaris 11 the new user roles has been introduced and we cannot login to the system using the direct “root” user. We have to login with the admin user which was configured during initial install. So the Display environment variable will be configured for the admin user with which we are logged in In current env. “soladmin” is the OS user which was created during the initial install. Solution: Execute xhost+ command from the admin user account and it should work fine. soladmin@soltest:~$ xhost + access control disabled, clients can connect from any host soladmin@soltest:~$ -Verify the display oracle@soltest:/u01/sw_home$ export DISPLAY=:0.0 oracle@soltest:/u01/sw_home$ echo $DISPLAY :0.0 oracle@soltest:/u01/sw_home$ If direct root login is not enabled then we must use admin account created during installation for executing xhost+ command. Thanks for reading regards, X A H E E R
↧