Comment 3 for bug 1507469

Revision history for this message
Michael Gratton (mjog) wrote : Re: Evince's Apparmour profile prevents opening docs from other apps under Wayland

I don't think it is Evince-specific either, but that was the only app that I encountered having the issue. It's definitely not X related however since this is Wayland-specific. The "wayland-0" socket naming convention seems to come from libwayland-server, so maybe that's a reasonable package to provide a Wayland abstraction, but then that needs to be included in the Apparmour profiles for GUI programs.

Note also that the socket name may change depending on the server implementation or at runtime via the WAYLAND_DISPLAY environment variable (which works much in the same way as DISPLAY does for X), if that does happen then the same problem will occur. I don't know how to fix that in Apparmour though.