The VMware and VirtualBox installation kits adjust the resolution, set the seamless mouse mode, and share the clipboard.
VMware virtual toolkit Installation:
1. Start CentOS In the VM.
2. Click "VM-> install VMware Tools" in the VM menu. VMware Tools will appear on the CentOS desktop.
(Or select the path D: \ Program Files \ VMware Workstation \ linux. iso in the Virtual Machine Hardware CD/DVD)
3. Copy VMWare Tools-xxx.tar.gz to home directory ".
Run the following command:
Tar zxvf VMWare Tools-xxx.tar.gz -- unzip
Cd vmware-tools-distrib -- enter the Directory
./Vmware-install.pl -- install VMWare Tools
Then press enter and select resolution to complete the operation.
VirtualBox installation enhancements:
1. Start Red Hat in the VM.
2. click "device-> install enhancement" in the VM menu. The Red Hat system desktop displays VBOXADDITIONS (if no VBOXADDITIONS disc appears on the desktop, simply go to Computer and double-click CD-ROM/DVD-ROM Drive ).
3. Create a "VBOXADDITIONS" folder under the "root" folder and copy the files in the second-step optical drive to this folder (you can skip this step and directly enter the disc file on the terminal ).
4. Go to the "VBOXADDITIONS" folder and run the terminal command: cd VBOXADDITIONS (case sensitive)
5. Installation. Terminal command: sh VBoxLinuxAddtions. run
6. Restart.
Generally, after the virtualbox enhancement package is installed, the virtual machine operating system can automatically display in full screen, and supports clipboard sharing between the Virtual Machine System and the host system.
If the enhancement package installed with VirtualBox cannot be set to 1024x768 after restart, you can only manually modify the xwindows configuration file information. The method is as follows:
Back up/etc/X11/xorg. conf
Clear the original content and add the following content:
# Xorg configuration created by system-config-displaySection "ServerLayout" Identifier "single head configuration" Screen 0 "Default Screen" 0 0 InputDevice "VBoxMouse"EndSectionSection "InputDevice" Identifier "VBoxMouse" Driver "vboxmouse" Option "CorePointer"EndSectionSection "Device" Identifier "Configured Video Device" Driver "vboxvideo"EndSectionSection "Monitor" Identifier "Generic Monitor"EndSectionSection "Screen" Identifier "Default Screen" Device "Configured Video Device" Monitor "Generic Monitor" DefaultDepth 24 SubSection "Display" Depth 24 Modes "1024x768" EndSubSectionEndSection