How to solve Oracle Installation Error With NoMachine

Source: Internet
Author: User
First, I cannot directly log on to linux using oracle on nomachine, so I created a simple user zc. This may also be the root cause of the following errors.

First, I cannot directly log on to linux using oracle on nomachine, so I created a simple user zc. This may also be the root cause of the following errors.

First, I cannot directly log on to linux using Oracle on nomachine, so I created a simple user zc. This may also be the root cause of the following errors.

Cat. bash_profile content:

######################################## #####

If [-f ~ /. Bashrc]; then
.~ /. Bashrc
Fi
# User specific environment and startup programs
PATH = $ PATH: $ HOME/bin
Export PATH
ORACLE_BASE =/u01
ORACLE_HOME = $ ORACLE_BASE/oracle
ORACLE_SID = ggsource
PATH = $ ORACLE_BASE/gg11: $ ORACLE_HOME/bin: $ PATH
LD_LIBRARY_PATH = $ ORACLE_BASE/gg11: $ ORACLE_HOME/lib: $ LD_LIBRARY_PATH
# DISPLAY = localhost: 1018.0
DISPLAY = localhost: 0.0
Export DISPLAY LD_LIBRARY_PATH ORACLE_BASE ORACLE_HOME ORACLE_SID PATH
Stty erase ^ h
Alias sqlplus = "rlwrap sqlplus"
Alias rman = "rlwrap rman"
Alias ggsci = "rlwrap ggsci"

######################################## #####

Log on to the remote machine using zc and su to the oracle user. An error occurred while executing runinstaller.

Now I am struggling with the DISPLAY settings!

Run xdpyinfo | grep display as an oracle user to obtain DISPALY information. The result is:

Xdpyinfo: unable to open display "localhost: 0.0 ".

Run xdpyinfo | grep display with the root user. The result is as follows:

Xdpyinfo: unable to open display "localhost: 0.0 ".

So I went back and forth for half a day. Still unsolved

As mentioned at the beginning of the article, I always get the above prompt because I first log on to the zc user and then su to the oracle and root users. I don't know why.

So execute xdpyinfo | grep display under the zc user.

Name of display: 1002.0

Then, su-oracle.

In oracle users, export DISPLAY = locakhost: 1002.0

Run:./runInstaller

Done! Oracle is successfully installed.

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.