Flatpak not working with Wayland
See original GitHub issueDescribe the bug
When running Cinny as a Flatpak on a desktop running under Wayland (instead of X11), Cinny instantly crashes, with the following line of system log:
segfault at e0 ip 00007f5934a9b144 sp 00007f593094e6b8 error 4 in libX11.so.6.4.0[7f5934a82000+94000]
Reproduction
- Run a Fedora 36 GNOME session with Wayland (which is the case per default with the default Fedora 36 flavor)
- Install Cinny as a Flatpak
- Try to start Cinny
At this point, Cinny does not start, and running journalctl -b | grep -i cinny
I can find:
segfault at e0 ip 00007f5934a9b144 sp 00007f593094e6b8 error 4 in libX11.so.6.4.0[7f5934a82000+94000]
Expected behavior
Cinny should start without crashing.
Platform and versions
1. OS: Fedora 36, GNOME, Wayland
2. Browser: N/A (using the desktop version as a Flatpal)
3. Cinny: v2.0.3
4. Homeserver: private
Additional context
This problem does not appear with running GNOME with X11.
Issue Analytics
- State:
- Created a year ago
- Reactions:1
- Comments:6
Top Results From Across the Web
How can I force Flatpak apps to run on Wayland? : r/Fedora
You can use command flatpak run --socket=wayland <your app name> to run the app, or you can download Flatseal and set the app...
Read more >On GNOME-Wayland, a lot of Flatpak applications don't start ...
As long as XWayland is not running, these applications-Flatpak don't start. As soon as XWayland is running, these applications-Flatpak can be ...
Read more >1665817 - [Flatpak] Enable native Wayland - Bugzilla@Mozilla
It should be opened in a native Wayland window. I made a post about enabling native Wayland in Firefox Flatpak: https://www.reddit.com/r/LinuxCafe/duplicates/ ...
Read more >Flatpak - Gentoo Wiki
Flatpak is a package management framework aiming to provide ... 6 Flatpaked GTK apps under Wayland and jagged fonts; 7 Troubleshooting.
Read more >Fixing the "Unable to open a connection to X" Flatpak Steam ...
a tip to may fix # Flatpak #Steam not starting on #GNOME Wayland BG Music Digimon OST - Pre Battle. Show less Show...
Read more >Top Related Medium Post
No results found
Top Related StackOverflow Question
No results found
Troubleshoot Live Code
Lightrun enables developers to add logs, metrics and snapshots to live code - no restarts or redeploys required.
Start FreeTop Related Reddit Thread
No results found
Top Related Hackernoon Post
No results found
Top Related Tweet
No results found
Top Related Dev.to Post
No results found
Top Related Hashnode Post
No results found
Top GitHub Comments
should be fixed in 2.2.0
Workaround is to disable the
fallback-x11
socket and enable thex11
socket. If you want to do it using a graphical client, this can be done using Flatseal:However it would be the best if Cinny supports Wayland - and does not have to run through XWayland.
Until that does not happen, the sockets in the Manifest should probably be updated and pass x11 directly (instead of fallback-x11). Pinging @kfiven here 😃