Questions tagged [windows-subsystem-for-linux]

Use this tag for questions relating to Windows Subsystem for Linux, the compatibility layer developed by Canonical and Microsoft to run Ubuntu programs natively in newer versions of Windows.

Filter by
Sorted by
Tagged with
-3
votes
0answers
14 views

Deepin Error On Partition [closed]

Recently i installed Deepin 2020 dualboot with Windows 10 and I installed Intellij Idea.but i can't import projects from another partitions.show only system partition in this popup box...how to ...
0
votes
0answers
18 views

WSL cannot open vscode using “code .”

When I tried to open vscode in WSL Ubuntu 20.04 using command code ., it failed and the following message was logged: /mnt/c/Users/john/.vscode/extensions/ms-vscode-remote.remote-wsl-0.50.1/scripts/...
-2
votes
0answers
33 views

Is it possible to extract data or collect data from the Ubuntu command line? [closed]

Is it possible to extract data or collect data from the Ubuntu command line? How to make it? Input: https://hive.biochemistry.gwu.edu/dna.cgi?cmd=tissue_codon_usage&id=586358&mode=cocoputs ...
1
vote
2answers
35 views

How do I show default user on WSL?

I see that there is a way to set the default user for a WSL distro using ubuntu.exe config --default-user FredSanford But is there a way to view the current default user? I can't seem to be able to ...
0
votes
0answers
19 views

Installing simpleaudio on Ubuntu WSL

I'm trying to install the simpleaduio module for python on my Ubuntu distro on WSL. I'm using the command: pip install simpleaudio It's a fresh install of Ubuntu on WSL and everything should be ...
0
votes
1answer
21 views

For the Window's version of Ubuntu, how do we find the password?

I've recently installed Ubuntu from the Microsoft Store page. I works fine but then I get to a problem. When I tried to update my packages with sudo apt update, it prompted me for the password. I have ...
0
votes
1answer
19 views

Logging inputs and outputs in terminal without weird characters

I'm looking for a way to log all the input and output on terminal during a session, but I can't properly find an answer to do it. This this post suggested using script screen.log to do so and it seems ...
0
votes
1answer
36 views

WSL2 apt update failing with errors using old-release sources

I tried to do an apt update, but I get these errors. Originally I put in the old-release source list. I'm not sure if that messed anything up. How can this be resolved?
0
votes
1answer
39 views

How to change default user in WSL Ubuntu when distro not installed from Microsoft Store

I've imported a WSL image I had exported from WSL previously (wsl --import UbuntuTest ./UbuntuImport .\UbuntuSnapshot201011). My distro has been correctly installed as UbuntuTest. However, when I log ...
0
votes
0answers
39 views

color scheme for Ubuntu terminal from WSL-2 install

I'm using WSL-2 under Windows 10 which has installed Ubuntu 20.04. The color scheme of the Ubuntu terminal has dark blue on a black background, which is unreadable. How do I change that?
0
votes
1answer
15 views

`gpg --genkey` keeps asking for password when run from WSL2

I'm using ubuntu from WSL2 and try to create a GPG keypair. When running the command gpg --genkey the program ask for the keyphrase once and again in a loop and does not succeed even when typing the ...
0
votes
0answers
27 views

I installed lightdm for my xserver, what does my DISPLAY env var need to be on my PC to run xterm?

I am using WSL-2 and Ubuntu 20.04 I want to run xterm from my ubuntu 18.04 command line. I am running csh. I have installed lightdm as the x-server (is there a better one?) and start it with "...
0
votes
1answer
68 views

How to install a GUI on the windows 10 store Ubuntu APP?

I'd like to install Lubuntu GUI on my Ubuntu app, that I downloaded from the MS Windows Store app. After installing WSL (Windows Subsystem for Linux) I got a 'server version'-like version running (...
-1
votes
0answers
32 views

Error installing build essential

sudo apt-get install build essential Reading package lists... Done Building dependency tree Reading state information... Done E: Unable to locate package build E: Unable to locate package essential ...
0
votes
0answers
203 views

Installing CUDA on WSL Ubuntu

I followed the directions on CUDA Toolkit 11.1 Downloads for WSL-Ubuntu Version 2.0. I chose the Installer Type 'runfile (local)'. I downloaded wget https://developer.download.nvidia.com/compute/cuda/...
0
votes
0answers
31 views

X server with WSL cannot see externel HDD with Linux

I enabled the WSL in Windows because I wanted to see if it is possible to graphically manipulate the files that I have on an HDD with batocera.plus from Windows 10. So I installed VcXsrv Windows X ...
0
votes
0answers
108 views

Error when running tkinter in python “ no display name and no $DISPLAY environment variable” while running the code

The error message is: Traceback (most recent call last): File "<stdin>", line 1, in <module> File "/usr/lib/python3.8/tkinter/__init__.py", line 2261, in __init__ ...
2
votes
0answers
204 views

How does WSL2 ubuntu 20.04 get its IP address?

I can't see what system is getting/assigning the IP. There are files from both NetworkManager and netplan in /etc but they both seem incomplete and systemd is not running. There are very few processes ...
0
votes
1answer
49 views

I have the Ubuntu WSL2, is it possible to run games like nSnake? how would i install it?

Title says all. I have ubuntu 20.04 LTS. I downloaded it from the Microsoft store, and i was to install games on it. How do i do this?
0
votes
0answers
26 views

Ubuntu 20.04 from MS Store on Windows does not start after reboot

I installed WSL Ubuntu 20.04 from Microsoft Install following all the steps properly from https://docs.microsoft.com/en-us/windows/wsl/install-win10 official documentation. I also passed the following ...
2
votes
2answers
292 views

How to boot system with systemd as init system (PID 1)

I am using a Ubuntu terminal environment installed with Windows Subsystem for Linux (WSL). The version is Ubuntu 20.04.1 LTS (GNU/Linux 4.4.0-18362-Microsoft x86_64). Following instructions from ...
0
votes
0answers
123 views

How to check for the log file when an error occurs while installing a python package

I'm trying to install Networkit package in Windows subsystem for linux. I did python3.7 -m pip install networkit and the following error occurs compilation terminated. CMakeFiles/sparsification....
0
votes
0answers
22 views

Installation Failed for Ghost Install on Ubuntu 18.04 “EPERM: operation not permitted, utime” Windows 10

Installed Ubuntu 18.04 Created Ubuntu User (local), added to sudo users Installed Node.js Installed Ghost CLI npm install ghost-cli@latest -g Mounted C drive cd /mnt/c/Users/user/Documents/ Created ...
1
vote
1answer
75 views

WSL2, Ubuntu 20.04 - login issue

it might be the case this has been answered before, but I was not yet able to find it. Environment information: Ubuntu 20.04.1 LTS via WSL2 Windows 10 (2004, 19041.508) fully upgraded network ...
0
votes
1answer
31 views

pangocairo header files not installed

I am running Ubuntu 20.04 on WSL 2. I installed libpangocairo, but I can't find any of its header files. I should have pangocairo installed: $ apt list --installed|grep pango WARNING: apt does not ...
0
votes
0answers
179 views

WSL2 Ubuntu 20.04 GUI and Remote connection issue

I am new to Linux and decided to install Ubuntu 20.04 via WSL2. Everything went well, I can run Ubuntu GUI and Windows in parallel using a Remote desktop connection. But when I am idle for around 10 ...
0
votes
0answers
22 views

What does “.hushedlogin” do?

I am running Ubuntu 20.04 on Windows 10 WSL 2. The first time launching bash displays a system info and then says to create .hushedlogin to disable the message. This behavior seems specific on WSL as ...
0
votes
1answer
76 views

Unable to find the Windows “Desktop” folder from within WSL [closed]

I recently downloaded Ubuntu on my HP Envy x360 laptop. I have worked with Ubuntu before. I am trying to navigate to my Desktop in terminal but unable to find it. I type /mnt/c/Users/'my username'/ ...
0
votes
0answers
75 views

wsl2 ubuntu not able to ping server

I'm facing a problem with ubuntu, not able to ping an IP address from Ubuntu which I am able to ping from the windows command line. Please recommend how to resolve this connectivity issue.
0
votes
1answer
127 views

How do I make Ubuntu 20.04 work on Windows 10 WSL 2?

