VNC viewer cannot open oracle 11g graphical interface scheme

VNC viewer cannot open oracle 11g graphical interface scheme

 

 1. Failed to check swap space

Check the swap space: the available swap space is 35MB and the required swap space is 150MB. Did not pass

Create a swapfile:
Under root authority, create a swapfile, assuming the current directory is "/", execute the following command:

[root@localhost ~]# dd if=/dev/zero of=swapfile bs=1024 count=500000

2. Failed to check monitor

Check Monitor: Monitor configuration must display at least 256 colors Failed

Note: The following content is executed within the VNC viewer

Check: During the process of installing oracle, the xhost+ command reports an error, xhost: unable to open display 

When starting vncserver, first execute

[root@localhost ~] # vncserver

New 'oracle:1 (root)' desktop is oracle:1

Starting applications specified in /root/.vnc/xstartup
Log file is /root/.vnc/oracle:1.log

[root@localhost ~] # xhost +
access control disabled, clients can connect from any host

#Switch oracle user

[root@localhost ~] # su - oracle
[oracle@ oracle ~] # xdpyinfo

The execution result is as follows

# 192.168 . 229 .1 is the IP of the machine used by the remote
[oracle@ oracle ~] # DISPLAY=192.168.229.1:1.0  
#Switch the running directory again
[oracle@oracle~] # cd /tmp/database
#Execute the installation again
[oracle@oracle database] # ./runInstaller

#Execution results are as follows

 

Guess you like

Origin http://43.154.161.224:23101/article/api/json?id=325739024&siteId=291194637