Bug 494710 - kleopatra flatpaks not working on fedora silverblue
Summary: kleopatra flatpaks not working on fedora silverblue
Status: RESOLVED DUPLICATE of bug 488090
Alias: None
Product: kleopatra
Classification: Applications
Component: general (show other bugs)
Version: 3.2.0.240802
Platform: Flatpak Linux
: NOR grave
Target Milestone: ---
Assignee: Ingo Klöcker
URL:
Keywords: wayland-only
Depends on:
Blocks:
 
Reported: 2024-10-14 01:27 UTC by universish
Modified: 2024-10-31 15:17 UTC (History)
5 users (show)

See Also:
Latest Commit:
Version Fixed In:
Sentry Crash Report:


Attachments

Note You need to log in before you can comment on or make changes to this bug.
Description universish 2024-10-14 01:27:59 UTC
kleopatra flatpaks not working on fedora silverblue. fedora flatpak (registry.fedoraproject.org repo) and flathub flatpak not working on fedora silverblue
Comment 1 Ingo Klöcker 2024-10-14 20:30:25 UTC
This might be a duplicate of bug 493927 because on Tumbleweed with KDE Plasma X11 the flatpak of Kleopatra works (i.e. it starts and shows all certificates in my keyring).

What do you see when you start the flatpak from a terminal (e.g. Konsole) by running
```
flatpak run org.kde.kleopatra
```
?
Comment 2 universish 2024-10-15 23:27:14 UTC
macellan@fedora:~$ flatpak run org.kde.kleopatra
libEGL warning: wayland-egl: could not open /dev/dri/renderD128 (Böyle bir dosya ya da dizin yok)
QDBusTrayIcon encountered a D-Bus error: QDBusError("org.freedesktop.DBus.Error.ServiceUnknown", "The name is not activatable")
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: İletişim kurallarında hata

_____________________________________________________________________
translate:
macellan@fedora:~$ flatpak run org.kde.kleopatra
libEGL warning: wayland-egl: could not open /dev/dri/renderD128 (No such file or directory)
QDBusTrayIcon encountered a D-Bus error: QDBusError("org.freedesktop.DBus.Error.ServiceUnknown", "The name is not activatable")
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: Error in protocols
Comment 3 universish 2024-10-15 23:30:45 UTC
macellan@fedora:~$ flatpak info org.kde.kleopatra

Kleopatra - Sertifika Yöneticisi ve Birleşik Şifreleme Arayüzü

        Kimlik: org.kde.kleopatra
           Ref: app/org.kde.kleopatra/x86_64/stable
        Mimari: x86_64
           Dal: stable
         Sürüm: 3.2.0.240802
        Lisans: GPL-2.0+
         Köken: fedora
    Koleksiyon: 
       Kurulum: system
        Kurulu: 47,3 MB
Çalışma ortamı: org.fedoraproject.KDE6Platform/x86_64/f41
           Sdk: org.fedoraproject.KDE6Sdk/x86_64/f41

        İşleme: 3b9f157489422096beefa18d469164f93404a4b8de226b0d79e81b3631c177f4
          Konu: Export org.kde.kleopatra
         Tarih: 2024-10-13 03:27:13 +0000
    Alt-kimlik: d7901b43954d6c47cbe56955165bf376934442137f4b16cc8772ce871674d1d6
Comment 4 universish 2024-10-15 23:35:12 UTC
flathub's kleopatra:
macellan@fedora:~$ echo $XDG_SESSION_TYPE
wayland
macellan@fedora:~$ flatpak run org.kde.kleopatra
QDBusTrayIcon encountered a D-Bus error: QDBusError("org.freedesktop.DBus.Error.ServiceUnknown", "The name is not activatable")
The Wayland connection experienced a fatal error: İletişim kurallarında hata
macellan@fedora:~$ flatpak run org.kde.kleopatra
QDBusTrayIcon encountered a D-Bus error: QDBusError("org.freedesktop.DBus.Error.ServiceUnknown", "The name is not activatable")
The Wayland connection experienced a fatal error: İletişim kurallarında hata
macellan@fedora:~$ flatpak info org.kde.kleopatra

Kleopatra - Sertifika Yöneticisi ve Birleşik Şifreleme Arayüzü

        Kimlik: org.kde.kleopatra
           Ref: app/org.kde.kleopatra/x86_64/stable
        Mimari: x86_64
           Dal: stable
         Sürüm: 3.2.0.240802
        Lisans: GPL-2.0+
         Köken: flathub
    Koleksiyon: org.flathub.Stable
       Kurulum: system
        Kurulu: 172,5 MB
