Quantcast
Channel: Active questions tagged windows-subsystem-for-linux - Ask Ubuntu
Browsing all 2795 articles
Browse latest View live

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 Article


Run 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 Article


Sudoers 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 Article

Broken/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 Article

How 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 Article


Tensorflow-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 Article

Why 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 Article

Unable 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 Article


Unable 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 Article


Unable 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 Article

Opening 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 Article

error: 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 Article

WSL2 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 Article


Where 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 Article

Internet 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 Article


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 Article

WSL2 / 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 Article


sleep 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 Article

How 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
Browsing all 2795 articles
Browse latest View live


<script src="https://jsc.adskeeper.com/r/s/rssing.com.1596347.js" async> </script>