GTK and any Flatpak apps are now extremely slow starting in Plasma


I’m running Fedora 38 Beta.

Around 10 days ago, I noticed that any GTK app, and all Flatpak apps (Including Qt-based apps) had started launching very, very slowly in KDE Plasma.

We’re talking 2 1/2 - 3 minutes launch time.

And I sometimes get error messages like this launching some GTK apps:

Did not receive a reply. Possible causes include: the remote application did not send a reply, the message bus security policy blocked the reply, the reply timeout expired, or the network connection was broken.

I’d file a bug report, but one may have already been filed, and I’m not sure what to file it under.




I’ve had differing experiences depending on the machine. On my VM running Fedora 38 Kinoite, I am experiencing what you described with flapaks. The flatpaks on that VM take a long time to start, 1.5 minutes or so. Rebasing to Silverblue remedies the issue.

On a laptop running Fedora 38 Kinoite, I experience no issues. The only difference that I have uncovered between the two installations is that xdg-desktop-portal.serivce is timing out my my VM machine. On my laptop, that service starts without issue.

Is xdg-desktop-portal.service timing out on your system? What does “systemctl --user status xdg-desktop-portal.service” return?

(Edited to correct service name)

I’m running regular Fedora 38 (no ostree) on bare metal.

$ systemctl --user status xdg-desktop-portal.service
× xdg-desktop-portal.service - Portal service
     Loaded: loaded (/usr/lib/systemd/user/xdg-desktop-portal.service; static)
    Drop-In: /usr/lib/systemd/user/service.d
     Active: failed (Result: timeout) since Thu 2023-04-06 19:41:22 PDT; 1s ago
    Process: 20804 ExecStart=/usr/libexec/xdg-desktop-portal (code=killed, signal=TERM)
   Main PID: 20804 (code=killed, signal=TERM)
        CPU: 22ms

Apr 06 19:40:37 ellietoo systemd[1931]: Starting xdg-desktop-portal.service - Portal service...
Apr 06 19:41:22 ellietoo systemd[1931]: xdg-desktop-portal.service: start operation timed out. Terminating.
Apr 06 19:41:22 ellietoo systemd[1931]: xdg-desktop-portal.service: Failed with result 'timeout'.
Apr 06 19:41:22 ellietoo systemd[1931]: Failed to start xdg-desktop-portal.service - Portal service```

1 Like

Thank you for sharing that.

I’ve added my $.02 to it.

1 Like