Notes on adjusting the resolution of VMware and solving the "floating mouse" Problem (Linux)

Source: Internet
Author: User

After installing Linux in mware, the default resolution is 800x600. To adjust the resolution to 1024x768, And the pixel resolution to millions of pixels is as follows:

 

1.
Install vmare tools under the VM to start VMWare, VW-> install VMware Tools in the menu bar, click. Open CD-ROM drive, there is a compressed package, called: vmware-linux-tools.tar.gz Software Package

 

2.
(1) copy the package to/root,
# Cp vmware-linux-tools.tar.gz/root

 

(2) decompress the package
# Tar-zxvf vmware-linux-tools.tar.gz
A directory of VMware-tools-distrib is generated in the current directory.

 

(3) # cd/root/vmware-tools-distrib
# Ls

 

(4) #./vmware-install.pl // or Perl vmware-install.pl

 

(5) Press enter until the following sentence appears.
Do you want to change your guest x resolution? (Yes/No) [no] Yes

Please choose one of the following Display sizes (1-13 ):

[1] "640x480"

[2] <"800x600"

[3] "1024x768"

[4] "1152x864"

[5] "1280x800"

[6] "1152x900"

[7] "1280x1024"

[8] "1376x1032"

[9] "1400x1050"

[10] "1680x1050"

[11] "1600x1200"

[12] "1920x1200"

[13] "2364x1773"

Please enter a number between 1 and 13:

Select [3]

In this step, do not restart to see the effect, but also modify the Xorg config settings. Otherwise, the mouse may float after the restart, And the mouse may appear in two systems. note that Xorg config settings cannot be modified after restart because the system reports an X-WINDOWS error.

(PS: If you restart before doing this step, it is a little hard, re from step 1 #./vmware-install.pl to redo it again, in fact it is not very troublesome .)

The specific modification is as follows:
Enter/etc/X11/, open Xorg. conf in text, and add the following sections:

Section "Monitor"

Identifier "VMware"

Endsection

Section "inputdevice"

Identifier "mouse0"

Driver "vmmouse"

Option "protocol" "Auto"

Option "device" "/dev/input/mouse0"

Endsection

Locate the section containing "serverlayout" and add the following line between the Section and endsection.

Inputdevice "mouse0" "corepointer"

OK! Restart to check the effect.

After the restart, find the "display" of the system. Adjust the resolution and pixels as needed. Restart or log out again to make the settings take effect.

PS:
If the display is abnormal if the depth of the system is 16, you can use the VI editor to change it to/etc/X11/xf86config to 24.

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.