Error: Could not connect to any X display [Unable to run wireshark on Ubuntu...
I installed Wireshark in my Ubuntu for Windows WSL following these steps. It's installed correctly as wireshark --help and wireshark --version work fine.But upon running wireshark with command...
View ArticleRun Graphical Programs in WSL2
I hear that WSL2 has support for graphical programs.I tried to run this on my ubuntu WSL installation (from rosetta code)from PIL import Imageimg = Image.new("RGB", (320, 240))pixels =...
View ArticleSudoers file syntax error on WSL
So, I've messed up my sudoers file in the windows subsystem for linux. I was trying to add something, and the guy of the tutorial said to edit sudoers file with nano/vim, and that's what I did (later I...
View ArticleBroken/corrupted apt and dpkg after trying to do a release upgrade which...
So after running do-release-upgrade, the process failed prompting me to abort or resurrect this window (I don't remember what exactly was shown as an error and I can't replicate it because it's not...
View ArticleHow can I install Ubuntu Desktop on Ubuntu app on Windows 10? [duplicate]
I have installed Ubuntu 20.04 Microsoft Store on Windows 10 version 2004 and I want to experience the GUI of Ubuntu instead of using shell.How can I install GUI for Ubuntu app?
View ArticleTensorflow-GPU on WSL2 not working
Is there any way to install tensorflow-gpu on WSL2?After trying to set up CUDA on WSL and running nvidia-smi, it had the error: NVIDIA-SMI has failed because it couldn't communicate with the NVIDIA...
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 ArticleUnable to change the root password in Windows 10 WSL
I have tried both commandssudo passwdandsudo -u root /bin/bashBut as soon as I enter the new password twice, it says password has been updated. You close the shell and open a new instance, it is still...
View ArticleUnable to reach github on Ubuntu wsl
I have just installed Ubuntu 18.04 (wsl) terminal on my Windows 10. It works fine but when I need to clone from github some repository, or to push, this error message is displayed:Cloning into...
View ArticleUnable to locate package with apt-get remove
I'm trying to remove pip (because I have pip3). I did sudo apt-get remove --purge pip, and getReading package lists... DoneBuilding dependency treeReading state information... DoneE: Unable to locate...
View ArticleOpening Ubuntu 20.04 Desktop on WSL2
I installed Ubuntu 20.04 (server/terminal) from the Windows 10 app store, and then after launching the Ubuntu Terminal via WSL2 (Windows Subsystems for Linux) , I installed Ubuntu Desktop and did...
View Articleerror: XDG_RUNTIME_DIR not set in the environment. in WSL when trying to run...
When I run ./CarlaUE4.sh in the WSL, I obtain the following error:4.22.3-0+++UE4+Release-4.22 517 0Disabling core dumps.error: XDG_RUNTIME_DIR not set in the environment.CarlaUE4-Linux-Shipping:...
View ArticleWSL2 in Windows 10: sudo: /etc/sudoers is owned by uid 1000, should be 0...
I don't exactly know what I did wrong, but now every command that needs sudo returns:sudo: /etc/sudoers is owned by uid 1000, should be 0sudo: no valid sudoers sources found, quittingsudo: unable to...
View ArticleWhere is the Trash folder in Ubuntu/Windows (WSL)?
I am using Ubuntu in Win10, but I can not find the trash folder, even when I use the command mv ~/.Trash/foo ~/mv: cannot stat '/home/man/.Trash/foo': No such file or directoryMy question is that how...
View ArticleInternet is working but "apt update" giving this error in windows subsystem...
Just installed ubuntu 18.04 in wsl. But when I try to install or update system i'm getting this errorenter Err:1 http://security.ubuntu.com/ubuntu bionic-security InRelease Could not resolve...
View ArticlePlease 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 / Ubuntu 20.04 (Windows build 2004) (bootcamp) setup fails with errr...
The first thing I did, was enable WSL in the Windows Features dialog, then I installed Ubuntu 20.04 from the store. Befote doing anything else, I found an article WSL Kernel that said that I should...
View Articlesleep doesn't work on Ubuntu 20.04 (WSL)
After upgrading to 20.04 on WSL sleep doesn't work with an error:sleep: cannot read realtime clock: Invalid argument
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 ArticleHow to fix "bad interpreter" problem when running pip3 on Ubuntu 20.04 WSL?
I have Cygwin on Windows10 and now I've installed Ubuntu 20.04 (WSL) and all it seems fine, except for Python3.I've intalled python3 and pip3 but when I try to use it I get the "bad interpreter"...
View Article