Wayland desktop after install / upgrade a VirtualBox Extension Pack may get a “can’t find Xauthority”. The fix is to revert to X11 as recommended by Ubuntu.
Fix by logging out, and at the login screen select X11 login. Install the VirtualBox Expansion Pack Logout and switch back to the default login (with Wayland). VirtualBox will work in Wayland.