Bug#1120106: kleopatra: Fails to start with a file argument on GNOME
Hi intrigeri
Any chance you can try out upstream's 22b75981b4c8b4c3bed9f8bddccb5473135f9be3
to kleopatra ?
/Sune
On Wednesday, November 5, 2025 12:34:03 PM Central European Standard Time
intrigeri wrote:
> Package: kleopatra
> Version: 4:24.12.3-2
> Severity: normal
>
> Hi,
>
> Steps to reproduce
> ==================
>
> 1. create an encrypted FILE.gpg
>
> 2. Run `kleopatra FILE.gpg`
>
> What I expect
> =============
>
> The Kleopatra app opens, asks the decryption passphrases, and displays the
> decrypted file. This worked fine on Bookworm.
>
> What actually happens
> =====================
>
> The app does not start.
>
> Kleopatra's output is:
>
> QSystemTrayIcon::setVisible: No Icon set
> QDBusTrayIcon encountered a D-Bus error:
> QDBusError("org.freedesktop.DBus.Error.ServiceUnknown", "The name
> org.kde.StatusNotifierWatcher was not provided by any .service files") The
> Wayland connection experienced a fatal error: Protocol error
>
> And in the Journal I see:
>
> gnome-shell[2995]: WL: error in client communication (pid 129087)
>
> (That PID is kleopatra's.)
>
> I've reproduced this on a Tails based on Trixie and on 2 Debian sid systems,
> all running GNOME.
>
> Notes
> =====
>
> If Kleopatra is already running, this works just fine.
>
> I did a bit more research, my notes are there:
> https://gitlab.tails.boum.org/tails/tails/-/issues/21281#note_272471
>
> The SecureDrop (https://securedrop.org/) workflow for journalists, who
> receive information from whistleblowers, relies on this functionality. In
> the context of Tails we've made it smoother by adding
> a application/pgp-encrypted=org.kde.kleopatra.desktop file association.
>
>
> -- System Information:
> Debian Release: forky/sid
> APT prefers unstable
> APT policy: (990, 'unstable'), (2, 'experimental')
> Architecture: amd64 (x86_64)
>
> Kernel: Linux 6.17.6+deb14-amd64 (SMP w/12 CPU threads; PREEMPT)
> Kernel taint flags: TAINT_USER
> Locale: LANG=en_IE.UTF-8, LC_CTYPE=en_IE.UTF-8 (charmap=UTF-8),
> LANGUAGE=en_IE:en_US:en:C Shell: /bin/sh linked to /usr/bin/dash
> Init: systemd (via /run/systemd/system)
> LSM: AppArmor: enabled
>
> Versions of packages kleopatra depends on:
> ii dirmngr 2.4.8-4
> ii gnupg 2.4.8-4
> ii gpgsm 2.4.8-4
> ii kio6 6.18.0-1
> ii libassuan9 3.0.2-2
> ii libc6 2.41-12
> ii libgcc-s1 15.2.0-7
> ii libgpg-error0 1.56-2
> ii libgpgmepp6t64 1.24.2-3
> ii libkf6codecs6 6.18.0-1
> ii libkf6colorscheme6 6.18.0-1
> ii libkf6configcore6 6.18.0-1
> ii libkf6configgui6 6.18.0-1
> ii libkf6configwidgets6 6.18.0-1
> ii libkf6coreaddons6 6.18.0-2
> ii libkf6crash6 6.18.0-1
> ii libkf6dbusaddons6 6.18.0-1
> ii libkf6guiaddons6 6.18.0-1
> ii libkf6i18n6 6.18.0-1
> ii libkf6iconwidgets6 6.18.0-1
> ii libkf6itemmodels6 6.18.0-1
> ii libkf6kiocore6 6.18.0-1
> ii libkf6statusnotifieritem6 6.18.0-1
> ii libkf6widgetsaddons6 6.18.0-1
> ii libkf6windowsystem6 6.18.0-1
> ii libkf6xmlgui6 6.18.0-1
> ii libkpim6akonadimime6 [libkpim6akonadimime6-24.12]
> 4:24.12.3-1 ii libkpim6identitymanagementcore6
> [libkpim6identitymanagementco 24.12.3-1 re6-24.12]
> ii libkpim6libkleo6 [libkpim6libkleo6-24.12]
> 4:24.12.3-3 ii libkpim6mailtransport6 [libkpim6mailtransport6-24.12]
> 24.12.3-2 ii libkpim6mime6 [libkpim6mime6-24.12]
> 24.12.3-1 ii libkpim6mimetreeparserwidgets6
> [libkpim6mimetreeparserwidgets 24.12.3-1 6-24.12]
> ii libqgpgmeqt6-15 1.24.2-3
> ii libqt6core6t64
> 6.9.2+dfsg-3 ii libqt6dbus6
> 6.9.2+dfsg-3 ii libqt6gui6
> 6.9.2+dfsg-3 ii libqt6network6
> 6.9.2+dfsg-3 ii libqt6printsupport6
> 6.9.2+dfsg-3 ii libqt6widgets6
> 6.9.2+dfsg-3 ii libstdc++6
> 15.2.0-7 ii paperkey
> 1.6-1 ii pinentry-gnome3 [pinentry-x11]
> 1.3.2-3
>
> Versions of packages kleopatra recommends:
> ii breeze-icon-theme 4:5.116.0-1
>
> kleopatra suggests no packages.
>
> -- no debconf information
--
I didn’t stop pretending when I became an adult, it’s just that when I was a
kid I was pretending that I fit into the rules and structures of this world.
And now that I’m an adult, I pretend that those rules and structures exist.
- zefrank
Reply to: