How to use remote putty + xming on XP
People who have used putty should know, Putty can execute non-graphic interface commands But if it is a command to enable the graphical interface, such as Firefox, it will not work.
People who have used xwin32 or xmanager should know that xwin32 and xmanager are independent applications. Program That is to say, you can remotely control Linux without using other programs. However, neither xwin32 nor xmanager is free of charge.
Putty + xming is different. xming is equivalent to an enhanced graphics plug-in of putty.
First, handle the Ubuntu server and install OpenSSH-server and xbase-clients.
# Apt-Get install OpenSSH-Server
# Apt-Get install xbase-clients
Let's take a look at the XP client.
Download and install the xming Client
Http://sourceforge.net/projects/xming
Install and start without Configuration
Download and install putty
Http://the.earth.li /~ Sgtatham/Putty/latest/x86/putty.exe
Usage
1. Select session from the left-side menu,
In the Host Name field on the right, enter Remote Host IP address. Port field: enter port. ( 22 by default )
Connect Tye selected SSH .
2. Select connection-> data from the left menu,
In "auto-login username" on the right: Enter the automatic login name.
(If this parameter is not entered, you are required to enter it every time you log on to Linux)
3. Select connection> SSH> X11 on the left menu,
In the window on the right, check enable X11 forwarding.
Note: This step is required if you want to use a graphical interface. Otherwise, it can be omitted.
4. Select session from the left-side menu. In the saved sessions field on the right.
Then, press the Save button to save our settings for the session. Next time,
You can select the saved sesson in saved sessions and click the Load button to load the saved session settings.
5. Start xming. (xming instead of xlanuch command)
Note 1: To use a graphical interface, you must first start xming. Otherwise, it can be omitted.
6. Click the OPEN button to connect to the remote server. .
The putty command box is displayed. In the putty command box, enter the user password of the Ubuntu host,
If the password is correct, you can log on to the Ubuntu host and enter the graphical interface command in putty,
You will find that Putty can open the graphic command.
That is all