Skip to content

Missing X server or $DISPLAY when running google-chrome #33

@M-sleeper

Description

@M-sleeper

After I configured wsld on WSL2 with Ubuntu 22.04 I can run emacs GUI without any problem but when trying to run google-chrome I get the following error:

[1087:1087:0823/143422.508142:ERROR:ozone_platform_x11.cc(240)] Missing X server or $DISPLAY
[1087:1087:0823/143422.508307:ERROR:env.cc(255)] The platform failed to initialize.  Exiting.
[1087:1113:0823/143422.513209:ERROR:bus.cc(399)] Failed to connect to the bus: Failed to connect to socket /run/dbus/system_bus_socket: No such file or directory

Can you help me what can be the problem?

Metadata

Metadata

Assignees

No one assigned

    Labels

    No labels
    No labels

    Projects

    No projects

    Milestone

    No milestone

    Relationships

    None yet

    Development

    No branches or pull requests

    Issue actions