Whonix Crashing Linux Mint, + Programs Don't Run With 3D Acceleration Enabled On Virtualbox



I have an issue with Whonix, my host OS is Linux Mint XFCE and Whonix is running in the latest version of VirtualBox.

When using the Whonix workstation it periodically crashes not only Whonix and VirtualBox, but Linux Mint entirely. The screen shuts off, and I’m asked to enter my password to unlock Mint again as if the computer had just turned on (all applications closed and reset also.)

This crash seems to happen most often when the hard drive is in heavy use (most common when I’m copying files to an external hard drive) or when media is being played back in VLC.

I read somewhere that this may be caused by 3D acceleration being enabled in the settings. However, when I disable it, very few applications are able to run in the workstation, including the terminal emulator. I either get a message stating “Failed to execute (application name) Input / Output error” or the application just doesn’t open at all.

Some applications however work perfectly either way

Turning 3D acceleration back on immediately fixes all the applications, which run flawlessly again.

What’s the best way to fix both of these issues? I would prefer to leave 3D acceleration off due to the security risks that have been mentioned.

Update: I’m able to run a different terminal in the Whonix workstation that gives the following error when one of the programs is ran:

“OpenGL Warning: Failed to connect to host. Make sure 3D acceleration is enabled for this VM.”

I do not understand what is causing this or why the 3D acceleration is needed?

I am able to make a second workstation that runs without 3D acceleration just fine. Of course, I do not have all of my software and files, and would prefer to focus on fixing this instead of starting over with a new workstation.

I have also tried updating Linux Mint, updating Whonix, updating software packages installed in Whonix, and switching graphics drivers.

Finally, I found this in my Linux Mint syslog around the time the crash happened:

xfce4-notifyd: Fatal IO error 11 (Resource temporarily unavailable) on X server :0,

at-spi-bus-launcher[1509]: XIO: fatal IO error 11 (Resource temporarily unavailable) on X server “:0”