Using VMware on the home PC to do a database of Oracle Enterprise Linux virtual machines, the virtual machine Oel not enable the graphical interface, so you need to install an X Window server on your PC to use the GUI.
Look at the wiki and systematically understand the X Window system. The X Window System (often referred to as X11 or X) is a set of features based on the X display Protocol windowing SYSTEM,X GUI environment that includes drawing, moving, and interacting with input devices such as mice and keyboards. The current version of the X protocol is the 11 edition of MIT in September 1987----This is the origin of X11, the latest version is the September 2008 release x11r7.4.
X uses a C/S model: An X server and multiple applications (client) communications. The server receives the client's request to draw the window and passes input from the mouse, keyboard, and other devices to the client.
Beginners x users are often described as being confused about how to remotely use the documentation for a Linux GUI environment: Applications on a Linux host are called clients, and a user terminal computer is called a server, which looks like the opposite. In fact, X is described in terms of the program structure rather than the user or hardware environment, and x server, which works on the user terminal, serves the application, so it is considered a server, and the application on the Linux host accepts the service, so it is considered a client.
X server and client can be on the same computer, for example, using a desktop environment such as KDE on a Linux host is this pattern. X server can also communicate with the client through a homogeneous network, a heterogeneous network, or the Internet.
The communication between the X server and the client is unencrypted, and this issue can be resolved by SSH. SSH is the short name of the Secure shell, and SSH can be seen as a communication encrypted compressed version of Telnet. I need to use the SSH forwarding feature, and when x server and client computers support the SSH protocol, an unsecured TCP/IP connection between x server and client can be transferred to the SSH connection established between the two (forwarding).
With a bunch of ideas, it's time to roll up your sleeves and work. Linux hosts (A, ip:192.168.1.201) and Windows clients (b, ip:192.168.1.101) have all been installed, and all I have to do is install an X server on B, an SSH client, and an SSH-enabled X11 on a Forwarding.
1 Install the x server on configuration b
X server I chose Xming, which is an X server on a free Windows platform. Need to install two components, main program and font xming X server, Xming-6-9-0-31-setup.exe xming Fonts, Xming-fonts-7-3-0-22-setup.exe
Run the Xlaunch configuration xming X Server to save the configuration as a. xlaunch file. Use the default settings.
Display represents a set of I/O devices, including display, mouse, keyboard, and display number, which is the name of the I/O device, and display numbers also determine the TCP port for xming X server, with the port 6000 + Di Splay number. The application on the Linux host establishes a connection with xming X server through this port.
Save the configuration as Xming.display.0.xlaunch. Double-click this file to start X server with a xming icon in the system tray.
2 Installing SSH on configuration b
SSH client uses putty,putty is Freeware+greenware, just an EXE file.
Configure session: Configure host IP, connect by SSH
Connection\data: Save the user name used by the connection
The connection\ssh\x11:enable X11 forwarding,x display Location is localhost:0, where 0 is the display number specified when configuring Xming X server.
Save set to VSERVER01.
3 ssh on configuration a
To allow SSH x forwarding on a Linux host, view the/etc/ssh/sshd_config file, and add the following line,
x11forwrding Yes
This configuration is complete. Use putty on B to connect to a, enter Xclock, and you can see the effect of X server work.