nbdd0121 / wsld

WSL Daemon - Stable X11 connection and time synchronisation for WSL2
Apache License 2.0
298 stars 24 forks source link

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

Open M-sleeper opened 1 year ago

M-sleeper commented 1 year ago

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?