Please help configuring NVIDIA-SMI Ubuntu 20.04 on WSL 2
Following this announcement and somewhat trying to follow this confusing thread, Iinstalled Windows Version 10.0.20150 Build 20150installed NVidia Driver version 455.51installed Ubuntu 20.04 LTS from...
View ArticleWsl2 loosing speed / leaking?
I'm running a mapping project on my win10/Wsl2 Ubuntu 20, and the process is a a bash script running imagemagick and analysing colors on maps (500x500px).The script is also writing reports on the maps,...
View Articlehow to upgrade glx version from 1.2 to 1.3 or higher on WSL2 Ubuntu 20.04
I am now running octave for some plots, but it would always return an empty window.Octave is now running on WSL2 Ubuntu 20.04 with xming for image forwarding, and it returns the following warning...
View Articlepyenv command not found when running with sudo
04 under WSL.I have binary of pyenv in my PATH even with sudo's PATH, but i cannot run it with sudo for some reason.test@pc:~$ which pyenv/home/test/.pyenv/bin/pyenvtest@pc:~$ sudo which...
View ArticleEditing .bashrc in WSL safely
How do I edit the .bashrc file in Windows Subsystem for Linux safely?This article warns to never edit files stored in the WSL AppData folder using Windows tools.But then how do you edit files like...
View ArticleHow do I kill a runaway console process under WSL?
I made the mistake of running the command:cat /dev/urandomAnd the console (hosted on Windows) filled with junk and stopped responding to Ctrl-Z or anything else.Is there any way I could have recovered...
View Articlemulti-core CPU usage
I am using the Windows Subsystem for Linux (WSL), and I am unexperimented in the capabilites of linux.Recently, I've been wanting to get better insight in the CPU usage of processes, but I am getting...
View Article/dev/video0 Camera support on WSL?
Is there any way to pass the camera through to Windows Subsystem for Linux? This feature would make everything I'm doing right now so much easier. I know there is a feature request for USB support, but...
View Article/usr/bin/env: ‘python’: No such file or directory
I am trying to install Gitlab Development Kit on Windows Ubuntu Bash.$python3 outputPython 3.5.2 (default, Nov 17 2016, 17:05:23)[GCC 5.4.0 20160609] on linuxType "help", "copyright", "credits" or...
View ArticleWhy does it take so much time to initialize mlocate database?
While I was trying to install xubuntu-desktop on wsl2(Ubuntu 20.04) on windows 10.It got stuck atInitializing mlocate database; this may take some time...after waiting for a long time(left it for a...
View ArticleHow to set up DISPLAY variable for WSL2 of ubuntu 20?
I have a WSL2 with ubuntu 20. In most posts, setting up DISPLAY environmental variable to access windows X11 server is made through WSL localhost address in ~/.bashrc$ export DISPLAY=$(awk '/nameserver...
View ArticleHow do I get VcXsrv working with WSL?
I installed VcXsrv and configured the DISPLAY variable, however, with VcXsrv running, I cannot get anything to connect to it. For example:a@HOME:~$ echo $DISPLAYlocalhost:0.0a@HOME:~$ xeyesError: Can't...
View ArticleHow to I check the battery level on a Microsoft Surface from a WSL Ubuntu shell?
There are plenty of tutorials online for checking your battery level in a ubuntu terminal. The most common solution seems to be to use upower. However, when I run upower in a WSL Ubuntu shell in...
View ArticleReset the password in Ubuntu / Linux Bash in Windows
I have installed Linux Bash on Windows 10 (available from Microsoft), but I've forgotten my password.I've searched for a solution but I only find suggestions that involve doing something before the...
View Article"Unable to locate package" for exa on WSL 2 Ubuntu
I'm trying to install exa on Ubuntu 20.04 LTS on WSL 2. Whenever I type sudo apt install exa, I get this response:Reading package lists... DoneBuilding dependency treeReading state information......
View Articlelocalhost not loading Ubuntu GUI on Windows 10
I downloaded and installed Ubuntu on my Windows 10 machine yesterday. I set up Ubuntu with WSL and Remote Desktop Connection using xrdp.Everything cool but when I start the Remote Desktop Connection,...
View ArticleWSL2 Remote Desktop Can't connect to the remote computer for one of these...
I am trying to use a GUI with WSL2. I followed the instructions here and it initially worked fine. After rebooting my laptop I opened Ubuntu terminal and typed:sudo /etc/init.d/xrdp startto start xrdp...
View ArticleDoes WSL2 Support lsusb?
I am trying to run lsusb commands on wsl2 with Ubuntu 20.04, no output is showingWhilelsusb -V command gives output- lsusb (usbutils) 012lsusb -t command gives output- /sys/bus/usb/devices: No such...
View ArticleSpaces are replaced with colons when transporting the environment variables...
I am using windows-subsystem-for-Linux, and I choose Ubuntu. But I can't call the program installed on the Windows OS, so I check the environment variable list in WSL, it seems that the spaces are...
View ArticleWSL 2 Won't Run Ubuntu - Error 0x80370102
Today, I decided to upgrade from WSL 1 to WSL 2. On WSL 1, I had no issues getting both Kali or Ubuntu to function on WSL 1. When upgrading to WSL 2, both Kali and Ubuntu failed to upgrade to version...
View Article