Sat 06 Oct 2018 11:16:53 PM -03

Can't or don't want to use Qubes OS? Here comes a straightforward sollution that, while not offering the same level of security, is practical enough to be implemented in the confort of your current FOSS OS!

A picture

Could you spot the difference between the Tor Browser running in the host for the one inside the virtual machine? That's what we want to achieve!


First things first

What you can do:

  1. Create a virtual machine image of the operating system of your choice like this example.
  2. Setup basic X11 environment with automatic login and startup programs.
  3. Configure your hypervisor to hide icons and additional decorations around the virtual machine.
  4. Setup key bindings on your window manager to start/resume and stop/suspend the virtual machine.

Debian desktop

When using a debian virtual machine as a virtual desktop, consider the following:

apt-get install lightdm ratpoison

Make sure to configure /etc/lightdm/lightdm.conf with something like


If using VirtualBox, you might also want to try virtualbox-guest-x11.


  • Good security through isolation.
  • Improved start/stop of your application by using virtual machine suspend/resume.
  • Minor performance penalties while running the virtual machine.


  • Memory and disk consumption.
  • Clipboard might still be available to the virtual environment, see this discussion.


  • This should be better documented!
  • Automated expendable snapshots for one-time-use virtual machines.
  • Automated recipes (puppet/ansible).
  • Vagrant integration for fast provisioning of golden images.
  • Alternatives to the VirtualBox hypervisor.



Other implementations:


  • If using Firefox, try to disable hardware graphics acceleration as it might impact performance and produce graphics artifacts. This behavior was seem on VMs running with qemu-kvm with SPICE.

Spice and KVM:


Mounting guest images:

Image optimization: