Any success with GUI Apps with LXD containers on Fedora 33?

Has anyone been successful getting GUI applications (X11) to run in containers on Fedora 33?

I haven’t had any issues with the last several Fedora releases, but for some reason on Fedora 33 I can’t get it to work (cannot open the display error). I’m curious if there is something new in Fedora 33 that is blocking it, or if I am missing something somewhere.

I tried both a newly created container and one that was imported from my Fedora 32 machine (that works with GUI apps), but no success. The rest of the container functionality seems normal. These are the profile settings I have been using successfully:

        bind: container
        connect: unix:@/tmp/.X11-unix/X0
        listen: unix:@/tmp/.X11-unix/X0
        security.gid: "1000"
        security.uid: "1000"
        type: proxy
        type: gpu

DISPLAY is set properly and uid and gid mapping looks correct.

Any ideas?

Try using unix:/tmp/.X11-unix/X0 as the connect.

Mutter on Wayland has recently regressed behavior and doesn’t listen on the abstract unix socket. There is an upcoming upstream change which should re-introduce the previous behavior though.

That did the trick. Thank you!

I thought it might be something simple. I’m glad I can now safely upgrade to Fedora 33.

Thanks again!