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

WSL Ubuntu additional notes #2

Open
JohnCRuf opened this issue May 24, 2023 · 0 comments
Open

WSL Ubuntu additional notes #2

JohnCRuf opened this issue May 24, 2023 · 0 comments

Comments

@JohnCRuf
Copy link

Two new notes need to be added to the WSL ubuntu entry.

  1. It is not proper to install vscode within the WSL ubuntu environment. The installation should be done in windows and then transferred to ubuntu via the procedure outlined in this link: https://code.visualstudio.com/docs/setup/windows
  2. If export DISPLAY:=0.0 does not work, then you should use the commands:
    export DISPLAY=$(awk '/nameserver / {print $2; exit}' /etc/resolv.conf 2>/dev/null):0 export LIBGL_ALWAYS_INDIRECT=1

This automatically selects the correct display port. It doesn't continuously fix the issue but its good enough as a stop-gap.

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
None yet
Projects
None yet
Development

No branches or pull requests

1 participant