I have followed the instructions of [Microsoft] (https://docs.microsoft.com/en-us/windows/wsl/install-win10) and [this] (https://www.omgubuntu.co.uk/how-to-install-wsl2-on-windows-10) verbatim. ...
0
votes
0answers
24 views

how omit this error: unable to lock directory /var/lib/apt/lists

When I run the command apt get update I always get the following errors: E: Could not open lock file /var/lib/apt/lists/lock - open (13: Permission denied) E: Unable to lock directory /var/lib/apt/...
0
votes
0answers
106 views

Error 13, Permission denied while accessing directory in WSL

Today at last I could finally build my OS. It was downloading for the last 2 days, so I did the build command. It went perfectly well, but then while making the flashable Google Fuchsia IMG as shown ...
0
votes
0answers
20 views

ssh_exchange_identification ERROR, with no logging on server

So I am getting the error ssh_exchange_identification: read: Connection reset by peer When trying to ssh into my WSL 2 Distribution (Ubuntu 16.04). I have made sure that all the firewalls/routing is ...
0
votes
0answers
31 views

Why is my Windows / WSL using “Very high” power usage for `cron` and `supervisor` services?

I have Windows 10 with Ubuntu 20.04.1 LTS in WSL. I have a Laravel app running via WAMP. If I run sudo service cron start, Windows Task Manager shows "Very high" for "Power usage" ...
0
votes
1answer
107 views

I tried installing Python 3.7 on my WSL ubuntu 20.04 but it just won't install [duplicate]

This is the command I used: sudo apt-get install python3.7 But I got: Reading package lists... Done Building dependency tree Reading state information... Done Note, selecting 'python3.7-2to3' for ...
0
votes
0answers
32 views

WSL how to reset and recover original configuration files

I tried to modify the color settings on the bash console in WSL Ubuntu. I have tried editing .bashrc and playing with the defaults and properties settings. I can no longer set the colors and so need ...
0
votes
0answers
30 views

How to reset lost Ubuntu password in WSL [duplicate]

I'm trying to install FastTree in Ubuntu, but I forgot my user password. How do I reset my lost administrative password? The Linux way is not an option since I am on WSL in Windows 10.
0
votes
0answers
32 views

Stopping MySQL database server mysqld

I am trying to install postgres in my windows subsystem linux(ubuntu 20). and when I am running the following command, sudo apt install libpq-dev it is showing the following errors. Reading package ...
0
votes
0answers
40 views

mounting a shared folder I have on mac (HOST) machine using WSL in a virtualbox Windows (guest)

My host machine is a Mac (and I have a folder on the Mac I want to share) with my Windows Virtual Box using WSL Windows sees the folder no problem. If I type net use at the command line I see the ...
0
votes
1answer
75 views

Why my laptop is crashing after installing Ubuntu 20.04?

After installing ubuntu 20.04 on my windows device Lenovo IdeaPad 320 I face multiple problems like hangs and system crashing. It works normally but suddenly it hangs and I have to restart the ...
0
votes
0answers
44 views

Launch process with realtime scheduling without root in WSL2

Running Ubuntu 20.04 from within WSL2 I would like to be able to use realtime scheduling as a normal audio group member. Ultimately this is for JACK. Everything works as root but this is not ideal. I ...
0
votes
1answer
82 views

Scrolling up in terminal reveals previous Vim sessions

I recently moved from Ubuntu to WSL Ubuntu, and the only problem with the move seems to be how Vim displays in the terminal. For example, I open a file in vim, and after exiting back into the command ...
1
vote
0answers
130 views

NVIDIA-SMI has failed because it couldn’t communicate with the NVIDIA driver

wsl 4.19.121 ubuntu 18.04 cuda-toolkit 11.0 nvidia driver: 460.15 I’ve followed the steps in this tutorial https://docs.nvidia.com/cuda/wsl-user-guide/index.html But when I finished and called ‘nvidia-...
0
votes
1answer
81 views

What fonts come with Ubuntu?

I've been having a problem with a python package that I maintain: the fonts displayed by my package appear differently when run on my recent WSL Ubuntu installation, compared with how they appear on ...
0
votes
0answers
35 views

WSL2+20.04: GDM runs as root; intended?

Running WSL2, Ubuntu 20.04, systemd genie; everything installed and launches without issue. gdm, however, runs only as root, even though /etc/gdm3/custom.conf explicitly sets User=gdm and Group=gdm. ...
1
vote
1answer
468 views

GPU/Docker not working Ubuntu 20.04 in the WSL 2 of Windows

I'm trying to follow this blog article to get CUDA working in a Ubuntu 20.04 kernel for non graphical machine learning running inside of WSL 2 under Windows 10 (build 20201.1000 with Nvidia driver 455....
0
votes
1answer
50 views

How can I go away from root user in ubuntu? [duplicate]

I tried to type in 'exit' and tried cntrl+d too but they both just close the terminal. Why is this? Is there another way to move away from root user?
-1
votes
1answer
305 views

Running WSL on Windows 10, GUIs will not display

I'm trying to run WSL Ubuntu on my Windows 10 PC. I have Ubuntu and Xming installed, and have been trying to run gedit on the WSL. I've done the same basic installation thats common for Xming and WSL, ...
0
votes
0answers
73 views

Ubuntu on Windows: Accessing Google Drive File Stream (/mnt/g)

I just installed Ubuntu on a new Windows machine, and cannot see any content at what should be my Google Drive File Stream drive (G:). A few days ago I did the same thing on another Win machine, and ...
2
votes
1answer
97 views

Error message when opening the terminal “-bash: /usr/bin/tclsh: No such file or directory”

I am using a Windows subsystem for linux Ubuntu terminal and every time I open a new terminal, I get this error message: -bash: /usr/bin/tclsh: No such file or directory -bash: export: _moduleraw: not ...

1
2 3 4 5
13