X11 desktop GUI apps for Windows Subsystem for Linux

  1. install Xming X11 server
  2. add to your WSL ~/.bashrc

     DISPLAY=:0.0
     export DISPLAY
    
  3. To run any X11 Linux GUI app in WSL, start Xming first from Windows. You don’t have to do this before starting WSL.

NOTE do NOT open a port in your firewall for X11 if asked by Windows.

This works great with geany, meld and other favorite Linux apps on Windows Subsystem for Linux.

Leave a Comment