How to easily run graphics-accelerated GUI apps in LXD containers on your Ubuntu desktop

UPDATE June 2020: See newer post at https://blog.simos.info/running-x11-software-in-lxd-containers/ for simplified instructions. They require a recent LXD (version 4.0 or newer), and snap packages work. Note: This post is about LXD containers. These are system containers, which means they are similar to Docker but behave somewhat like virtual machines. When you start a LXD (lex-dee) container, …

Continue reading

Permanent link to this article: https://blog.simos.info/how-to-easily-run-graphics-accelerated-gui-apps-in-lxd-containers-on-your-ubuntu-desktop/

How to use LXD container hostnames on the host in Ubuntu 18.04

Update: 12 Oct 2018 – The systemd service file and the LXD lxdbr0 configuration have been updated according to the comment by mDfRgmd. Please check again and verify that you are using the updated version. If you have two LXD containers, mycontainer1 and mycontainer2, then you can reference each other with those handy *.lxd hostnames …

Continue reading

Permanent link to this article: https://blog.simos.info/how-to-use-lxd-container-hostnames-on-the-host-in-ubuntu-18-04/

A closer look at Chrome OS using LXD to run Linux GUI apps (Project Crostini)

At Google I/O 2018, one of the presentations was on What’s new in Android apps for Chrome OS (Google I/O ’18). The third and most exciting developer tool shown in the presentation, was the ability to run graphical Linux apps on Chrome OS. Here is a screenshot of a native Linux terminal application, as shown …

Continue reading

Permanent link to this article: https://blog.simos.info/a-closer-look-at-chrome-os-using-lxd-to-run-linux-gui-apps-project-crostini/

How to try LXD 3.0 beta

LXD is a container hypervisor/lighter-visor for Linux distributions. You kinda get the effect of a Linux virtual machine but using Linux containers instead. You can consider them as lightweight virtual machines. Currently, LXD is at version 2 (2.21) and soonish version 3.0 will be released. In this post we see how to get to try …

Continue reading

Permanent link to this article: https://blog.simos.info/how-to-try-lxd-3-0-beta/

Checking the Ubuntu Linux kernel updates on Spectre and Meltdown (22 February 2018)

In the post Checking the Ubuntu Linux kernel updates on Spectre and Meltdown we saw the initial support of countermeasures in the Ubuntu Linux kernel for Spectre and Meltdown. Here is the output of the spectre-meltdown-checker script when I run it on 26th January 2018 (Ubuntu Linux kernel HWE 4.13.0.32), Today there was a kernel update …

Continue reading

Permanent link to this article: https://blog.simos.info/checking-the-ubuntu-linux-kernel-updates-on-spectre-and-meltdown-22-february-2018/

How to repartition a Hetzner VPS disk for ZFS on its own partition for LXD

In that post, we saw how to set up LXD on a Hetzner VPS (Hetzner Cloud). The particular VPS comes with a fixed size partition, and we had to put the LXD containers in a loopback device file, not on its own partition. The reason is that once the VPS is booted up, you cannot …

Continue reading

Permanent link to this article: https://blog.simos.info/how-to-repartition-a-hetzner-vps-disk-for-zfs-on-its-own-partition-for-lxd/