Arch Linux

Please read this before reporting a bug:

Do NOT report bugs when a package is just outdated, or it is in the AUR. Use the 'flag out of date' link on the package page, or the Mailing List.

REPEAT: Do NOT report bugs for outdated packages!

FS#70851 - [gnome-shell] 1:40.1 XWayland applications fail to start

Attached to Project: Arch Linux
Opened by Rose Kunkel (rosekunkel) - Friday, 14 May 2021, 05:50 GMT
Last edited by Jan Alexander Steffens (heftig) - Tuesday, 18 May 2021, 22:08 GMT
Task Type Bug Report
Category Packages: Extra
Status Closed
Assigned To Jan Alexander Steffens (heftig)
Architecture All
Severity High
Priority Normal
Reported Version
Due in Version Undecided
Due Date Undecided
Percent Complete 100%
Votes 2
Private No


When attempting to run an X application in GNOME on Wayland, the application fails to start and hangs indefinitely.

This affects Firefox, Chrome, Emacs etc. Firefox launches and functions normally when run with GDK_BACKEND=wayland. Downgrading to a snapshot from May 10 fixes the issue.

Additional info:

Running an XWayland app under strace shows it hangs trying to connect to /tmp/.X11-unix/X0.

journalctl shows this message:
gnome-shell[1293]: Failed to init X11 display: Unknown error

Steps to reproduce:
Launch gnome-shell from a tty with `dbus-run-session gnome-session`. (Probably other ways of starting GNOME work too.)
Attempt to open any X-only program (e.g. Emacs).

This task depends upon

Closed by  Jan Alexander Steffens (heftig)
Tuesday, 18 May 2021, 22:08 GMT
Reason for closing:  Fixed
Additional comments about closing:  gnome-shell 40.1-2
Comment by Rose Kunkel (rosekunkel) - Friday, 14 May 2021, 06:31 GMT
I've now upgraded my whole system except for gnome-shell, which I kept at version 1:40.0-1, and the issue did not reappear, so I can confirm that this is an issue with gnome-shell 1:40.1-1 specifically.
Comment by Water Wastage. (WaterWastage) - Friday, 14 May 2021, 09:15 GMT
I can confirm the same. Also, gnome-shell --wayland to reproduce on archiso
Comment by Ilmar (ilmar) - Friday, 14 May 2021, 17:52 GMT Comment by Rose Kunkel (rosekunkel) - Saturday, 15 May 2021, 06:35 GMT Comment by Jan Alexander Steffens (heftig) - Tuesday, 18 May 2021, 15:58 GMT
Please try 40.1-2
Comment by Rose Kunkel (rosekunkel) - Tuesday, 18 May 2021, 22:01 GMT
40.1-2 fixed the problem for me. Thanks!