RAM Adjusted Desktop Starter
rads - RAM Adjusted Desktop Starter - Starts [no] desktop environment based on available RAM. Automatically boots into graphical desktop environment, when there is enough RAM. Or into terminal-only, when there is too little RAM. Useful inside virtual machines. - For better usability.
Note: This applies to Non-Qubes-Whonix only.
When booting up, a prompt will appear offering to prevent KDE from starting. Users can also manually press
Ctrl + C for the same effect.
By default, Whonix-Gateway is configured with 768 MB virtual RAM. This can be reduced on systems with low available resources.
- If total RAM is more than 512 MB, the default desktop environment (KDE) is started.
- If total RAM is less than 512 MB (for example, the minimum 256 MB RAM requirement), KDE (kdm) is not started. 
Users with low RAM resources should find this convenient, because Whonix-Gateway RAM can be reduced to 256 MB and still function. Further, if something needs configuring or checking, 512 MB RAM can be assigned to automatically boot into the graphical KDE desktop. Additional settings are available in /etc/rads.d/ to configure this feature: additional RAM can be added (but still not choosing to boot into a desktop environment), different display managers can be used and so on.
If users would like to never automatically start a desktop environment independently on how much RAM they assigned.
In the terminal complete the following steps.
Open /etc/rads.d/50_user.conf in an editor with root rights.
Add the following content.
The procedure is now complete.
This is a wiki. Want to improve this page? Help is welcome and volunteer contributions are happily considered! See Conditions for Contributions to Whonix, then Edit! IP addresses are scrubbed, but editing over Tor is recommended. Edits are held for moderation.
- The Whonix-Gateway can work with as little as 128 MB RAM, but resource intensive operations like kernel package upgrades that rebuild the initrd leave the virtual machine in a frozen state.