saturneric / GpgFrontend

A free, open-source, robust yet user-friendly, compact and cross-platform tool for OpenPGP encryption. It stands out as an exceptional GUI frontend for the modern GnuPG (gpg).
https://gpgfrontend.bktus.com
GNU General Public License v3.0
448 stars 43 forks source link

GUI fails to launch on fedora 40 workstation and silverblue #157

Open Hxs2fJKjYZ opened 3 weeks ago

Hxs2fJKjYZ commented 3 weeks ago

I recently installed gpgfrontend flatpak on fedora 40 workstation and silverblue, but when I try to launch it, it shows as running in the background on Gnome, but the GUI doesn't launch. I have the same problem with the appimage version, both 2.1.3. I tried version 2.1.2 appimage and that one seems to launch without any issues. This is a screenshot of the flatpak version run in terminal: Screenshot from 2024-06-14 15-01-04

Any help would be appreciated.

saturneric commented 3 weeks ago

You can try option -l trace or -l debug, and then more information will show.

danruggi commented 3 weeks ago

Same here, fedora 40, fresh install

image

Hxs2fJKjYZ commented 3 weeks ago

I don't know if it will help or not, but here is the output from running the appimage QT5 and QT6 version

Screenshot from 2024-06-15 08-15-30

saturneric commented 2 weeks ago

I remember an anonymous user mentioning something to me, he said it was wayland having some issues with the flatpak environment again. I don't know if this is related, you guys could try disabling wayland and then theoretically the app will fallbak to x11 mode, if that works.

saturneric commented 2 weeks ago

Found something here: https://github.com/Ultimaker/Cura/issues/12776#issuecomment-1200127332

It appears that you can try this command for launch: GDK_BACKEND=x11 LD_PRELOAD=/usr/lib64/libstdc++.so.6 ./GpgFrontend.AppImage

Hxs2fJKjYZ commented 1 day ago

I got the flatpak version working. I disabled "Wayland windowing system" permission via flatseal, and it seems to work fine, although I haven't fully tested it yet. Screenshot from 2024-07-05 11-18-02

Thanks to saturneric's comment.