Running GUI applications in LXD on Fedora 26

Instructions on how to use LXC (Linux Containers) to run GUI applications within a container. The example shows how to run chromium with X11 and GPU-accelerated.


Create container:

Install needed tools:

Map UID and GID ramges:

Set UID/GUID ranges for container:

Mount X11 socket and .Xauthority file:

Passthrough GPU device:

Check results with:

Now we can install and run chromium browser inside:

View original post

Leave a Reply

Fill in your details below or click an icon to log in: Logo

You are commenting using your account. Log Out /  Change )

Google photo

You are commenting using your Google account. Log Out /  Change )

Twitter picture

You are commenting using your Twitter account. Log Out /  Change )

Facebook photo

You are commenting using your Facebook account. Log Out /  Change )

Connecting to %s

This site uses Akismet to reduce spam. Learn how your comment data is processed.