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

本文介绍如何在CentOS系统中使用Virtualbox并安装Guest Additions后,通过修改xorg配置文件来增加1366x768等更高分辨率选项的方法。

摘要生成于 C知道 ,由 DeepSeek-R1 满血版支持, 前往体验 >

一般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。0b1331709591d260c1c78e86d0c51c18.png

评论
添加红包

请填写红包祝福语或标题

红包个数最小为10个

红包金额最低5元

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

抵扣说明:

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

余额充值