Configure the display resolution in Linux RedHat9

Once the Linux Redhat9 had been installed in the virtual machine,when the system is starting,it will automatically start the graphic mode.Similarly,it provides a graphic interface like Windows to change the dislay setting such as display-resolution,color and so on.But when I had changed the display-resolution from 800x600 to 1024x768,system remained me to restart the XWindow(Graphic interface),I followed the remainder to log out the system and relog in ,but unfortunately,after entering the desktop,nothing had been changed.I opened the config file of the display locating in the directory of /etc/X11/XF86config and modified it manually,after the operation,still failed to change the resoluation of the Redhat.
    Ocasionally I found the virtual machine tools should be installed to enhance the graphic capability in a higher resolution,I was excited to seek for the relevant information on internet,finally the article was found of telling how to install the tools step by step detailedly.Combinated with my own experience,the steps 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 installed successfully(A messsage will be prompted the reason).On how to change the graphic mode to text mode,you might modify the config file which locates 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 enter into the graphic mode,now you can change the display setting from 800x600 to 1024x768.Logged out and relogged in the system
   Ok,now ,you can see the screen is in the 1024x768 resolution,aha...success!Cheers !

  • 0
    点赞
  • 0
    收藏
    觉得还不错? 一键收藏
  • 0
    评论

“相关推荐”对你有帮助么?

  • 非常没帮助
  • 没帮助
  • 一般
  • 有帮助
  • 非常有帮助
提交
评论
添加红包

请填写红包祝福语或标题

红包个数最小为10个

红包金额最低5元

当前余额3.43前往充值 >
需支付:10.00
成就一亿技术人!
领取后你会自动成为博主和红包主的粉丝 规则
hope_wisdom
发出的红包
实付
使用余额支付
点击重新获取
扫码支付
钱包余额 0

抵扣说明:

1.余额是钱包充值的虚拟货币,按照1:1的比例进行支付金额的抵扣。
2.余额无法直接购买下载,可以购买VIP、付费专栏及课程。

余额充值