KDE Linux: Firefox does not start on the first try

On two latest builds of KDE Linux (2025-09-12), Firefox does not reliably start upon clicking its shortcut. Usually it requires at least three clicks to start up, sometimes even five. Other apps (e. g. Google Chrome, Discover) don’t have this issue. What can cause this behavior?

1 Like

I noticed this too. It seems that the problem is that Firefox cannot connect to the display when you run it the first couple of times.

If you run Firefox at the command line with this command:
flatpak run org.mozilla.firefox
You might see this output:
Warning: ConnectToCompositor() try again : Resource temporarily unavailable
Error: ConnectToCompositor() connect() failed repeatedly : Resource temporarily unavailable
Error: ProxiedConnection::Process(): Failed to connect to compositor
: Resource temporarily unavailable
Error: we don’t have any display, WAYLAND_DISPLAY=‘wayland-0’ DISPLAY=‘(null)’
The first line is repeated a bunch of times.
Note: You can see available flatpak apps with this command:
ls -al /var/lib/flatpak/app

this is getting reported upstream in bug

Bug 1940341
Firefox (Flatpak) randomly fails to launch [Wayland: Resource temporarily unavailable]