你好,游客 登录 注册 搜索
背景:
阅读新闻

Virtualbox安装CentOS修改分辨率为1366x768

[日期:2012-12-05] 来源:Linux社区  作者:haiong0707 [字体: ]

一般Virtualbox安装CentOS安装完成后默认是800x600的分辨率。

安装Guest additions。安装完成后,分辨率可以修改为1024x768,还有一些更高的分辨率,但是没有1366x768。

修改/etc/X11/xorg.config

安装完Guest additions后,文件默认内容为(或者类似)

# VirtualBox generated configuration file 
# based on /etc/X11/xorg.conf. 
 
Section "Monitor" 
  Identifier  "Monitor[0]" 
  ModelName    "VirtualBox Virtual Output" 
  VendorName  "Oracle Corporation" 
EndSection 
 
Section "Device" 
  BoardName    "VirtualBox Graphics" 
  Driver      "vboxvideo" 
  Identifier  "Device[0]" 
  VendorName  "Oracle Corporation" 
EndSection 
 
Section "Screen" 
  SubSection "Display" 
    Depth      24 
  EndSubSection 
  Device      "Device[0]" 
  Identifier  "Screen[0]" 

修改Section "Screen",添加字段Modes "800x600" "1366x768"

Section "Screen" 
  SubSection "Display" 
    Depth      24 
    Modes      "800x600" "1366x768" 
  EndSubSection 
  Device      "Device[0]" 
  Identifier  "Screen[0]" 

注意:Modes要添加在SubSection之间,而且不能只添加1366x768,要同时添加800x600。

linux
本文评论   查看全部评论 (0)
表情: 表情 姓名: 字数

       

评论声明
  • 尊重网上道德,遵守中华人民共和国的各项有关法律法规
  • 承担一切因您的行为而直接或间接导致的民事或刑事法律责任
  • 本站管理人员有权保留或删除其管辖留言中的任意内容
  • 本站有权在网站内转载或引用您的评论
  • 参与本评论即表明您已经阅读并接受上述条款