

It’s likely because it can’t access X11 or Wayland. To fix this, try editing the files in /home/your_username/.local/share/flatpak/overrides/
like I mentioned earlier. Specifically, look for the sockets
line and make sure it includes wayland
, x11
, and x11-fallback
like sockets=wayland;x11;x11-fallback;
. This should help you launch flatpaks that need X11 access.
Yes, they are different because they are for different flatpak applications.
What’s in the files? Do they have a line called
sockets
? Is that line set tox11
orx11-fallback
? Have you tried adding those options likesockets=wayland;x11;x11-fallback
? I usually get an error saying I can’t connect to the display or that X is missing when I revoke access tox11
orwayland
. Or did you removex11
from your system?