Installing the Oracle database under Linux prompts display not set. Please set the DISPLAY and try again.

Source: Internet
Author: User

The error is as follows:

Ignoring required pre-requisite failures. Continuing ...
Preparing to launch Oracle Universal Installer from/tmp/orainstall2015-01-29_03-14-51am. Please wait ...
DISPLAY not set. Please set the DISPLAY and try again.
Depending on the Unix Shell, you can use one of the following commands as examples to set the DISPLAY environment variable :
-For CSH:% setenv DISPLAY 192.168.1.128:0.0
-For SH, ksh and bash: $ display=192.168.1.128:0.0; Export DISPLAY
Use the following command to see what Shell is being used:
Echo $SHELL
Use the following command to view the current DISPLAY environment variable setting:
Echo $DISPLAY
-Make sure. Client users is authorized to connect to the X Server.
To enable clients users to access the X Server, open a xterm, dtterm or XConsole as the user that started the session and Type the following command:
% xhost +
To test the DISPLAY environment variable are set correctly, run a X11 based program that comes with the native Operati ng system such as ' xclock ':
% <full path to xclock. See below>
If you is not a able to run Xclock successfully, please refer to your pc-x Server or OS vendor for further assistance.
Typical path for xclock:/usr/x11r6/bin/xclock

"Workaround":

To switch to the root user, execute the following command:

[Email protected] ~]# export display=:0.0

[Email protected] ~]# Xhost +

Access control disabled, clients can connect from any host

[Email protected] ~]#

After executing the above command, switch to the Oracle user again to perform the installation.

[Email protected] database]#./runinstaller

Reprint: http://blog.csdn.net/aovenus/article/details/8680468

Installing the Oracle database under Linux prompts display not set. Please set the DISPLAY and try again.

Contact Us

The content source of this page is from Internet, which doesn't represent Alibaba Cloud's opinion; products and services mentioned on that page don't have any relationship with Alibaba Cloud. If the content of the page makes you feel confusing, please write us an email, we will handle the problem within 5 days after receiving your email.

If you find any instances of plagiarism from the community, please send an email to: info-contact@alibabacloud.com and provide relevant evidence. A staff member will contact you within 5 working days.

A Free Trial That Lets You Build Big!

Start building with 50+ products and up to 12 months usage for Elastic Compute Service

  • Sales Support

    1 on 1 presale consultation

  • After-Sales Support

    24/7 Technical Support 6 Free Tickets per Quarter Faster Response

  • Alibaba Cloud offers highly flexible support services tailored to meet your exact needs.