Use xmanager and xshell to remotely connect to Linux on the virtual machine, and create an oracle database instance on the dbca visual interface

1. Install xmanager and xshell on windows (local)

 

2. Use xshell to connect to Linux (on the virtual machine), switch to the oracle user, and set the environment variable DISPLAY to VMnet8 IP

Question 1: How to check VMnet8 IP?

On the cmd of windows:

Problem 2: The xhost command does not exist

Install xhost via yum on linux

yum install xhost –y

问题3:unable to open display "192.168.126.1:0.0"

See section 3 below

 

3. Start xstart of xmanager

Fill in the command: /usr/bin/xterm -ls -display $DISPLAY

After running successfully, see the figure below:

  

problem:

Install on linux:

yum install xterm -y

yum install xorg-x11-xauth -y

 

4. Then enter "xhost +" in xshell in step 2

 

 

After agreeing:

 

dbca visual interface to create oracle database, omitted.

In addition, if it is connected to the cloud server remotely, I don't know how to set this DISPLAY.

 

Reference blog: https://www.cnblogs.com/lywJ/p/12612583.html

Guess you like

Origin blog.csdn.net/qq_43290318/article/details/109119671