How to adjust the screen resolution for Ubuntu Server in VMware

本文指导用户如何通过修改GRUB配置文件来指定Linux启动时的分辨率,包括常见分辨率及其对应的代码值,并提供了调整后的配置命令,以及更新GRUB、重启系统的步骤。
1. vi /etc/default/grub 
2. modify the value of GRUB_CMDLINE_LINUX parameter , Ex : GRUB_CMDLINE_LINUX="vga=0x317".
    Before changing it, backup orginal value is recommended.
3. there are some values for reference . 
 
       |  640x480  800x600  1024x768 1280x1024
----  | --------------------------------------
256  |  0x301     0x303      0x305      0x307
32k  |  0x310     0x313      0x316      0x319
64k  |  0x311     0x314      0x317      0x31A
16M |  0x312     0x315       0x318     0x31B
 
4. $sudo update-grub
 
5. $sudo reboot

Good luck to you!
Reference: http://blog.youkuaiyun.com/weilanxing/article/details/7664324

转载于:https://www.cnblogs.com/AlicusForever/archive/2013/02/02/2890476.html

评论
添加红包

请填写红包祝福语或标题

红包个数最小为10个

红包金额最低5元

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

抵扣说明:

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

余额充值