Article Title: adjust resolution in Linux. Linux is a technology channel of the IT lab in China. Includes basic categories such as desktop applications, Linux system management, kernel research, embedded systems, and open source.
When I installed centos5 in VMware, due to the default settings of VMware, the installed GUI only has a x resolution. The first idea is to install VMware Tools and then modify the explicit resolution, the method I used is completely different. When I installed centos5, I ran baidu. 1. After the installation is complete, vi/etc/inittab, set runlevel level to 3 and change the id: 3: default option. Press esc and capslock ZZ on the keyboard to save and exit;
2. Restart init 6 and run setup on the terminal. Select X configuration to go to the X configuration screen;
3. Select Hardware, change the display type to your desired type, and then exit;
4. Modify vi/etc/X11/xorg. conf and change the Modes parameter in the Screen section to the resolution you need if 1024x768
No Modes exists. Just add it by yourself.
5. Run startx on the command line to check whether the resolution meets the requirements;
6. Change the Startup Mode in vi/etc/inittab to 5 (X mode), and restart Linux on the terminal reboot. I PASS from FC5 to FC8, from RHEL4.2 to RHEL5.0 centos test!
Adjust the linux resolution in vmware
After centos is installed in VMWARE, the default resolution is 800*600. In centos's "Display Settings", how to change the resolution and restart or log out remain unchanged. To change the linux resolution, you must install vmware tools as follows:
1. There is an option to Install vmware tools in the VM drop-down menu. You must first start your VM. Otherwise, the options are gray and unavailable. Click the package named vmware-linux-tools.tar.gz in the/tmpdirectory of your limux.
2. decompress the package in the current directory to generate a directory for vmware-tools-distrib.
3. Enter telinit 3 on the terminal and switch to the command line mode.
3. Run the vmware-install.pl file, and then press enter all the way, after the completion of the will, the success of a resolution list, select a resolution can be;
4. Restart x-windows: telinit 5
5. If this directory does not exist, download it online and then transmit it to the linux machine using ssh.