Gui - Rishu20/Blackarchwsl GitHub Wiki

  1. Install the vcxserv app on windows system

  2. Install Qt5 in Linux distro

$ sudo pacman -S Qt5

  1. Install the Desktop environment currently I have tested for mate, lxde and xfce4

For lxde

$ sudo pacman lxde

For xfce4

$ sudo pacman xfce4

For mate

$ sudo pacman mate

  1. configure Vcxsrv

  2. Configure Display

Run $ sudo nano .bashrc

Add export DISPLAY to the last line of .bashrc file

Now check <wsl_ip> by running ipconfig in PowerShell/cmd

$ DISPLAY=<wsl_ip>:0

Launch Desktop environment

For lxde

$ startlxde

For xfce4

$ startxfce4

For mate

$ mate-session

⚠️ **GitHub.com Fallback** ⚠️