My story is:

I download Ubuntu App for Windows to use the Fenics Library, as fenicsproject.org tells.
I installed Fenics Library.
Now i would to create a file to write my code, but when run:

gedit test.py

the answer is:

Unable to init server: Could not connect: Connection refused (gedit:16): Gtk-WARNING **: 11:04:53.373: cannot open display:

I already installed the gedit with command sudo -apt gedit ( or some like this, i don't remember ).

Thank to yall

Your Answer

By clicking “Post Your Answer”, you agree to our terms of service, privacy policy and cookie policy

Browse other questions tagged or ask your own question.