search

Home  >  Q&A  >  body text

ubuntu - virtualbox 全屏

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

PHPzPHPz2863 days ago581

reply all(3)I'll reply

  • 巴扎黑

    巴扎黑2017-04-22 09:00:41

    The size of the command line seems to be 600*400, even if you install the graphics enhancement tool. I remember that you can change the resolution size in the command line interface, and you need to change some parameters. I haven’t done this in a long time, and I have forgotten it.
    You use SSH tools (SecureCRT, etc.) to connect to it, and adjust it as much as you like.

    reply
    0
  • 伊谢尔伦

    伊谢尔伦2017-04-22 09:00:41

    If it’s too small, you can zoom in:

    reply
    0
  • 黄舟

    黄舟2017-04-22 09:00:41

    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

    reply
    0
  • Cancelreply