Workaround Xauthority error using VirtualBox on Wayland

If you’re on a Wayland desktop system (such as Ubuntu ≥ 17.10) and install/upgrade a VirtualBox Extension Pack, you may get a “can’t find Xauthority” popup error.

Workaround

  1. logout
  2. on login screen select X11 login
  3. install the VirtualBox Expansion Pack
  4. if you desire, logout and switch back to the default login (with Wayland). VirtualBox will work in Wayland.

Leave a Comment