Created
December 11, 2019 01:07
-
-
Save pirpyn/7f8d3d5caf749736ee4047b5e9544465 to your computer and use it in GitHub Desktop.
Launch LXDE from WSL in a new display
This file contains hidden or bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
@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