Çalışma ortamı: org.kde.Platform/x86_64/6.7
           Sdk: org.kde.Sdk/x86_64/6.7

        İşleme: 3b51d871a59a32df9bff7aa777deeac9a8c553f279709ea20c1f6cd042b20c4a
           Üst: b6461b0cfe1c6f53bb7dad63ac799d0e00c9a7dcf51566509633b43bdc6232a6
          Konu: Update kpimtextedit, libkleo, kmime, kmbox and 2 more modules (ee75a63b)
         Tarih: 2024-10-10 22:50:41 +0000
macellan@fedora:~$ echo $XDG_SESSION_TYPE
wayland
Comment 5 universish 2024-10-15 23:36:25 UTC
(In reply to universish from comment #2)
fedora flatpaks repo(registry.fedoraproject.org)'s kleopatra:
> macellan@fedora:~$ flatpak run org.kde.kleopatra
> libEGL warning: wayland-egl: could not open /dev/dri/renderD128 (Böyle bir
> dosya ya da dizin yok)
> QDBusTrayIcon encountered a D-Bus error:
> QDBusError("org.freedesktop.DBus.Error.ServiceUnknown", "The name is not
> activatable")
> 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: İletişim kurallarında hata
> 
> _____________________________________________________________________
> translate:
> macellan@fedora:~$ flatpak run org.kde.kleopatra
> libEGL warning: wayland-egl: could not open /dev/dri/renderD128 (No such
> file or directory)
> QDBusTrayIcon encountered a D-Bus error:
> QDBusError("org.freedesktop.DBus.Error.ServiceUnknown", "The name is not
> activatable")
> 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: Error in protocols
Comment 6 universish 2024-10-15 23:46:47 UTC
flathub repo's flatpak kleopatra:
macellan@fedora:~$ flatpak run org.kde.kleopatra
QDBusTrayIcon encountered a D-Bus error: QDBusError("org.freedesktop.DBus.Error.ServiceUnknown", "The name is not activatable")
The Wayland connection experienced a fatal error: İletişim kurallarında hata
macellan@fedora:~$ journalctl -xe
Eki 16 02:44:31 fedora one.ablaze.floorp.desktop[5373]: Extension error: [Exception... "Component returned failure code: 0x80070057 (NS_ERROR_ILLEGAL_VALUE) [nsIDOMWindowUtils.addSheet]"  nsresult: "0x80070057 (NS_ERROR_ILLEG>
Eki 16 02:44:31 fedora one.ablaze.floorp.desktop[5373]: [[Exception stack
Eki 16 02:44:31 fedora one.ablaze.floorp.desktop[5373]: runSafeSyncWithoutClone@resource://gre/modules/ExtensionCommon.sys.mjs:61:12
Eki 16 02:44:31 fedora one.ablaze.floorp.desktop[5373]: inject/cssPromise<@resource://gre/modules/ExtensionContent.sys.mjs:594:36
Eki 16 02:44:31 fedora one.ablaze.floorp.desktop[5373]: Current stack
Eki 16 02:44:31 fedora one.ablaze.floorp.desktop[5373]: runSafeSyncWithoutClone@resource://gre/modules/ExtensionCommon.sys.mjs:72:37
Eki 16 02:44:31 fedora one.ablaze.floorp.desktop[5373]: inject/cssPromise<@resource://gre/modules/ExtensionContent.sys.mjs:594:36
Eki 16 02:44:31 fedora one.ablaze.floorp.desktop[5373]: ]]
Eki 16 02:44:46 fedora systemd[2089]: Started app-flatpak-org.kde.kleopatra-7479.scope.
░░ Subject: A start job for unit UNIT has finished successfully
░░ Defined-By: systemd
░░ Support: https://lists.freedesktop.org/mailman/listinfo/systemd-devel
░░ 
░░ A start job for unit UNIT has finished successfully.
░░ 
░░ The job identifier is 932.
Eki 16 02:44:51 fedora gnome-shell[2305]: WL: error in client communication (pid 7496)
Eki 16 02:44:51 fedora systemd[2089]: app-flatpak-org.kde.kleopatra-7479.scope: Consumed 3.649s CPU time.
░░ Subject: Resources consumed by unit runtime
░░ Defined-By: systemd
░░ Support: https://lists.freedesktop.org/mailman/listinfo/systemd-devel
░░ 
░░ The unit UNIT completed and consumed the indicated resources.
Comment 7 Ingo Klöcker 2024-10-16 20:34:33 UTC
Thanks for the feedback! It looks like it's indeed a problem with wayland.
Comment 8 universish 2024-10-17 00:31:40 UTC
I also have this problem with the k-gpg application. fedora 40 workstation, on my pc OS the application does not work whether I install it as flatpak or rpm. The problem was again caused by wayland. More precisely the wayland incompatibility of kde applications.
I will start a new thread about k-gpg, but I will not give feedback in that thread. I know that wayland is the source of the problem, because I get the same errors when I run k-gpg from the terminal. I will use this thread as a reference.
Comment 9 universish 2024-10-17 01:22:30 UTC
Today I installed it on my PV with Fedora 40 workstation OS. First I installed Cleopatra as rpm.
sudo dnf install kleopatra 
Then I ran it from terminal:
macellan@fedora:~$ kleopatra
QDBusTrayIcon encountered a D-Bus error: QDBusError("org.freedesktop.DBus.Error.ServiceUnknown", "The name is not activatable")
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: İletişim kurallarında hata

translate:
The Wayland connection experienced a fatal error: Error in protocols

macellan@fedora:~$ kleopatra -v
kleopatra 3.2.0.240802 (24.08.2)

macellan@fedora:~$ lsb_release -a
LSB Version:	
Distributor ID:	Fedora
Description:	Fedora release 40 (Forty)
Release:	40
Codename:	Forty

uninstall kleopatra fedora rpm package:
sudo dnf remove kleopatra

fedora's flatpak repo (registry.fedoraproject.org):
macellan@fedora:~$ flatpak install fedora org.kde.kleopatra
Eşleşmeler aranıyor…
Atlanıyor: org.kde.kleopatra/x86_64/stable zaten kurulu

translate:
macellan@fedora:~$ flatpak install fedora org.kde.kleopatra
Searching for matches…
Skipping: org.kde.kleopatra/x86_64/stable already installed

install fedora's flatpak repo kleopatra flatpak package:
flatpak install fedora org.kde.kleopatra

macellan@fedora:~$ flatpak install fedora org.kde.kleopatra
Eşleşmeler aranıyor…

org.kde.kleopatra izinler:
    ipc       network               fallback-x11          wayland
    x11       file access [1]       dbus access [2]

    [1] xdg-config/kdeglobals:ro, xdg-run/gnupg:ro, ~/.gnupg:create
    [2] org.kde.KGlobalSettings, org.kde.StatusNotifierWatcher,
        org.kde.kconfig.notify


        KİMLİK                Dal        İş     Uzak       İndir
 1. [✓] org.kde.kleopatra     stable     i      fedora     16,5 MB / 16,5 MB

Kurulum tamamlandı.
macellan@fedora:~$ flatpak info org.kde.kleopatra

Kleopatra - Sertifika Yöneticisi ve Birleşik Şifreleme Arayüzü

        Kimlik: org.kde.kleopatra
           Ref: app/org.kde.kleopatra/x86_64/stable
        Mimari: x86_64
           Dal: stable
         Sürüm: 3.2.0.240802
        Lisans: GPL-2.0+
         Köken: fedora
    Koleksiyon: 
       Kurulum: system
        Kurulu: 47,3 MB
Çalışma ortamı: org.fedoraproject.KDE6Platform/x86_64/f41
           Sdk: org.fedoraproject.KDE6Sdk/x86_64/f41

        İşleme: 3b9f157489422096beefa18d469164f93404a4b8de226b0d79e81b3631c177f4
          Konu: Export org.kde.kleopatra
         Tarih: 2024-10-13 03:27:13 +0000
    Alt-kimlik: d7901b43954d6c47cbe56955165bf376934442137f4b16cc8772ce871674d1d6

Run:
macellan@fedora:~$ flatpak run org.kde.kleopatra
libEGL warning: wayland-egl: could not open /dev/dri/renderD128 (Böyle bir dosya ya da dizin yok)
QDBusTrayIcon encountered a D-Bus error: QDBusError("org.freedesktop.DBus.Error.ServiceUnknown", "The name is not activatable")
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: İletişim kurallarında hata

translate:
macellan@fedora:~$ flatpak run org.kde.kleopatra
libEGL warning: wayland-egl: could not open /dev/dri/renderD128 (No such file or directory)
QDBusTrayIcon encountered a D-Bus error: QDBusError("org.freedesktop.DBus.Error.ServiceUnknown", "The name is not activatable")
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: Error in protocols

uninstall kleopatra fedora flatpak package:
flatpak uninstall org.kde.kleopatra

install kleopatra flathub's repo flatpak package:
flatpak install flathub org.kde.kleopatra

macellan@fedora:~$ flatpak install flathub org.kde.kleopatra
Eşleşmeler aranıyor…

org.kde.kleopatra izinler:
    ipc       network       fallback-x11          wayland
    x11       dri           file access [1]       dbus access [2]

    [1] xdg-config/kdeglobals:ro, xdg-run/gnupg:ro, ~/.gnupg:create
    [2] com.canonical.AppMenu.Registrar, org.kde.KGlobalSettings,
        org.kde.StatusNotifierWatcher, org.kde.kconfig.notify


        KİMLİK                            Dal    İş Uzak    İndir
 1. [✓] org.freedesktop.Platform.openh264 2.2.0  i  flathub 886,7 kB / 944,3 kB
 2. [✓] org.kde.kleopatra.Locale          stable i  flathub 124,2 kB / 3,8 MB
 3. [✓] org.kde.kleopatra                 stable i  flathub  21,0 MB / 32,3 MB

Kurulum tamamlandı.

macellan@fedora:~$ flatpak info org.kde.kleopatra

Kleopatra - Sertifika Yöneticisi ve Birleşik Şifreleme Arayüzü

        Kimlik: org.kde.kleopatra
           Ref: app/org.kde.kleopatra/x86_64/stable
        Mimari: x86_64
           Dal: stable
         Sürüm: 3.2.0.240802
        Lisans: GPL-2.0+
         Köken: flathub
    Koleksiyon: org.flathub.Stable
       Kurulum: system
        Kurulu: 172,5 MB
Çalışma ortamı: org.kde.Platform/x86_64/6.7
           Sdk: org.kde.Sdk/x86_64/6.7

        İşleme: 3b51d871a59a32df9bff7aa777deeac9a8c553f279709ea20c1f6cd042b20c4a
           Üst: b6461b0cfe1c6f53bb7dad63ac799d0e00c9a7dcf51566509633b43bdc6232a6
          Konu: Update kpimtextedit, libkleo, kmime, kmbox and 2 more modules (ee75a63b)
         Tarih: 2024-10-10 22:50:41 +0000


macellan@fedora:~$ flatpak run org.kde.kleopatra
QDBusTrayIcon encountered a D-Bus error: QDBusError("org.freedesktop.DBus.Error.ServiceUnknown", "The name is not activatable")
The Wayland connection experienced a fatal error: İletişim kurallarında hata

translate:
macellan@fedora:~$ flatpak run org.kde.kleopatra
QDBusTrayIcon encountered a D-Bus error: QDBusError("org.freedesktop.DBus.Error.ServiceUnknown", "The name is not activatable")
The Wayland connection experienced a fatal error: Error in protocols

uninstall:
macellan@fedora:~$ flatpak uninstall org.kde.kleopatra


        KİMLİK                          Dal           İş
 1. [-] org.kde.kleopatra               stable        r
 2. [-] org.kde.kleopatra.Locale        stable        r

Kaldırma işlemi tamamlandı.

macellan@fedora:~$ flatpak info org.kde.kleopatra
hata: org.kde.kleopatra/*unspecified*/*unspecified* kurulu değil

translate:
macellan@fedora:~$ flatpak info org.kde.kleopatra
hata: org.kde.kleopatra/*unspecified*/*unspecified* not installed
Comment 10 universish 2024-10-17 01:23:52 UTC
Correction. Not “my PV”. Honestly: “my PC”
Comment 11 universish 2024-10-20 00:33:33 UTC
macellan@fedora:~$ echo $XDG_SESSION_TYPE
wayland

macellan@fedora:~$ echo $DESKTOP_SESSION
gnome

macellan@fedora:~$ gnome-shell --version
GNOME Shell 46.5

macellan@fedora:~$ lsb_release -a
LSB Version:	:core-5.0-amd64:core-5.0-noarch
Distributor ID:	Fedora
Description:	Fedora release 40 (Forty)
Release:	40
Codename:	Forty
Comment 12 universish 2024-10-20 00:34:24 UTC
Correction. Not “Cleopatra”.sorry. Honestly: “Kleopatra”
Comment 13 universish 2024-10-20 00:51:44 UTC
I also experienced this problem in kde plasma wayland desktop environment.
Comment 14 Tobias Fella 2024-10-31 15:17:59 UTC

*** This bug has been marked as a duplicate of bug 488090 ***