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 org.freedesktop. usr/bin/startxfce4: X server already running on display 172.22.64.1:0.0 system message bus already started not starting. When you say under the root of the program run it sees that the Xserver under the users root are not running and informs you about this.This will: check that you’re allowed to edit the file (according to the sudo configuration in /etc/sudoers yours should be OK already) copy /etc/apt/sources.list to a temporary file and make it editable for you start gedit with the. SUDOEDITOR'gedit -w' sudoedit /etc/apt/sources.list. ![]() Starting Common Unix Printing System cupsd Now i don't understand why I can't run GUI applications like gedit.etc from a terminal. In a little more detail, you’d run something like.Starting periodic command scheduler cron.1?Įventually comes back sudo service cron start & sudo service cups start & sudo service dbus start & startxfce4 190 is my IP address so why is it picking. All other DISPLAY settings produce the error instantly.ĭisabling Windows Defender Firewall had no not working ( Windows 10 WSL2 $(cat /etc/nf | grep nameserver | awk ''):0 Which is my address from /etc/nfĪs an additional note, setting DISPLAY=$(cat /etc/re.):0 results in an ~30 second delay before the error occurs. In /etc/ssh/sshd_config I have set X11Forwarding yes X11UseLocalhost yes VcXsrv is system tray: DESKTOP-LN1HSHQ:0.0 - 0 clients I have also attempted to use the X410 X server with the same result. I have tried running Xming and XLaunch/VcXsrv using the -ac flag. Nothing happens and I get the following error in my terminal:Įrror: Can't open display: localhost:0.0 Additional Details (All other X server programs have a similar error) Actual behavior I have been using xeyes for troubleshootingĪ pair of eyes should open outside of the terminal which follows my mouse. The error can be reproduced by running any X server related command. Xauthority file in the users home folder (example: /home/username/). When you say under the root of the program run it sees that the Xserver under the user's root are not running and informs you about this. X-server (graphical shell) from you has been released from your user. Forcing me to always downgrade to WSL1 since browsing files without Nemo using just the terminal is a real pain in the. Running GUI apps on a VNC connection usually requires the presence the presence of an. Most likely you installed the program under the root. 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:
0 Comments
Leave a Reply. |
AuthorWrite something about yourself. No need to be fancy, just an overview. ArchivesCategories |