Ask Ubuntu Asked by catsMagee on December 11, 2020
I’m trying to run WSL Ubuntu on my Windows 10 PC. I have Ubuntu and Xming installed, and have been trying to run gedit on the WSL. I’ve done the same basic installation thats common for Xming and WSL, I’ve updated WSL multiple times, and still no success.
My process was generally:
The error I get is:
”’Unable to init server: Could not connect: Connection refused
(gedit:44): Gtk-WARNING **: 19:47:20.284: cannot open display: :0.0”’
Please help, I’m at my wits end.
UPDATE:
I reinstalled it and realized that the WSL version was WSL 2, so setting it to WSL 1 fixed the problem.
The fix I had to do was change it to WSL 1. That’s the whole issue I had, because I didn’t know WSL 2 was setup by default for Ubuntu. For anyone else who might have this problem, make sure to always check the version.
Answered by catsMagee on December 11, 2020
Get help from others!
Recent Answers
Recent Questions
© 2024 TransWikia.com. All rights reserved. Sites we Love: PCI Database, UKBizDB, Menu Kuliner, Sharing RPP