I'm using Ubuntu 20.04.LTS in a WSL2 environment. I am trying to get graphical applications to run but had no success so far.
- On Windows, I run Xming 6.9.0.31 which tells me the server is on :0.0.
- In Ubuntu, I put export DISPLAY=localhost:0.0" in my .bashrc.
However, if I try to run a graphical applicarion, I have had no sucess so far.
i.e. gedit:
Unable to init server: Could not connect: Connection refused(gedit:1090): Gtk-WARNING **: 14:56:33.415: cannot open display:
I wasn't really able to finde more information about that, since it seems like quite an easy question. Help would greatly be appreciated! Thanks :)