diff options
author | Silvio Rhatto <rhatto@riseup.net> | 2017-01-27 13:27:27 -0200 |
---|---|---|
committer | Silvio Rhatto <rhatto@riseup.net> | 2017-01-27 13:27:27 -0200 |
commit | 6f37a7e5238301f96a957cdf0af4f2d3fdd953d0 (patch) | |
tree | 4c92510bed8cf11dd399d7eb308894c3fe8e4c29 /suckless/virtual.mdwn | |
parent | 38d57640ed3b03e0616cd095953418eb18acf95c (diff) | |
download | blog-6f37a7e5238301f96a957cdf0af4f2d3fdd953d0.tar.gz blog-6f37a7e5238301f96a957cdf0af4f2d3fdd953d0.tar.bz2 |
Move stuff to suckless
Diffstat (limited to 'suckless/virtual.mdwn')
-rw-r--r-- | suckless/virtual.mdwn | 76 |
1 files changed, 76 insertions, 0 deletions
diff --git a/suckless/virtual.mdwn b/suckless/virtual.mdwn new file mode 100644 index 0000000..520bc79 --- /dev/null +++ b/suckless/virtual.mdwn @@ -0,0 +1,76 @@ +[[!meta title="Virtualized GUI environments"]] + +Can't or don't want to use [Qubes OS](https://www.qubes-os.org/)? 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! + +![Screenshot](screenshot.png) + +First things first +------------------ + +What you can do: + +1. Create a virtual machine image of the operating system of your choice like [this example](https://padrao.fluxo.info/boxes/). +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 + + autologin-user=vagrant + autologin-user-timeout=0 + +If using VirtualBox, you might also want to try [virtualbox-guest-x11](https://packages.debian.org/stable/virtualbox-guest-x11). + +Features +-------- + +* Good security through isolation. +* Improved start/stop of your application by using virtual machine suspend/resume. +* Minor performance penalties while running the virtual machine. + +Limitations +----------- + +* Memory and disk consumption. +* Clipboard might still be available to the virtual environment, see [this discussion](http://theinvisiblethings.blogspot.com.br/2011/04/linux-security-circus-on-gui-isolation.html). + +Future +------ + +* 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. + +References +---------- + +Applications: + +* [vbox and kvmx scripts](https://git.fluxo.info/vbox). +* [plymouth - Debian Wiki](https://wiki.debian.org/plymouth). +* [SPICE Project](http://www.spice-space.org/). + +Other implementations: + +* [Marco Carnut: Ambiente "Auto-Limpante" via Virtualização Ultra-Leve Descartável - Tempest Blog](http://blog.tempest.com.br/marco-carnut/ambiente-auto-limpante-via-virtualizacao-ultra-leve-descartavel.html). +* [Subgraph OS and Mail](https://subgraph.com/sgos/index.en.html). + +Tips: + +* 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. |