[Testing Update] 2022-09-16 - Kernels, KDE Gear, KDE Frameworks, LibreOffice, Qemu, Qt, Wine

I got the error of xdg-desktop-portal-kde in the journal log.

xdg-desktop-portal-kde[1340]: This application failed to start because no Qt platform plugin could be initialized. Reinstalling the application may fix this problem.

                            Available platform plugins are: eglfs, linuxfb, minimal, minimalegl, offscreen, vnc, wayland-egl, wayland, wayland-xcomposite-egl, wayland-xcomposite-glx, xcb.
systemd-coredump[1364]: [🡕] Process 1340 (xdg-desktop-por) of user 963 dumped core.

There is a known issue: here

Solution:

  • If you do not use flatpak, then just remove xdg-desktop-portal and xdg-desktop-portal-kde.
    OR
  • If you use flatpak, then need to manually run systemctl --user restart plasma-xdg-desktop-portal-kde after every reboot or login.

However, some applications e.g. kcolorchooser does not work without xdg-desktop-portal


The issue is caused by missing the Qt plattform plugin “xcb” or “wayland” for /usr/lib/xdg-desktop-portal-kde

xdg-desktop-portal-kde[1352]: qt.qpa.xcb: could not connect to display

audit[1352]: ANOM_ABEND auid=963 uid=963 gid=963 ses=1 subj=unconfined pid=1352 comm="xdg-desktop-por" exe="/usr/lib/xdg-desktop-portal-kde" sig=6 res=1

xdg-desktop-portal-kde[1352]: qt.qpa.plugin: Could not load the Qt platform plugin "xcb" in "" even though it was found.

1 Like