I have enabled Windows Subsystem for Linux (WSL2) on my windows 10 OS to use Ubuntu 20.04. I installed Ubuntu 20.04 and ROS Noetic but I am getting this message at the Environment Setup step. When I write this command: gedit .bashrc
, the following error is displayed:
Unable to init server: Could not connect: Connection refused
(gedit:868): Gtk-WARNING **: 11:32:54.709: cannot open display:`
Please help.