Segmentation Fault with apps under Gnome and Wayland
Posted in linux on November 29, 2016 by Adrian Wyssmann ‐ 1 min read
When running Arch Linux you know that Wayland is now the default compositor with Gnome. This causes some problems for certain applications. Most of the Gnome-Apps are supported but other applications may fail with an error similar to the one below
[[email protected] ~]$ <application> (<application>:6040): Gdk-WARNING **: gdkwindow-x11.c:5235 drawable is not a native X11 window Segmentation fault (core dumped)
It seems not all apps are yet ready to run with wayland so you may try to solve this problem by forcing the application to use x11 backend instead
[[email protected] ~]$ GDK_BACKEND=x11 <application>
That did it for me. You may also use X11 instead of wayland by selecting the session “Gnome on Xorg” when logging in.