by simosx · 7y ago · 0 comments
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-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.
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.