11/7/2023 0 Comments Gedit no protocol specified![]() Forcing me to always downgrade to WSL1 since browsing files without Nemo using just the terminal is a real pain in the. I probably should also add, that I am a Windows Insider (fast ring) and that I have this problem ever since I first tried WSL2 about half a year ago. I also tried to run both Vcxsrv and Ubuntu as administrator, just to rule out any permission problems on the Windows side of things. ![]() In case that is important: I did not create a UNIX account but use root (both before and after reinstalling Ubuntu so there should be no permission issues on the Ubuntu side). I have also uninstalled Ubuntu, manually deleted the remnants from AppData and made a clean reinstall of Ubuntu. When trying to run gedit, I get the following error: Unable to init server: Could not connect: Connection refused In the case of nemo, I get the following error: Unable to init server: Could not connect: Connection refusedĬould not parse arguments: Cannot open display: Then I also entered: export LIBGL_ALWAYS_INDIRECT=1Īfter having done that, I tried to execute some programs that used to work under WSL1.In Ubuntu, I entered: export DISPLAY=$(awk '/nameserver / ' /etc/nf 2>/dev/null):0.I started Vcxsrv with the following options: Multiple Windows, Display Number: -1, Start no client, Clipboard (with Primary Selection), Native OpenGL and Disable access control. ![]() I turned off the Firewall for home networks (just for testing). ![]() Xrdb: Can't open display '172.22.64.1:0.0'ĭbus-daemon: Activating service name='1' requested by ':1.0' (uid=1000 pid=6631 comm="systemctl -user list-jobs ")ĭbus-daemon: Activated service '1' failed: Process am trying to get GUIs working with WSL2, but nothing I tried works. usr/bin/startxfce4: X server already running on display 172.22.64.1:0.0
0 Comments
Leave a Reply. |
AuthorWrite something about yourself. No need to be fancy, just an overview. ArchivesCategories |