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.