mojira.dev
MCL-13238

[Linux] Cannot start launcher with native Wayland

Hi, I can't get Minecraft launcher to launch. When run it throws this error:

[0222/084727.921449:ERROR:browser_main_loop.cc(1711)] Unable to open X display.

Trace/breakpoint trap (core dumped)

I am running Wayland which is why it cannot find a X server. Is there any way to get the launcher running natively in wayland?

Linked issues

Comments 5

go for reinstallation. if you tried to modify some files it might be broken

@ObjectiveAuto93 I haven't modified any files. I have tried reinstalling the launcher but the error persists

Moved to the MCL (Minecraft Launcher) project.

libcef.so is a pure X11 library. It won't run on a wayland native system (like mine and yours). I submitted another bug report (MCL-13763). It's also a feature request.

Hello, the Launcher Team unfortunately has no plans to spend on adding support for Wayland. We rely on our dependency CEF to know best how to operate with window managers/systems. In this case, CEF does not support Wayland.

There is an open PR to add better Wayland support to CEF, alas it seems to not have had a lot of activity lately. Once this has been released by CEF as functioning we might consider it.
https://bitbucket.org/chromiumembedded/cef/pull-requests/288/wip-add-better-ozone-wayland-x11-support/

migrated

(Unassigned)

Unconfirmed

linux, wayland

Retrieved