You don’t “have” to do anything. It’s just the default settings. It will probably run with less than 3 cores. I am just trying to figure out the cause of your problem.
Maybe would be a good idea to download another Linux distribution like Ubuntu or Debian or anything else and see how it behaves in VirtualBox. If it also freezes then the problem is not with Whonix.
For sure. The freezing is caused by resource allocation so I’m trying to figure out the optimal settings given my laptop specs and use case. I want to know what the lowest I can set for the Gateway without causing issue so I can allocate more to the workstation which on occasion freezes or even crashes. Also the full screen doesn’t work anymore with the workstation.
Whonix is at time of writing tested with Debian buster.
And VirtualBox version 6.1.6.
This might be more important than VM settings.
There is really no special recipe for that.
Whonix-Gateway/Workstation doesn’t require a specific number of CPU cores. 1 should suffice.
One VirtualBox specific limitation: Assign less CPU cores per VM than the host has.
I.e. host has 4 cores, don’t assign more than 3 cores to VM. https://www.virtualbox.org/ticket/19500
3 cores is default in Whonix stable now.
2 GB RAM for gateway and 2 GB for workstation is already optimal - unless you do something specifically RAM intense.
By responsibilities: Whonix doesn’t produce VirtualBox. Whatever a VM does shouldn’t have a bad effect on the host operating system. Whatever Whonix does must not have any bad influence on the host operating system. VirtualBox is produced by virtualbox.org. If any VM (such as Whonix) would mange to freeze/crash the host operating system that these are virtualizer (VirtualBox) bugs. Therefore:
Would you mind sharing with us one of those logs so that we can judge for ourselves? From a machine that got aborted? ZIP it before using the “Upload attachment” at the bottom of your reply form.
VirtualBox → right click a VM → Show Log... → Log → Save → OK
Now my Gateway is unable to connect to Tor port with exit code 277.
I really need to access my workstation on Tor I don’t know what it decided to quit working all of a sudden.
Edit: If I increase the RAM to 2GB on the Gateway it runs in GUI and connects. However once I runt he Workstation it aborts the Gateway. If I reload the Gateway it aborts the Workstation.