Help answer threads with 0 replies.
Go Back > Forums > Linux Forums > Linux - Containers
User Name
Linux - Containers This forum is for the discussion of all topics relating to Linux containers. Docker, LXC, LXD, runC, containerd, CoreOS, Kubernetes, Mesos, rkt, and all other Linux container platforms are welcome.


  Search this Thread
Old 07-18-2018, 03:11 PM   #1
Registered: Jul 2005
Posts: 59

Rep: Reputation: 10
Thumbs up ShowLQ: Even easier guide to run GUI apps in LXD containers

I rewrote my blog post on running GUI apps in LXD containers and here is the newer version,

In the newer version, you just create a new LXD profile with the GUI settings (let's call it gui), and then you can launch such a GUI container with

lxc launch --profile default --profile gui ubuntu:18.04 myguicontainer
Then, you can connect to the container with

lxc exec myguicontainer -- sudo --user ubuntu --login
and finally run any GUI command, such as

If you need something else like Firefox or Chrome, install it and run it.



Thread Tools Search this Thread
Search this Thread:

Advanced Search

Posting Rules
You may not post new threads
You may not post replies
You may not post attachments
You may not edit your posts

BB code is On
Smilies are On
[IMG] code is On
HTML code is Off

Similar Threads
Thread Thread Starter Forum Replies Last Post
ShowLQ: How to have a desktop session in a LXD container simosx Linux - Containers 0 02-28-2018 01:44 PM
HOWTO: How to run graphics-accelerated GUI apps in LXD containers on your Ubuntu desktop simosx Linux - Containers 0 05-06-2017 01:48 PM
Trying out LXD containers on our desktop computer simosx Linux - Containers 1 03-13-2017 08:15 AM > Forums > Linux Forums > Linux - Containers

All times are GMT -5. The time now is 08:03 AM.

Main Menu
Write for LQ is looking for people interested in writing Editorials, Articles, Reviews, and more. If you'd like to contribute content, let us know.
Main Menu
RSS1  Latest Threads
RSS1  LQ News
Twitter: @linuxquestions
Facebook: linuxquestions Google+: linuxquestions
Open Source Consulting | Domain Registration