Closed Bug 1594511 Opened 6 years ago Closed 6 years ago

[Wayland] Firefox does not launch using MOZ_ENABLE_WAYLAND=1

Categories

(Core :: Widget: Gtk, defect)

72 Branch
defect
Not set
normal

Tracking

()

RESOLVED INVALID

People

(Reporter: pfmoz, Unassigned)

Details

Attachments

(1 file)

User Agent: Mozilla/5.0 (X11; Linux x86_64; rv:72.0) Gecko/20100101 Firefox/72.0

Steps to reproduce:

  1. fresh installation of arch linux
  2. install sway
  3. install firefox-nightly from AUR
  4. start firefox using "MOZ_ENABLE_WAYLAND=1 firefox-nightly"

I also tried using firefox/firefox-developer-edition from the arch repository.
The output of "WAYLAND_DEBUG=1 MOZ_ENABLE_WAYLAND=1 firefox-nightly" is attached.

Actual results:

It hangs. No errors and no window opening.

Expected results:

Firefox should launch.

Bugbug thinks this bug should belong to this component, but please revert this change in case of error.

Component: Untriaged → Widget: Gtk
Product: Firefox → Core

Figured it out. Sway by default sets $DISPLAY [0]
If both DISPLAY and MOZ_ENABLE_WAYLAND are set, Firefox seems to try to launch using X and gets stuck if no X/Xwayland is installed.

[0] https://www.mankier.com/1/sway#Environment

Status: UNCONFIRMED → RESOLVED
Closed: 6 years ago
Resolution: --- → INVALID
You need to log in before you can comment on or make changes to this bug.

Attachment

General

Creator:
Created:
Updated:
Size: