Configure the display resolution in Linux RedHat9

来源:互联网 发布:无间道歌词含义 知乎 编辑:程序博客网 时间:2024/06/05 21:57

Once theLinux Redhat9 had been installed in the virtual machine,when the systemis starting,it will automatically start the graphic mode.Similarly,itprovides a graphic interface like Windows to change the dislay settingsuch as display-resolution,color and so on.But when I had changed thedisplay-resolution from 800x600 to 1024x768,system remained me torestart the XWindow(Graphic interface),I followed the remainder to logout the system and relog in ,but unfortunately,after entering thedesktop,nothing had been changed.I opened the config file of thedisplay locating in the directory of /etc/X11/XF86config and modifiedit manually,after the operation,still failed to change the resoluationof the Redhat.
    Ocasionally I found the virtual machine toolsshould be installed to enhance the graphic capability in a higherresolution,I was excited to seek for the relevant information oninternet,finally the article was found of telling how to install thetools step by step detailedly.Combinated with my own experience,thesteps would be written down as shown below
   1.Set the Redhat to Text-Mode
  In the grahpic mode,the Virtual Machine tools couldn't be installedsuccessfully(A messsage will be prompted the reason).On how to changethe graphic mode to text mode,you might modify the config file whichlocates in /etc/inittab(vi inittab),changed the line "id:5:initdefault"to "id:3:initdefault".Save the configuration then restart the system.
   2.Map the CD_ROM to the file linux.iso(Mine is C:/Program Files/VMware/VMware Workstation/linux.iso) in the VM setting
   3.Start the system to the command line mode (text mode like DOS style),executed the following command
   mount -t iso9660 /dev/cdrom /mnt/cdrom
   copy /mnt/cdrom/vmware-linux-tools.tar.gz /tmp
   umount /dev/cdrom (The system complained "Device is busy",however,this will not affect the latter operations)
   cd /tmp
   tar zfx vmware-linux-tools.tar.gz
   4.After the series of commands,a directory named vmware-tools-distrib would be found in /tmp
   cd wmware-tools-distrib
   ./vmware-install.pl
   Then pressed "yes" when encountering the questions
  5.Execute the command startx in the command line,now system will enterinto the graphic mode,now you can change the display setting from800x600 to 1024x768.Logged out and relogged in the system
   Ok,now ,you can see the screen is in the 1024x768 resolution,aha...success!Cheers !

原创粉丝点击