Use VNC to complete Remote Call graphical, vnc call graphical
Original Works are from the blog of "Deep Blue blog". You are welcome to reprint them. Please note the following source when reprinting them. Otherwise, you will be held legally liable for copyright.
Deep Blue blog: http://blog.csdn.net/huangyanlong/article/details/40979895
Lab Environment
Lab Platform |
WIN7 flagship edition 64bit |
Virtual Machine Software |
VM Virtual Box 4.2 |
Virtual Machine Operating System |
CentOS 5.6 64bit |
Use VNC software in WIN |
VNC-Viewer-5.0.5-Windows-64bit |
1. Set VNC in LINUX
[Root @ xckydb/] # yum install-y vnc-server
-- The premise of using VNC is that VNC has been installed. If not, run the command yum to manually install the VNC package.
[Root @ xckydb ~] # Vncserver
-- Set VNC. Set the password and confirm the password as prompted.
-- The following message indicates that you can connect to "xckydb: 1" on the desktop.
<span style="font-family:SimSun;font-size:14px;">You will require a password to access your desktops.Password:Verify:New 'xckydb:1 (root)' desktop is xckydb:1Creating default startup script /root/.vnc/xstartupStarting applications specified in /root/.vnc/xstartupLog file is /root/.vnc/xckydb:1.log</span>
2. Run VNC remote operations in WIN System
After running VNC, enter the IP address of the remote connection LINUX system and select the "Let VNC Server choose" option. The format is shown in:
Enter the password set during VNC configuration, for example:
Complete the remote logon to the system using VNC, as shown in:
Next, you can remotely call the graphical interface, as shown in the following figure:
Example 1: Call the graphical configuration of oracle listeners
[Root @ xckydb ~] # Xhost +
[Root @ xckydb ~] # Su-oracle
[Oracle @ xckydb ~] $ Netca
Example 2: Graphical dbca database creation
[Root @ xckydb ~] # Xhost +
[Root @ xckydb ~] # Su-oracle
[Oracle @ xckydb ~] $ Dbca
Supplement
1. After CentOS6 (LINUX6), The VNC package name will be changed to tigervnc-server. Pay attention to the installation package;
2. vncserver-kill: n kills the x-display number. Generally, vncserver-kill: 1 is executed for a session. We recommend that you manually delete the session to improve system security;
Example:
[Root @ xckydb ~] # Vncserver-kill: 1
Killing Xvnc process ID 2975.
3. Change the vncpasswd password;
Friendly tip: have friends who need VNC-Viewer-5.0.5-Windows-64bit software, can add qq (1586211043) Friends, indicate oracle communication, leave a message can be free to send this small software to you. You can download the software from the Internet.
Original Works are from the blog of "Deep Blue blog". You are welcome to reprint them. Please note the following source when reprinting them. Otherwise, you will be held legally liable for copyright.
Deep Blue blog: http://blog.csdn.net/huangyanlong/article/details/40979895