You signed in with another tab or window. Reload to refresh your session.You signed out in another tab or window. Reload to refresh your session.You switched accounts on another tab or window. Reload to refresh your session.Dismiss alert
Hello. I am unable to connect to my display to run GUI apps. It keeps giving me the following error:
I know that this has something to do with the fact that wsl2 uses a different ip address that my host windows system uses, but I do not know how to solve this problem. I have found ways to edit the DISPLAY variable by using export DISPLAY=$(grep nameserver /etc/resolv.conf | awk '{print $2}'):0.0 and adding it to .bashrc, but when I do that, the bash simply gets stuck after printing Systemd is ready. Logging in. Does anyone know how one could solved this issue?
The text was updated successfully, but these errors were encountered:
Hello. I am unable to connect to my display to run GUI apps. It keeps giving me the following error:
I know that this has something to do with the fact that wsl2 uses a different ip address that my host windows system uses, but I do not know how to solve this problem. I have found ways to edit the DISPLAY variable by using
export DISPLAY=$(grep nameserver /etc/resolv.conf | awk '{print $2}'):0.0
and adding it to.bashrc
, but when I do that, the bash simply gets stuck after printingSystemd is ready. Logging in.
Does anyone know how one could solved this issue?The text was updated successfully, but these errors were encountered: