ubuntu - virtualbox 全屏
PHPz
PHPz 2017-04-22 08:58:41
[Linux讨论组]

在virtualbox中安装了ubuntu(命令行界面),如何才能全屏显示,必须安装图形界面和增强工具才行吗

PHPz
PHPz

学习是最好的投资!

全部回复(3)
巴扎黑

命令行貌似就600*400的大小吧, 你装了图形增强工具也是这么大. 我记得可以改变命令行界面下的分辨率大小, 要改一些参数, 很长时间没搞过了, 早忘了.
你用SSH工具(SecureCRT等)连上去, 爱调多大调多大.

伊谢尔伦

嫌小可以缩放:

黄舟

Combining the two answers:

Identify the resolution that your VirtualBox environment supports. Reboot the system and hit c when the grub windows appears appears. This will drop you into the grub console. Enter the commend vbeinfo to see a list of resolutions. Select the resolution that works for you (in my case, 1152x864x32).

Edit /etc/default/grub to modify/create a line GRUB_GFXMODE=1152x864x32 (where you replace the resolution with the one appropriate for your environment).

Edit /etc/grub.d/00_header to modify the line if [ "x${GRUB_GFXMODE}" = "x" ] ; then GRUB_GFXMODE=auto ; fi to be if [ "x${GRUB_GFXMODE}" = "x" ] ; then GRUB_GFXMODE=1152x864x32 ; fi (again, replacing the resolution)

Update grub and reboot: update-grub2 && shutdown -r now

热门教程
更多>
最新下载
更多>
网站特效
网站源码
网站素材
前端模板
关于我们 免责申明 意见反馈 讲师合作 广告合作 最新更新
php中文网:公益在线php培训,帮助PHP学习者快速成长!
关注服务号 技术交流群
PHP中文网订阅号
每天精选资源文章推送
PHP中文网APP
随时随地碎片化学习
PHP中文网抖音号
发现有趣的

Copyright 2014-2025 https://www.php.cn/ All Rights Reserved | php.cn | 湘ICP备2023035733号