Adjust the Linux resolution in VMware

Source: Internet
Author: User
Adjust the resolution of Linux under VMware-general Linux technology-Linux technology and application information. The following is a detailed description. After adjusting the resolution of Linux in VMware, Linux is installed. The default resolution is 800x600. in Linux, how to change the resolution and then restart or log out is not changed, to change the resolution of Linux, you must install vmware tools as follows:

1. Start your VM (otherwise the options are gray and unavailable). In the VM drop-down menu, choose Install vmware tool.

2. After you select Install vmware tool, a package named vmware-linux-tools.tar.gz is displayed in your linux/etcdirectory.

3rd, copy the vmware-linux-tools.tar.gz package to the/tmp directory.

4. decompress the package in the current directory to generate a directory for vmware-tools-distrib.

5. Enter telinit 3 (init 3) on the terminal and switch to the command line mode.

6, run the vmware-install.pl file with./vmware-install.pl, and then press enter (the last answer is yes), the success of a resolution list, select a resolution can be;

7. Restart x-windows: telinit 5 (init 5)

In the following steps, the resolution is not available in Linux. We will add one to it (even 1280*800)

1. in RedHat Linux, the X11 configuration file is/etc/X11/XF86Config.

2. edit/etc/X11/XF86Config

3. Add ModeLine "1280x800" 100 1280 1300 1400 1500 800 900 1000 1100 to Section "Monitor ".

Section "Monitor"
Identifier "vmware"
VendorName "VMware, Inc"
ModelName "Unknown monitor"
HorizSync 1.0-10000.0
VertRefresh 1.0-10000.0
ModeLine "1280x800" 100 1280 1300 1400 1500 800 900 1000
EndSection

4. Change defadedepth to 24.

5. Add "1280x800" to the following Modes"

SubSection "Display"
Depth 24
Modes "1280x800" "1024x768" "800x600" "640x480"
EndSubSection

6. Restart X (you can also use logout) to check whether the resolution has been set to what you want.
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.