4 ms·
LXD is used in Crostini (https://www.reddit.com/r/Crostini/ https://www.reddit.com/r/Crostini/) as a way to be able to run Linux applications in chromebooks. I
by simosx 8y ago
LXD is used in Crostini (https://www.reddit.com/r/Crostini/ https://www.reddit.com/r/Crostini/) as a way to be able to run Linux applications in chromebooks.
In addition, Samsung is somehow using LXD in their new phones, with "Linux on DeX". In that way, you can get a Linux interface with Ubuntu when you plug your phone to a monitor/TV.
If you use a Linux desktop, you can get to run GUI applications in a LXD "system container", therefore isolating the files from your host's filesystem.
Here is how to do this by sharing the X server of the host (filesystem separation but sharing the X for convenience),
https://blog.simos.info/how-to-easily-run-graphics-accelerated-gui-apps-in-lxd-containers-on-your-ubuntu-desktop/ https://blog.simos.info/how-to-easily-run-graphics-accelerat...
You can run things like CS GO DeathZone in such a LXD container with full GPU acceleration, and even closed-source NVidia driver.
Some people also got an LXD container to run in a separate X server, thus having even better isolation.
- zertrin 8y agoI use LXD containers to develop an app with a lot of big external dependencies that are currently not yet managed in a "nice" way (i.e. for now it's extract source tarball / make / make install). I installed CLion inside the container and use the host X server to display the IDE and the app being developed. The containers are so useful to isolate the main system from these make install and to be able to install the dependencies or rollback to a previous version in case of mistake without fearing side effects on the host system.
- shittyadmin 8y agoThanks for that link on an easier way to run GUI apps through LXD. I was using LXD containers to experiment with some cryptocurrencies and wound up using SSH and X forwarding to run the GUIs, that looks like a much better option.