n.b. You'll likely need 3D Hardware Acceleration in order to make screen resizing work without making the VM freeze or become unstable; this seemed to be the case Under Virtualbox 7, however enabling 3D acceleration there causes the VM to hard-crash the hypervisor (or at least the VM instance) during boot. I was eventually able to successfully create a usable VM in both UTM and VMWware Fusion.
-
Download the latest ARM64 Ubuntu Server installer ISO and use it to install Ubuntu Server with no workloads selected.
-
sudo apt update
-
sudo apt -y upgrade
-
Because the Server and Desktop OS'es use conflicting network management systems, we must disable the Server one or else the system will hang for several minutes during boot. Do this with:
sudo systemctl disable --now systemd-networkd.service
-
Install the Desktop system with
sudo apt -y install ubuntu-desktop
-
Ensure the correct VM guest drivers are installed.
- For UTM, run
sudo apt -y install spice-vdagent
- For VMWare Fusion, run
sudo apt -y install open-vm-tools-desktop
- Reboot with the command
sudo reboot