2

Microsoft has released a new feature for WSL that runs Linux GUI applications on Windows https://docs.microsoft.com/en-us/windows/wsl/tutorials/gui-apps

I followed the steps but I'm not working properly here

I think it's not working, but while writing this post gedit unexpectedly opened on my screen It took a long time to open :(

  • WSL: WSL 2
  • Distribution: Ubuntu
  • Kernel version: 5.10.43

I installed:

  • igfx_win_100.9864.exe

  • 510.06_gameready_win11_win10-dch_64bit_international.exe

  • How can I test if the vGPU is working correctly?

  • I don't know what's going on

[Ubuntu GUI Terminal] 1 opens several minutes after trying to open the app

I get this message after opening gedit from the terminal

(gedit: 867): dconf-WARNING **: 10: 44: 22.415: Failed to commit dconf changes: Error generating command line “dbus-launch --autolaunch = b2041466b29e48f7a6df4883143fed22 --binary-syntax --close- stderr” : Child process terminated with code 1

gedit is working but takes a long time to open

  • Edition Windows 11 Pro Insider Preview
  • Version Dev Installed on ‎10/‎04/‎2021
  • OS build 22471.1000
  • Experience Windows Feature
  • Experience Pack 1000.22471.1000.0

EDIT 1

With help of our friend things start to working here, gedit opens fastly, nautilus opens fastly and my porpuse Cypress opens okay hsuhsuhs.

But here comes my doubts based on that prints, cypress and other wsl applications should be opened with windows window UI, not?

And cypress performance is a little bit slower, any advise about that?

Maybe I should just install linux here :(

enter image description here enter image description here

1 Answers1

1

I encountered the same behavior (gedit taking several minutes to show up) and fixed to problem following this post on GitHub:

You basically just have to set the DISPLAY environment variable to :0 like this:

export DISPLAY=:0

If you want the change to be permanent, just put it in you .bashrc.

With this, GUI apps from WSL2 should become visible within a couple of seconds.