1. Start Linux and Win7 two computers in the virtual machine first
2, edit the Linux network card, set the IP address
Press A to enter, change the onboot=no to Yes, turn on the network card, change the bootproto=dhcp to static manually, continue to add the IP address, subnet mask and gateway below, Input complete press ESC key input: Wq save exit
Restart the NIC
3. Set the IP address of Win7 to the same network segment as Linux
4, in the virtual machine settings, the Linux and Win7 network adapter are changed to host-only mode
5, the Linux and Win7 at this time can ping the status
With Linux ping win7 need to shut down the Win7 firewall, including the rear remote win7 Also, click Control Panel in Win7, select system and Security
Click Windows Firewall
Click to turn the firewall on or off
Turn Windows Firewall up and down two all checked
6, because later need to use the Linux remote Win7, so need to be in the Win7 Remote settings desktop Right click on the computer Select Properties, click Remote Settings
Allow Remote Assistance to connect to this computer and allow computers running any version of Remote Desktop to connect two tabs tick on
7. Connect the Linux CD in the virtual machine setup
8. Find the location of the CD that needs to be mounted in Linux
9, with Df-h can see all the mount information
10, the CD-ROM mount to/mnt this empty folder, empty folder on the line, you can also mount to other empty folders, again with Df-h can see a new mount information
11, to/mnt This folder, you can see just mounted on the thing, we need to install the feature Pack in packages this folder
12. Install three function packs with rpm
13, the most important rdesktop this application pack RPM installation will have a constant dependency, so I set up a yum warehouse to install, yum files stored in/etc directory.
14, to yum.repos.d the establishment of the Yum Warehouse, in the YUM.REPOS.D directory see the default. repo file, delete, create your own new Abc.repo file for editing
15. Enter a to edit, enter the following content, edit complete Save exit
16. View the Abc.repo file you just edited, and use the Yum List command to see if the Yum warehouse is available
17. After entering Yum install rdesktop with the Yum Warehouse installation Rdesktop
18, enter Y confirm, installation completed
19. You can use Rdesktop for remote Win7 at this time
20, enter the user name password to log in
21, the successful landing, you can operate on the Win7, remember that before this must be closed win7 firewall, otherwise login not on
22. This experiment is completed.
Linux system remote access to Windows system