[Go] PuTTY + Xming remotely using the Linux GUI

Source: Internet
Author: User
Tags xming

[From] http://www.zw1840.com/blog/zw1840/2008/10/putty-xming-linux-gui.html

by zw1840 on October, 10:01 AM | No Comments | No TrackBacks

Using VMware as a database for Oracle Enterprise Linux VMS on your PC, virtual machine OEL does not have a graphical interface enabled, so you need to have an X Window server on your PC to use the GUI.

See the wiki for a systematic look at the X Window System. The X Window System (commonly referred to as X11 or X) is a set of windowing System,x GUI environments based on the X Display protocol, including window drawing, movement, and interaction with input devices such as the mouse and keyboard. The current version of the X protocol is the 11 edition that MIT made in September 1987----This is the origin of X11, the latest edition is the x11r7.4 released in September 2008.

X takes the C/S model: one x Server and multiple application (client) communications. The server receives the client's request drawing window and passes the input from the mouse, keyboard, and other devices to the client.

Novice x users are often described how to remotely use the Linux GUI environment of documents confused: The application on the Linux host is called the client, and the user terminal computer is called the server, it seems that the reverse. In fact, X is described from the perspective of the program structure rather than the user or hardware environment, and X server working on the user terminal serves the application, so it is considered a server, and the application on the Linux host receives the service, so it is considered a client.

X server and client can reside on the same computer, such as a desktop environment such as KDE, which is used on a Linux host. X server can also communicate with the client through homogeneous networks, heterogeneous networks, or the Internet.

The communication between X server and client is not encrypted, and this problem can be solved by SSH. SSH is the short name of Secure shell, and SSH can be seen as a communication encrypted compressed version of Telnet. I need to use the forwarding function of SSH, when x server and client computer both support the SSH protocol, the unsecured TCP/IP connection between x server and client can be forwarded to the SSH connection established between the two (forwarding).

Having said a bunch of concepts, you can now pull up your sleeves and work. Linux hosts (A, ip:192.168.1.201) and Windows clients (B, ip:192.168.1.101) are all installed, and all I have to do is install an X server on B, an SSH client, and SSH enabled on a X11 Forwarding

1 on the installation configuration B X Server

X server I chose Xming, which is a free x server on the 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 Xlaunch configuration xming X Server and save the configuration as a. xlaunch file. You can use the default settings.

Display represents a set of I/O devices, including displays, mice, keyboards, and display number is the code for this I/O device, and display numbers also determines the TCP port for Xming X server with the port 6000 + Di Splay number. The application on the Linux host establishes a connection to the Xming X server through this port.

Save the configuration as Xming.display.0.xlaunch. Double-click on this file to start X server, with a xming icon in the system bar.

2 Installing SSH on configuration b

SSH client using Putty,putty is Freeware+greenware, just an EXE file.

Configure Session: Configure host IP, connect as SSH

Connection\data: Save the user name used by the connection

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 the setting to VSERVER01.

3 Configuring SSH on a

To allow SSH x forwarding on a Linux host, view the/etc/ssh/sshd_config file, add the following line,

x11forwrding Yes

the configuration is complete. Use putty on B to connect to a, enter Xclock &, and you can see the effect of X server working.

Reference

"1" X window System
Http://en.wikipedia.org/wiki/X_Window_System

"2" SSH

Http://en.wikipedia.org/wiki/Secure_Shell

"3" xminghttp://www.straightrunning.com/xmingnotes/"4" puttyhttp://www.chiark.greenend.org.uk/~sgtatham/putty/"5 "Putty + Xming convenient remote Linux guihttp://cluno.blogspot.com/2007/04/putty-xming-linux-gui.html" 6 "Xming + Putty Programs that use the graphical interface for remote Linux hosts under Windows
Http://hi.baidu.com/mooncold/blog/item/8e0dfddc4f29a3a4cd11663a.html

[Go] PuTTY + Xming remotely using the Linux GUI

Related Article

Contact Us

The content source of this page is from Internet, which doesn't represent Alibaba Cloud's opinion; products and services mentioned on that page don't have any relationship with Alibaba Cloud. If the content of the page makes you feel confusing, please write us an email, we will handle the problem within 5 days after receiving your email.

If you find any instances of plagiarism from the community, please send an email to: info-contact@alibabacloud.com and provide relevant evidence. A staff member will contact you within 5 working days.

A Free Trial That Lets You Build Big!

Start building with 50+ products and up to 12 months usage for Elastic Compute Service

  • Sales Support

    1 on 1 presale consultation

  • After-Sales Support

    24/7 Technical Support 6 Free Tickets per Quarter Faster Response

  • Alibaba Cloud offers highly flexible support services tailored to meet your exact needs.