Skip to content

Instantly share code, notes, and snippets.

@pirpyn
Created December 11, 2019 01:07
Show Gist options
  • Star 1 You must be signed in to star a gist
  • Fork 0 You must be signed in to fork a gist
  • Save pirpyn/7f8d3d5caf749736ee4047b5e9544465 to your computer and use it in GitHub Desktop.
Save pirpyn/7f8d3d5caf749736ee4047b5e9544465 to your computer and use it in GitHub Desktop.
Launch LXDE from WSL in a new display
@echo off
set DISPLAY=%RANDOM%
cd C:\PROGRA~1\VcXsrv
start "" C:\PROGRA~1\VcXsrv\vcxsrv :%DISPLAY%
wsl.exe -d Ubuntu export DISPLAY=:%DISPLAY%.0; lxsession;
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment