GUI apps in LXD (Archlinux Host)

I managed to replicate the issue; indeed with lxc console mycontainer something is different and the X application does not start.

Here is the output

$ lxc console mycontainer
To detach from the console, press: <ctrl>+a q

Ubuntu 18.04.1 LTS mycontainer console

mycontainer login: ubuntu
Password: *************

ubuntu@mycontainer:~$ xclock
Error: Can't open display: 
ubuntu@mycontainer:~$ 

Until I figure out what’s going on, you can follow the following guide,

and get the shell with

lxc ubuntu mycontainer