Comment 10 for bug 1897224

Revision history for this message
James Henstridge (jamesh) wrote : Re: [snap] chromium won't start on Xwayland in Ubuntu 20.10: Unable to open X display

https://gitlab.gnome.org/GNOME/mutter/-/merge_requests/1424 is definitely the culprit here. Snaps depend on access to the abstract namespace socket to function correctly.

Inside the sandboxes, snaps see a private /tmp that is under their complete control. So there is no /tmp/.X11-unix directory there. They can see the abstract namespace socket though, which the client libraries will use automatically.