

InterviewSolution
Saved Bookmarks
1. |
Solve : Ubuntu in Windows 10 WSL won't access the Internet :(? |
Answer» <html><body><p>Also, I cannot run Software (like the Windows Store). It says:<br/>"Sorry, something went wrong: Failed to <a href="https://interviewquestions.tuteehub.com/tag/connect-11879" style="font-weight:bold;" target="_blank" title="Click to know more about CONNECT">CONNECT</a> to system D-Bus: Could not connect: No such file or directory"<br/><br/>Advanced Network Configuration in menu://applications/Preferences won't run.<br/>This is what I got when running "<a href="https://interviewquestions.tuteehub.com/tag/ifconfig-2124388" style="font-weight:bold;" target="_blank" title="Click to know more about IFCONFIG">IFCONFIG</a>" to check the network connectivity:<br/>lo: flags=73<UP,LOOPBACK,RUNNING> mtu 1500<br/> inet 127.0.0.1 netmask 255.0.0.0<br/> inet6 ::1 prefixlen 128 scopeid 0xfe<compat,link,site,host><br/> loop (Local Loopback)<br/> RX packets 0 bytes 0 (0.0 B)<br/> RX errors 0 dropped 0 overruns 0 frame 0<br/> TX packets 0 bytes 0 (0.0 B)<br/> TX errors 0 dropped 0 overruns 0 carrier 0 collisions 0<br/><br/>wifi0: flags=4163<UP,BROADCAST,RUNNING,MULTICAST> mtu 1500<br/> inet 192.168.2.38 netmask 255.255.255.0 broadcast 192.168.2.255<br/> inet6 fe80::7d47:8a6d:593f:fc28 prefixlen 64 scopeid 0xfd<compat,link,site,host><br/> ether 94:e7:0b:51:8a:d8 (Ethernet)<br/> RX packets 0 bytes 0 (0.0 B)<br/> RX errors 0 dropped 0 overruns 0 frame 0<br/> TX packets 0 bytes 0 (0.0 B)<br/> TX errors 0 dropped 0 overruns 0 carrier 0 collisions 0<br/><br/>I haven't touched the Firewall, maybe that's the problem. I just don't know exactly which apps to let through nor how exactly. <br/><br/><br/>This is the summary of the steps I followed before:<br/></p><ul><li>Start by clicking Start and entering "turn windows". The <strong>Turn Windows Features on or off</strong> <a href="https://interviewquestions.tuteehub.com/tag/item-770211" style="font-weight:bold;" target="_blank" title="Click to know more about ITEM">ITEM</a> should be displayed. Then scroll down to Windows Subsystem for Linux.</li></ul><br/><br/><ul><li>Restart Windows.</li><li><a href="https://interviewquestions.tuteehub.com/tag/open-245076" style="font-weight:bold;" target="_blank" title="Click to know more about OPEN">OPEN</a> the Windows Store, search for Linux, and install Ubuntu.</li><li>Once complete, click Launch from within the Windows Store or open it from the Start menu. <br/>On the first run, you'll be prompted to input a username and password to <a href="https://interviewquestions.tuteehub.com/tag/create-427332" style="font-weight:bold;" target="_blank" title="Click to know more about CREATE">CREATE</a> a user account.</li><li>Run these commands<br/>sudo apt update<br/>sudo apt upgrade</li><li>While this upgrade is running, head to Sourceforge to download and install the VcXsrv Windows X Server utility.</li><li>Install the Linux desktop. Many Linux desktop environments are available but to keep things simple we'll install LXDE: <br/>sudo apt install lxde</li><li>Following installation of LXDE, input these commands:<br/>export DISPLAY=:0<br/>export LIBGL_ALWAYS_INDIRECT=1</li><li>Open the Xlaunch tool, and choose One large window, and Display number: 0<br/>Click Next on the following pages until the end.</li><li>Start the LXDE desktop environment<br/>startlxde</li></ul><br/><br/><strong>Steps to start Ubuntu / LXDE every time.</strong><br/><ul><li>Open Ubuntu</li><li>Enter these commands:</li></ul>export DISPLAY=:0<br/>export LIBGL_ALWAYS_INDIRECT=1<br/><ul><li>Open the Xlaunch tool, and choose One large window, and Display number: 0 <br/>Click Next on the following pages until the end.</li><li>Start the LXDE desktop environment</li></ul>startlxde<br/><br/>Note that it is not possible to damage Windows 10 using the Linux environment. Any commands you input will damage only the Windows Subsystem for Linux and the chosen operating system. Windows 10 will remain safe and secure.<br/><br/><strong>Sources</strong><br/><a href="https://www.makeuseof.com/tag/linux-bash-shell-on-windows-10/">How to Get the Linux Bash Shell on Windows 10</a><br/><a href="https://www.makeuseof.com/tag/linux-desktop-windows-subsystem/">How to Run a Linux Desktop Using the Windows Subsystem for Linux</a><br/><a href="https://www.makeuseof.com/linux-distros-for-windows-subsystem-for-linux/">5 Linux Distros You Can Install in Windows Subsystem for Linux</a></body></html> | |