In the profile you're running Terminal in, create a directory named linux in your profile's home directory (to clarify, this means from the Files app not the Linux VM). In that directory create a file named virglrenderer to enable VirGL. Content of the file doesn't matter just make sure it's named exactly virglrenderer.
Now open the Terminal and edit these files appropriately. You can use sudo nano FILE_PATH.
Comment out the two last env variables.
/usr/local/bin/enable_display
#!/bin/bash