Enable the WSL to Open GUI windows - Robo-Tech-Cv/ROS_Install_Tutorial GitHub Wiki
Watch this video to install the app
-
VcXsrv Download link
-
VcXsrv confgrition
IMPORTANT DO THIS
-
run this commands to avoid copying and pasting every time you open new terminal
echo "export GAZEBO_IP=127.0.0.1" >> ~/.bashrc
echo 'export DISPLAY=$(cat /etc/resolv.conf | grep nameserver | awk "{print }"):0 ' >> ~/.bashrc
orecho "export DISPLAY="$(grep nameserver /etc/resolv.conf | sed 's/nameserver //'):0"
echo "export LIBGL_ALWAYS_INDIRECT=0" >> ~/.bashrc
source ~/.bashrc