Open scruss opened 3 years ago
See https://discourse.ubuntu.com/t/gtk-backend-selection-or-why-gtk-cannot-open-display-0/17657
GTK/GDK do support Wayland but Allegro, which b-em depends on, does not. If GDK_BACKEND is not set at all b-em would use x11 (i.e. Xwayland under wayland) whereas most apps that do support wayland would use it. It looks like someone has set GDK_BACKEND=wayland to force wayland but that cause an app that doesn't support wayland to refuse to start.
Thanks, Steve - but it doesn't leave me any the wiser. GDK_BACKEND is unset, and Xwayland is not being started/used. The only way I can get b-em to start is to explicitly set GDK_BACKEND=x11
latest build from github:
workaround:
Ubuntu 21.04 has gone fully for Wayland, so X11 isn't really there any more.