I run Ubuntu as Guest OS in a Windows VirtualBox VM Host. In the existing, up-to-date VB, I have just moved from 17.04 to 18.04 by creating a new VM/.vdi
from scratch (including Guest Additions).
Previously, whatever I resized the whole VM/desktop window to was remembered across reboots, which is obviously desirable.
Under 18.04 (which, remember is now using GNOME instead of Unity, if that is relevant) this does not happen. The resizing is fine, but when I reboot it reverts to some small-ish size.
I imagine this is a Guest Ubuntu issue, not a Host VirtualBox one, so I don't think trying to ask the VB people will help any. Obviously I have installed Guest Additions, and do have View > Auto-resize Guest Display enabled.
Is this happening to other VirtualBox+18.04 users? Am I missing some setting to tell Ubuntu/GNOME to restore window/desktop size?
It worked for me (update Vbox 6.0):
Note: Check OpenGL with command:
Make sure you have Mesa installed:
Recomended before start:
For security reason create new folder (example: myvm) in a partition mounted (not directly in /Home or /root) or into an external disk and save only VM disk (if you have anyone without VM folder)
Important PPA:
Make sure you have the Virtualbox PPA. If you do not have it, open the terminal and execute:
Bash Script
Save this script in home (example: vboxinstall.sh)
And run (without "sudo")
Content:
Note: This script removes the previous virtualbox (and its folders), and installs it again
Create a new vm with your vm-disk (previously saved)
Do not select:
Select:
Note: To select USB3.0 (xHCI) Controller you must have Intel USB 3.0 Drivers
Run VM:
Note: Only for Mate Desktop Environment 1.20.1 (check with command: ~$ mate-about), if when running the VM your desktop bar is blocked (you can not access the menu and other functions), ignore it. When restarting the PC it will be fixed. However, if you need urgent access to your application menu, open the terminal and execute:
Important:
For PC/laptop/server with Intel Chipset or Graphic Card, read HERE
For previous versions of Ubuntu 18.04.x with Intel Graphic Card, see HERE
See discussion on this problem HERE