VirtualBox Ubuntu屏幕分辨率设置为640x400



我知道很多人以前都遇到过这个问题。然而,我读过的任何解决方案(我读过很多)都没有完全奏效。在我完成sudo apt-get install virtualbox-guest-dkms之后,安装"来宾添加"并没有起到任何作用。我是不是错过了什么?

顺便说一句,唯一有效的解决方案是启用3D加速,使屏幕分辨率达到4:3(而不是16:9)。请帮忙。

Using Windows 10, Virtual Box 5.1.26, After trying almost all solutions and documenting them, Finally the following worked.
 1. Close The Virtual Box
 2. Change the maximum values for virtual box under File > Preferences > Display to Hint, 1366, 768;
 2. Go to C:Users{username}.VirtualBox. Replace {username} with the logged in user
 3. Open VirtualBox.xml in an editor and append
   <ExtraDataItem name="CustomVideoMode1" value="1366x768x32"/>
  After 
    <ExtraData>
 4. Go to C:Users{username}VirtualBox VMsUbuntu
 5. Open Ubuntu.vbox (Replace Ubuntu with the name of your virtual machine) in an editor and append
	<ExtraDataItem name="CustomVideoMode1" value="1366x768x32"/>
  After 
    <ExtraData>
	
 6. Close the editor and start the Virtual Box.
 7. Once Ubuntu starts, go to terminal type and change to root
    sudo vi /etc/default/grub
 8. Locate 
		GRUB_CMDLINE_LINUX_DEFAULT="quiet splash"
 9. Modify it to GRUB_CMDLINE_LINUX_DEFAULT="quiet splash video=hyper_fb:1366x768x32"
 10. Close the file and run sudo update-grub
 11. Reboot the virtual machine instance.
 

哇。我刚刚重新安装了添加的来宾。它奏效了。最后。

最新更新