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

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...

View Article


WSL+Ubuntu 18.04: `ssh` or `apt update` gets “Temporary failure resolving...

RESOLVED: I reached out to my job's IT and I got win10 1803 update. That solved all my issues including one I didn't mention: gradle wrapper script couldn't connect to daemon through 127.0.0.1 with...

View Article


How to start a specific service when Ubuntu is started on WSL2

I need to run sudo service postgresql start every time when I start Ubuntu on WSL2.How can I make the service start automatically when I start Ubuntu?WSL doesn't use systemd, so sudo systemctl enable...

View Article

Is there an easy way to have WSL Ubuntu services start automatically on...

I have a question about the WSL version of Ubuntu. Is there an easy way to have bash start automatically when Windows starts and pass a command to it to start the SSH server? So that the SSH server...

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


Running gnome-keyring on WSL (Windows Subsystem for Linux)

I've been trying to store HTTPS GIT credentials using a Keyring (Gnome Keyring) using the steps in this article:http://blog.iqandreas.com/git/storing-https-authentication-in-ubuntu-and-arch-linux/I...

View Article

When running "sudo apt update" it gives an error

When running sudo apt update on Kali Linux under WSL2, I receive this error:root@DESKTOP-QNRM28R:/mnt/c/Users/blank# sudo apt update<br>Get:1 http://kali.cs.nctu.edu.tw/kali kali-rolling...

View Article

do-release-upgrade silently fails upgrading from 18.04 LTS to 20.04 LTS in WSL

It's high time I upgrade Ubuntu from 18.04 to 20.04! But I don't get very far before the process aborts without an error message. Is there a log file I can check for further information?$ uname -aLinux...

View Article


I have a virtual box on my Ubuntu main computer OS, but when ever i want to...

BELOW IS THE TYPE OF ERROR IT SHOW MEFailed to open a session for the virtual machine Kali x64 bit customized by zSecurity. Failed to construct device 'usb-ehci' instance #0...

View Article


how to open a video file in windows using ubuntu terminal?

So I am learning linux/Ubuntu command lines. One of the things I want to be able to do is to use the ubuntu terminal to open video(mp4) files on my computer(Windows).I have tried vlc and mplayer, but...

View Article

SSh: Access Denied, Windows 10

I'm new to Linux in general but also even newer to the Window's 10 Ubuntu subsystem. I've been trying to set up ssh and so I set up a static ip address and logged into my router and forwarded port 22...

View Article

How do I fix "$'\r': command not found" errors running Bash scripts in WSL?

I'm getting an error in WSL while trying to use junyanz/pytorch-CycleGAN-and-pix2pix.I followed all the install steps successfully on Windows 10 x64 using the steps at PyTORCH on Windows 10: An...

View Article

npm command not found in wsl

I had installed nodejs on windows10 & its path is also set to environment variable. It is working perfectly. As I switched to WSL I found npm commands were not working however I could run node.exe...

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

How to open a video file in Windows using the Ubuntu terminal?

So I am learning the Linux/Ubuntu command line. One of the things I want to be able to do is to use the Ubuntu terminal (Windows Subsystem for Linux) to open video files (mp4) on my computer (Windows...

View Article


Accessing graphics in Ubuntu which is installed as an app in Windows 10 HP

I have a windows 10 HP tower workstation with NVIDIA GeForce GTX 1070 graphics card, in which I installed UBUNTU 18.04 as an app (natively), by following the...

View Article

Installing Ubuntu - "The specified network name is no longer available."

Screenshot of the issue.I installed Ubtunu 20.04 LTS (as I've read that I need Ubuntu to use ruby on rails on windows 10).When I open it up for the first time, after installing, it reads:"Installing,...

View Article


How to install ssh keychain on my ubuntu wsl

Please help me how can i install ssh keychain on my ubuntu wsl in order for me to be able to configure my .ssh/config file to use key chain. I've tried editing my config file that i created myself in...

View Article

How to install ssh keychain on Ubuntu with WSL

Please help me understand how to install ssh keychain on my Ubuntu under WSL in order for me to be able to configure my .ssh/config file to use key chain. I've tried editing my config file that I...

View Article

Format or leave my ubuntu terminal WSL without any packages?

It is obvious that when installing wsl, along with the Ubuntu distribution, it comes with pre-installed packages, such as git, curl, wget, etc., however I would like to have it like the classic ubuntu...

View Article
Browsing all 2795 articles
Browse latest View live


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