Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

Another issue about WSL2 GUI apps not launching #852

Open
CompeyDev opened this issue Oct 9, 2022 · 3 comments
Open

Another issue about WSL2 GUI apps not launching #852

CompeyDev opened this issue Oct 9, 2022 · 3 comments
Labels
bug Something isn't working

Comments

@CompeyDev
Copy link

CompeyDev commented Oct 9, 2022

Windows build number:

Microsoft Windows [Version 10.0.19043.2006]

Your Distribution version:

20.04

Your WSL versions:

wsl --version does not want to run?

Steps to reproduce:

  1. Run WSL
  2. Attempt to a run a UI app of choice.
  3. Fails to launch.

WSL logs:

WslLogs-2022-10-09_14-04-11.zip

WSL dumps:

No response

Expected behavior:

Gedit launches successfully.

Actual behavior:

Tried microsoft/WSL#6430 (comment) and multiple other solutions, however none of them fully resolve the issue. GTK no longer instantly fails to connect to display after setting the $DISPLAY var (see 1). But, it attempts to launch for ~2 minutes, and then prompts the cannot connect to display error. I believe this may be due to the connection timing out, perhaps?


Case 1: Before setting $DISPLAY


Case 2: After setting $DISPLAY

Something else I noticed is that none of my installed Linux apps sync to my start menu. I don't even seem to have the "Linux" tab in my file explorer.

@CompeyDev CompeyDev added the bug Something isn't working label Oct 9, 2022
@Biswa96
Copy link
Contributor

Biswa96 commented Oct 9, 2022

You're using Windows 10 which doesn't have the integrated GUI features yet.

@CompeyDev
Copy link
Author

You're using Windows 10 which doesn't have the integrated GUI features yet.

Oh my bad, I'm so stupid for not realizing haha.

@CompeyDev CompeyDev reopened this Nov 14, 2022
@CompeyDev
Copy link
Author

Updated to Windows 11 build 10.0.22621.819, still does not seem to work with the same error. When following the wiki, none of the file locations exist -- including /mnt/wslg/versions.txt.


Unsure why, help appreciated. 🙏

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
bug Something isn't working
Projects
None yet
Development

No branches or pull requests

2 participants