-1

enter image description here

Linux Subsystems does not resolve names, so it is impossible to install or update anything, why does it happen and how can it be fixed?

enter image description here

ecker@Lame_Slug:~$ cat /etc/apt/sources.list
deb http://deb.debian.org/debian buster main
deb http://deb.debian.org/debian buster-updates main
deb http://security.debian.org/debian-security/ buster/updates main
deb http://ftp.debian.org/debian buster-backports main

Windows 10 Pro x64 1909 English

Obs.: Windows is fresh/new install and no edit was made in Debian...

Io-oI
  • 9,237

1 Answers1

1

I was following the question/answer analysis queue, when I came across a post by @Ben N in Answer on the similar question Internet access not working in Windows Subsystem for Linux.

  1. Open Debian Type:
sudo nano /etc/resolv.conf
[type your password]+Enter
  1. Add one name and the DNS Server IP address:
nameserver 1.1.1.1
  1. Use Crtl+o and ENTER to write, and Crtl+x to exit.

  2. Run your commands, in my case:

sudo apt update
sudo apt upgrade
sudo apt-get install xrdp
sudo apt-get install xfce4
sudo apt-get install lxde
sudo /etc/init.d/xrdp start

enter image description here

A line added to the file made it work, where the final intention was to follow this tutorial that shows how to access a Debian (with Xfce or LXDE Desktop) Linux station via Windows Remote Desktop.

enter image description here

enter image description here

Io-oI
  • 9,237