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.

johnnydecode

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

Advertisements

Leave a Reply

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

WordPress.com Logo

You are commenting using your WordPress.com 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 )

Google+ photo

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

Connecting to %s