Skip to content

Disable WSLg permanently #523

Answered by jeremy-smith-maco
rlnt asked this question in Q&A
Oct 19, 2021 · 2 comments · 10 replies
Discussion options

You must be logged in to vote

Is this what you were after?

User can also choose to turn off the system distro entirely by adding the following entry in their .wslconfig file (located at c:\users\MyUser.wslconfig). This will turn off support for GUI applications in WSL.

[wsl2]
guiApplications=false

Reference: https://github.com/microsoft/wslg#wslg-system-distro

Replies: 2 comments 10 replies

Comment options

You must be logged in to vote
8 replies
@ghost
Comment options

@rlnt
Comment options

@ghost
Comment options

@rlnt
Comment options

@Masamune3210
Comment options

Answer selected by rlnt
Comment options

You must be logged in to vote
2 replies
@rlnt
Comment options

@Iano-theDev
Comment options

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Category
Q&A
Labels
None yet
4 participants