Open Bug 1918233 Opened 26 days ago Updated 12 days ago

[Flatpak] Error: we don't have any display, WAYLAND_DISPLAY='/run/flatpak/wayland-0' DISPLAY='(null)'

Categories

(Core :: Widget: Gtk, defect, P3)

Firefox 130
defect

Tracking

()

UNCONFIRMED

People

(Reporter: ahmetkaangumus, Unassigned, NeedInfo)

References

(Blocks 2 open bugs)

Details

Attachments

(1 file)

Attached video 2024-09-11 21-41-43.mp4

Steps to reproduce:

Try to open couple of Firefox

Actual results:

After couple try it refuses to start

Expected results:

It must start

The Bugbug bot thinks this bug should belong to the 'Core::Widget: Gtk' component, and is moving the bug to that component. Please correct in case you think the bot is wrong.

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

My System Is
10750H
1660Ti Proprietary Driver
Fedora 40 KDE Plasma Wayland

I see you're running flatpak. Can you try with plain Mozilla binaries?
https://fedoraproject.org/wiki/How_to_debug_Firefox_problems?rd=Bug_info_Firefox#Testing_Mozilla_binaries
Thanks.

Flags: needinfo?(Kamuflaj)

Also can you try to run the flatpak version with MOZ_LOG="WidgetWayland:5" env variable and attach the log here when it fails?
Thanks.

Blocks: wayland
Priority: -- → P3

(In reply to Martin Stránský [:stransky] (ni? me) from comment #4)

Also can you try to run the flatpak version with MOZ_LOG="WidgetWayland:5" env variable and attach the log here when it fails?
Thanks.

Can you share whole command. I've been trying to export log file but couldn't do it.

Flags: needinfo?(kamuflaj)

(In reply to Martin Stránský [:stransky] (ni? me) from comment #3)

I see you're running flatpak. Can you try with plain Mozilla binaries?
https://fedoraproject.org/wiki/How_to_debug_Firefox_problems?rd=Bug_info_Firefox#Testing_Mozilla_binaries
Thanks.

Seems like there is no problem with normal Fedora binary.

Blocks: flatpak
Summary: Error: we don't have any display, WAYLAND_DISPLAY='/run/flatpak/wayland-0' DISPLAY='(null)' → [Flatpak] Error: we don't have any display, WAYLAND_DISPLAY='/run/flatpak/wayland-0' DISPLAY='(null)'

(In reply to Ahmet Kaan Gümüş from comment #5)

(In reply to Martin Stránský [:stransky] (ni? me) from comment #4)

Also can you try to run the flatpak version with MOZ_LOG="WidgetWayland:5" env variable and attach the log here when it fails?
Thanks.

Can you share whole command. I've been trying to export log file but couldn't do it.

it should be something like:

flatpak run --env=MOZ_LOG="WidgetWayland:5" org.mozilla.firefox

(In reply to Martin Stránský [:stransky] (ni? me) from comment #7)

(In reply to Ahmet Kaan Gümüş from comment #5)

(In reply to Martin Stránský [:stransky] (ni? me) from comment #4)

Also can you try to run the flatpak version with MOZ_LOG="WidgetWayland:5" env variable and attach the log here when it fails?
Thanks.

Can you share whole command. I've been trying to export log file but couldn't do it.

it should be something like:

flatpak run --env=MOZ_LOG="WidgetWayland:5" org.mozilla.firefox

It's a bit strange but if I start with this command error is not happening.

I see you already run 'flatpak run org.mozilla.firefox' so adding the log does the difference here? That's weird.

$ flatpak run --env=MOZ_LOG="WidgetWayland:5" org.mozilla.firefox
[2] WaylandProxy [0x7ebc9ca99120]: Created().
[2] WaylandProxy [0x7ebc9ca99120]: Init()
[2] WaylandProxy [0x7ebc9ca99120]: SetupWaylandDisplays() Wayland '/run/user/1000/wayland-0' proxy '/run/user/1000/wayland-proxy-2'
[2] Wayland Proxy [0x7ebc9ca99120] Error: StartProxyServer(): bind() error : La dirección ya se está usando
[2] WaylandProxy [0x7ebc9ca99120]: Init failed, exiting.
[2] WaylandProxy [0x7ebc9ca99120]: terminated
[2] WaylandProxy [0x7ebc9ca99120]: RestoreWaylandDisplay() WAYLAND_DISPLAY restored to wayland-0

Thanks!

Does it help if you run it with --env=MOZ_DISABLE_WAYLAND_PROXY=1 param?

Flags: needinfo?(ahmetkaangumus)
Flags: needinfo?(vicentehc)
You need to log in before you can comment on or make changes to this bug.

Attachment

General

Created:
Updated:
Size: