Wednesday, October 4, 2017

Running graphic programs on Windows 10 Subsystem on Linux

To run graphical programs on Windows 10 bash shell, an X server (eg, Xming, vcXsrv and Cygwin X) will need to be installed on the Windows 10 system and the DISPLAY variable will need to be set in Bash.

To set DISPLAY variable,
export DISPLAY=:0
Then try running a graphic program, such as,
xclock

No comments: