I try to run emacs-gtk in Ubuntu 20.04 WSL. Previously, I had used this command to get the IP of the host, /etc/resolv.conf | grep nameserver | awk '{print $2}'
, but now, I got this:
1.1.1.18.8.8.8fe80::162e:5eff:fef0:12b6
My /etc/wsl.conf
look like this:
# Enable DNS – even though these are turned on by default, we'll specify here just to be explicit.[network]generateHosts = truegenerateResolvConf = true
And my /etc/hosts is this.
# This file was automatically generated by WSL. To stop automatic generation of this file, add the following entry to /etc/wsl.conf:# [network]# generateHosts = false127.0.0.1 localhost127.0.1.1 tizona.localdomain tizona192.168.1.76 host.docker.internal192.168.1.76 gateway.docker.internal127.0.0.1 kubernetes.docker.internal# The following lines are desirable for IPv6 capable hosts::1 ip6-localhost ip6-loopbackfe00::0 ip6-localnetff00::0 ip6-mcastprefixff02::1 ip6-allnodesff02::2 ip6-allrouters
What should I do to run GUI applications? Is it an Ubuntu issue or related to Windows?