Kleopatra not working any more after pacman update on Gnome / Wayland ?!?

After the update today, Kleopatra won’t start anymore. How to fix it ?
I am on Gnome / Wayland. Never had any problems with Kleopatra with Qt6 on Wayland before.

This is what I get when I want to start Kleopatra:

[gattino@cryptux ~]$ kleopatra
qt.core.qobject.connect: QObject::connect: No such signal QPlatformNativeInterface::systemTrayWindowChanged(QScreen*)
gpg.qgpgme: found no group for entry verbose of component "tpm2daemon"
gpg.qgpgme: found no group for entry quiet of component "tpm2daemon"
gpg.qgpgme: found no group for entry debug-level of component "tpm2daemon"
gpg.qgpgme: found no group for entry log-file of component "tpm2daemon"
The Wayland connection experienced a fatal error: Errore di protocollo

Before the update: No Problem.

I hope someone can help me with this problem, I use Kleopatra very often.

Thanks

Gonna need some more info. What was updated?

Hi,
this is pacman.log of the upgrade:

[2024-05-27T21:43:28+0200] [PACMAN] Running 'pacman -Syu'
[2024-05-27T21:43:28+0200] [PACMAN] synchronizing package lists
[2024-05-27T21:43:30+0200] [PACMAN] starting full system upgrade
[2024-05-27T21:45:47+0200] [ALPM] running '60-dracut-remove.hook'...
[2024-05-27T21:45:48+0200] [ALPM] transaction started
[2024-05-27T21:45:48+0200] [ALPM] upgraded ncurses (6.5-2 -> 6.5-3)
[2024-05-27T21:45:48+0200] [ALPM] upgraded sqlite (3.45.3-1 -> 3.46.0-1)
[2024-05-27T21:45:48+0200] [ALPM] upgraded e2fsprogs (1.47.1-2 -> 1.47.1-4)
[2024-05-27T21:45:48+0200] [ALPM] upgraded libcups (1:2.4.8-1 -> 2:2.4.8-1)
[2024-05-27T21:45:48+0200] [ALPM] upgraded mesa (1:24.0.7-3 -> 1:24.0.8-1)
[2024-05-27T21:45:48+0200] [ALPM] upgraded qt6-translations (6.7.0-1 -> 6.7.1-1)
[2024-05-27T21:45:48+0200] [ALPM] upgraded qt6-base (6.7.0-7 -> 6.7.1-2)
[2024-05-27T21:45:48+0200] [ALPM] upgraded kmime (24.02.2-1 -> 24.05.0-1)
[2024-05-27T21:45:48+0200] [ALPM] upgraded kwidgetsaddons (6.2.1-1 -> 6.2.2-1)
[2024-05-27T21:45:49+0200] [ALPM] upgraded qt6-declarative (6.7.0-1 -> 6.7.1-1)
[2024-05-27T21:45:49+0200] [ALPM] upgraded qt6-wayland (6.7.0-1 -> 6.7.1-1)
[2024-05-27T21:45:49+0200] [ALPM] upgraded qt6-shadertools (6.7.0-1 -> 6.7.1-1)
[2024-05-27T21:45:49+0200] [ALPM] upgraded qt6-5compat (6.7.0-2 -> 6.7.1-1)
[2024-05-27T21:45:49+0200] [ALPM] upgraded kwallet (6.2.0-1 -> 6.2.1-1)
[2024-05-27T21:45:49+0200] [ALPM] upgraded signon-kwallet-extension (24.02.2-1 -> 24.05.0-1)
[2024-05-27T21:45:49+0200] [ALPM] upgraded qt6-svg (6.7.0-1 -> 6.7.1-1)
[2024-05-27T21:45:49+0200] [ALPM] upgraded qt6-positioning (6.7.0-2 -> 6.7.1-1)
[2024-05-27T21:45:49+0200] [ALPM] upgraded qt6-webchannel (6.7.0-1 -> 6.7.1-1)
[2024-05-27T21:45:49+0200] [ALPM] upgraded dav1d (1.4.1-1 -> 1.4.2-1)
[2024-05-27T21:45:49+0200] [ALPM] upgraded librsvg (2:2.58.0-1 -> 2:2.58.1-1)
[2024-05-27T21:45:49+0200] [ALPM] upgraded libpipewire (1:1.0.6-1 -> 1:1.0.7-2)
[2024-05-27T21:45:49+0200] [ALPM] upgraded libcamera-ipa (0.2.0-1 -> 0.3.0-1)
[2024-05-27T21:45:49+0200] [ALPM] upgraded libcamera (0.2.0-1 -> 0.3.0-1)
[2024-05-27T21:45:49+0200] [ALPM] upgraded pipewire (1:1.0.6-1 -> 1:1.0.7-2)
[2024-05-27T21:45:49+0200] [ALPM] upgraded alsa-card-profiles (1:1.0.6-1 -> 1:1.0.7-2)
[2024-05-27T21:45:49+0200] [ALPM] upgraded pipewire-audio (1:1.0.6-1 -> 1:1.0.7-2)
[2024-05-27T21:45:49+0200] [ALPM] upgraded pipewire-jack (1:1.0.6-1 -> 1:1.0.7-2)
[2024-05-27T21:45:49+0200] [ALPM] upgraded qt6-webengine (6.7.0-2 -> 6.7.1-1)
[2024-05-27T21:45:49+0200] [ALPM] upgraded kaccounts-integration (24.02.2-1 -> 24.05.0-1)
[2024-05-27T21:45:49+0200] [ALPM] upgraded libakonadi (24.02.2-1 -> 24.05.0-1)
[2024-05-27T21:45:49+0200] [ALPM] upgraded akonadi-mime (24.02.2-1 -> 24.05.0-1)
[2024-05-27T21:45:49+0200] [ALPM] upgraded c-ares (1.28.1-1 -> 1.29.0-1)
[2024-05-27T21:45:49+0200] [ALPM] upgraded electron27 (27.3.11-3 -> 27.3.11-5)
[2024-05-27T21:45:49+0200] [ALPM] warning: /etc/pacman.d/endeavouros-mirrorlist installed as /etc/pacman.d/endeavouros-mirrorlist.pacnew
[2024-05-27T21:45:49+0200] [ALPM] upgraded endeavouros-mirrorlist (24.3-1 -> 24.4-1)
[2024-05-27T21:45:49+0200] [ALPM] upgraded gvfs (1.54.0-3 -> 1.54.1-1)
[2024-05-27T21:45:50+0200] [ALPM] upgraded evince (46.1-1 -> 46.3-1)
[2024-05-27T21:45:50+0200] [ALPM] upgraded libgoa (3.50.1-1 -> 3.50.2-1)
[2024-05-27T21:45:50+0200] [ALPM] upgraded evolution-data-server (3.52.1-2 -> 3.52.2-1)
[2024-05-27T21:45:50+0200] [ALPM] upgraded python-ujson (5.9.0-2 -> 5.10.0-1)
[2024-05-27T21:45:50+0200] [ALPM] upgraded python-typing_extensions (4.11.0-1 -> 4.12.0-1)
[2024-05-27T21:45:50+0200] [ALPM] upgraded glances (4.0.5-1 -> 4.0.7-1)
[2024-05-27T21:45:50+0200] [ALPM] upgraded libadwaita (1:1.5.0-1 -> 1:1.5.1-1)
[2024-05-27T21:45:50+0200] [ALPM] upgraded gnome-online-accounts (3.50.1-1 -> 3.50.2-1)
[2024-05-27T21:45:50+0200] [ALPM] upgraded pipewire-pulse (1:1.0.6-1 -> 1:1.0.7-2)
[2024-05-27T21:45:50+0200] [ALPM] upgraded mutter (46.1-1 -> 46.2-1)
[2024-05-27T21:45:50+0200] [ALPM] upgraded xdg-desktop-portal-gnome (46.1-2 -> 46.2-1)
[2024-05-27T21:45:50+0200] [ALPM] upgraded gnome-shell (1:46.1-2 -> 1:46.2-1)
[2024-05-27T21:45:50+0200] [ALPM] installed gnome-keybindings (46.1-3)
[2024-05-27T21:45:50+0200] [ALPM] upgraded gnome-control-center (46.1-2 -> 46.1-3)
[2024-05-27T21:45:50+0200] [ALPM] upgraded gnome-shell-extensions (46.1-1 -> 46.2-1)
[2024-05-27T21:45:50+0200] [ALPM] upgraded gst-plugin-pipewire (1:1.0.6-1 -> 1:1.0.7-2)
[2024-05-27T21:45:50+0200] [ALPM] upgraded gvfs-afc (1.54.0-3 -> 1.54.1-1)
[2024-05-27T21:45:50+0200] [ALPM] upgraded gvfs-gphoto2 (1.54.0-3 -> 1.54.1-1)
[2024-05-27T21:45:50+0200] [ALPM] upgraded gvfs-mtp (1.54.0-3 -> 1.54.1-1)
[2024-05-27T21:45:50+0200] [ALPM] upgraded gvfs-nfs (1.54.0-3 -> 1.54.1-1)
[2024-05-27T21:45:50+0200] [ALPM] upgraded gvfs-smb (1.54.0-3 -> 1.54.1-1)
[2024-05-27T21:45:50+0200] [ALPM] upgraded imagemagick (7.1.1.32-1 -> 7.1.1.33-1)
[2024-05-27T21:45:50+0200] [ALPM] upgraded qt6-multimedia-ffmpeg (6.7.0-1 -> 6.7.1-2)
[2024-05-27T21:45:50+0200] [ALPM] upgraded qt6-multimedia (6.7.0-1 -> 6.7.1-2)
[2024-05-27T21:45:50+0200] [ALPM] upgraded qt6-speech (6.7.0-1 -> 6.7.1-1)
[2024-05-27T21:45:50+0200] [ALPM] upgraded kpimtextedit (24.02.2-1 -> 24.05.0-1)
[2024-05-27T21:45:50+0200] [ALPM] upgraded kidentitymanagement (24.02.2-1 -> 24.05.0-1)
[2024-05-27T21:45:50+0200] [ALPM] upgraded kitty-terminfo (0.33.1-4 -> 0.35.0-1)
[2024-05-27T21:45:50+0200] [ALPM] upgraded kitty-shell-integration (0.33.1-4 -> 0.35.0-1)
[2024-05-27T21:45:50+0200] [ALPM] upgraded kitty (0.33.1-4 -> 0.35.0-1)
[2024-05-27T21:45:50+0200] [ALPM] upgraded ksmtp (24.02.2-1 -> 24.05.0-1)
[2024-05-27T21:45:50+0200] [ALPM] upgraded libkgapi (24.02.2-1 -> 24.05.0-1)
[2024-05-27T21:45:50+0200] [ALPM] upgraded kmailtransport (24.02.2-1 -> 24.05.0-1)
[2024-05-27T21:45:50+0200] [ALPM] upgraded libkleo (24.02.2-1 -> 24.05.0-1)
[2024-05-27T21:45:50+0200] [ALPM] upgraded kmbox (24.02.2-1 -> 24.05.0-1)
[2024-05-27T21:45:50+0200] [ALPM] upgraded mimetreeparser (24.02.2-1 -> 24.05.0-1)
[2024-05-27T21:45:50+0200] [ALPM] upgraded kleopatra (24.02.2-1 -> 24.05.0-1)
[2024-05-27T21:45:50+0200] [ALPM] upgraded libedataserverui4 (3.52.1-2 -> 3.52.2-1)
[2024-05-27T21:45:50+0200] [ALPM] upgraded libnautilus-extension (46.1-1 -> 46.2-1)
[2024-05-27T21:45:50+0200] [ALPM] upgraded linux (6.9.1.arch1-2 -> 6.9.2.arch1-1)
[2024-05-27T21:45:51+0200] [ALPM] upgraded linux-headers (6.9.1.arch1-2 -> 6.9.2.arch1-1)
[2024-05-27T21:45:51+0200] [ALPM] upgraded nautilus (46.1-1 -> 46.2-1)
[2024-05-27T21:45:51+0200] [ALPM] upgraded pcsclite (2.2.2-1 -> 2.2.3-1)
[2024-05-27T21:45:51+0200] [ALPM] upgraded pipewire-alsa (1:1.0.6-1 -> 1:1.0.7-2)
[2024-05-27T21:45:51+0200] [ALPM] upgraded python-pyqt6 (6.7.0-2 -> 6.7.0-3)
[2024-05-27T21:45:51+0200] [ALPM] upgraded qbittorrent (4.6.4-1 -> 4.6.5-1)
[2024-05-27T21:45:51+0200] [ALPM] upgraded qt6-tools (6.7.0-2 -> 6.7.1-2)
[2024-05-27T21:45:51+0200] [ALPM] upgraded vte-common (0.76.1-2 -> 0.76.2-1)
[2024-05-27T21:45:51+0200] [ALPM] upgraded vte3 (0.76.1-2 -> 0.76.2-1)
[2024-05-27T21:45:51+0200] [ALPM] upgraded vte4 (0.76.1-2 -> 0.76.2-1)
[2024-05-27T21:45:51+0200] [ALPM] transaction completed 

I now found out:

export QT_QPA_PLATFORM=XCB && kleopatra

works fine, but prints out the following errors on the console:

gpg.qgpgme: found no group for entry verbose of component "tpm2daemon"
gpg.qgpgme: found no group for entry quiet of component "tpm2daemon"
gpg.qgpgme: found no group for entry debug-level of component "tpm2daemon"
gpg.qgpgme: found no group for entry log-file of component "tpm2daemon"

And I have to press ctrl+c after quit kleopatra to return to the terminal prompt.

obviously I have to launch the program from terminal otherwise it won’t work…

So running it on x11 works for you but still prints the same stuff about not finding the tpm related stuff. I installed kleopatra on kde wayland to take a look at what is happening. It launches fine with the same tpm stuff in the terminal, so I don’t think that is important.

I believe the reason for that as I discovered by installing it on my system. Kleopatra closes to the system tray. Gnome doesn’t support a system tray. You will need an extension for it, so all apps that utilize a system tray are broken by default on gnome.

This probably also explains this line:

Were using a system tray extension before the update?

Yes, the problem is precisely this (Thanks for letting me point out: I did not understand it…) in fact if when I close the application I close it definitively (without letting it remain in the background) no longer gives me back the problem of the CTRL+C

On Vorta Borg But I had never noticed the problem as, since I backup manually, when I close it I never let him continue to work in background.

I don’t understand why it no longer work on Wailand and I have to make it work in X11. Until before the last update it worked perfectly.
I hope that Kleopatra’s development team soon resolves the problem (perhaps from the next update).
That you know is a way to change the application launcher and add the string in order not to have to open a terminal every time to start the program?

I saw some gnome dependencies got updated in your pacman.log. Maybe that had something to do with it.

1 Like

thanks … I will try to understand what goes into conflict