Error when running Kleopatra flatpak from Flathub

When I try to run kleopatra I get his error.

flatpak run org.kde.kleopatra
libEGL warning: wayland-egl: could not open /dev/dri/renderD128 (No such file or directory)
kf.dbusaddons: Couldn’t register name ‘local.kleopatra’ with DBUS - another process owns it already!

Operating system: Fedora Kinoite 38
Flatpak version: 1.15.4
Flatpak remotes: fedora , flathub

I earlier had Kleopatra installed from the fedora remote. It worked fine. Then I uninstalled it. After that I installed Kleopatra from flathub. Now it does not open.

Try running sealtert -b.
It (should) brings up the SELinux alert browser that shows when SELinux has blocked / denied something.
Reason is that on my mashine I get quite a few SELinux denials on renderD128 aswell.

Might give you more info on the issue.

I was able to get Kleopatra to open

  • I installed Flatseal
  • I enabled D-Bus session bus in Flatseal for Kleopatra. I was able to open Kleopatra. The error shown below went away.

kf.dbusaddons: Couldn’t register name ‘local.kleopatra’ with DBUS - another process owns it already!

  • Then I enabled GPU acceleration in Flatseal for Kleopatra. The other error shown below went away.

libEGL warning: wayland-egl: could not open /dev/dri/renderD128 (No such file or directory)

1 Like

There are differences in the permissions asked for installing Kleopatra from Fedora remote & Flathub remote.

  • For Fedora remote
    org.kde.kleopatra permissions:
    ipc network fallback-x11 wayland x11
    file access [1] dbus access [2]

    [1] xdg-run/gnupg:ro, ~/.gnupg:create
    [2] org.kde.StatusNotifierWatcher

      ID                                     Branch         Op         Remote         Download
    
  1. org.fedoraproject.KDE5Platform         f38            i          fedora         < 1.2 GB
    
  2. org.kde.kleopatra                      stable         i          fedora         < 7.1 MB
    
  • For Flathub remote
    org.kde.kleopatra permissions:
    ipc network fallback-x11 wayland x11
    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

      ID                                Branch          Op          Remote           Download
    
  1. org.kde.kleopatra.Locale          stable          i           flathub           < 2.9 MB (partial)
    
  2. org.kde.kleopatra                 stable          i           flathub          < 28.9 MB
    

Please report it to the Flathub package GitHub - flathub/org.kde.kleopatra