1. Turn on “Developer Mode” in Control panel.
3. Install Xming(Xserver for Windows)
Download
4. Launch your app
# export DISPLAY=:0 # firefox
5. You can create a link on your desktop like this
and ~/.bashrc
alias home='cd /mnt/c/Users/rex/Desktop' home export DISPLAY=:0
Tips:
Use “powershell bash” instead of “bash”, you can access your service in this way.