First post! I run several desktop applications in LXD containers on Arch Linux and use the following line so that the container can use the host’s X server.
lxc config device add opera x disk source=/tmp/.X11-unix/ path=/tmp/.X11-unix/
This works fine until I reboot, at which point I have to
remove and then
add again, as the container has lost access to X. Is this normal? And if so, is there a way to make the assignment permanent?
Thanks in advance.