windows-subsystem-for-linux

coreutils man pages are missing in wsl fedora

coreutils man pages are missing in wsl fedora i installed fedora 39 on wsl but i ran into some issues when i tried using man when i used the man command i was getting no manual entry for … i had to remove tsflags=nodocs from /etc/dnf/dnf.conf i reinstalled man man-db man-pages and changed the MANPATH …

Total answers: 1

How to install an older version of GCC for armhf?

How to install an older version of GCC for armhf? I’m not really an expert of linux, so i’m feeling a bit lost. I’m running an Ubuntu 22.04.3 LTS image in WSL, as i need to cross-compile a program for an ARM linux pc using a Windows PC. That image was automagically installed by the …

Total answers: 1

WSL able to touch file but mkdir yields Permission denied

WSL able to touch file but mkdir yields Permission denied I am relaying my SSH connection and I want to restrict the ability of the remote user to view my files. I set umask = 027 in /etc/wsl.conf so that the Windows filesystem is mounted such that another user cannot read or write to the …

Total answers: 1

Machine MAC address with Ubuntu on top of WSL2

Machine MAC address with Ubuntu on top of WSL2 Running Ubuntu 22.04.3 LTS on top of WSL2 Output of ifconfig: eth0: flags=4163<UP,BROADCAST,RUNNING,MULTICAST> mtu 1492 inet 172.28.193.11 netmask 255.255.240.0 broadcast 172.28.207.255 inet6 fe80::215:5dff:fe3e:7ffa prefixlen 64 scopeid 0x20<link> ether 00:15:5d:3e:7f:fa txqueuelen 1000 (Ethernet) RX packets 1402 bytes 590609 (590.6 KB) RX errors 0 dropped 0 overruns 0 …

Total answers: 2

Ubuntu 22.04 Installation error from Microsoft Store

Ubuntu 22.04 Installation error from Microsoft Store I installed Ubuntu 22.04.3 on my Windows from the Microsoft store. it was working fine. Then I uninstalled it a few days after installation. Even after uninstallation, I can see the folder in the left pane of Windows Explorer. There I can see the Ubuntu folder is still …

Total answers: 1

teary screen while trying to use chromium in wsl2

teary screen while trying to use chromium in wsl2 a huge error appears when i try booting up chromium-browser through the terminal the worst part is that the browser is extremely teary.teary image this occured last time i used any gui app in wsl2 ie. gimp/jetbrains 2024/03/01 13:24:56.942877 cmd_run.go:1055: WARNING: cannot start document portal: dial …

Total answers: 1

WSL to RPD set up / Windows 11, Ubuntu 22.04

WSL to RPD set up / Windows 11, Ubuntu 22.04 I am trying to set up WSL to RDP, however I am getting black screen after entering my WSL credentials. Everywhere I read that I have to logout of the Ubuntu before I try to RDP, however I don’t really have any running Ubuntu, I …

Total answers: 1

wsl2: resolv.conf stubbornly being regenerated

wsl2: resolv.conf stubbornly being regenerated My /etc/wsl.conf: [network] generateResolvConf = false And yet my /etc/resolv.conf continues to regenerate. I specify: nameserver 8.8.8.8 Only to find it changed to: # This file was automatically generated by WSL. To stop automatic generation of this file, add the following entry to /etc/wsl.conf: # [network] # generateResolvConf = false …

Total answers: 1

Launching docker daemon in Ubuntu 22.04 LTS on WSL-2 fails because of iptables

Launching docker daemon in Ubuntu 22.04 LTS on WSL-2 fails because of iptables I’m trying to run docker inside of Ubuntu 22.04.3 LTS running in WSL-2 on my Windows 10 machine. I have followed the instructions here. But it’s still not working, I am getting the following error when I run sudo dockerd : failed …

Total answers: 2

Formatting USB SSD on WSL 2

Formatting USB SSD on WSL 2 I need to format a 1TB SSD connected through USB to the EXT4 file system. It is currently in NTFS. As I am on Windows, I thought the best way to get that is by installing the WLS 2 to be able to use Linux. This is my first …

Total answers: 1

Missing service – mysql: unrecognised service

Missing service – mysql: unrecognised service I’m running Ubuntu 20.04.6 on WSL, and am having trouble starting mysql-server using the command sudo service mysql start, which returns mysqld: unrecognized service (the same result with mysqld). For some background, this morning I accidentally upgraded rather than updated my environment, including MySQL to a version my editor …

Total answers: 1

set: pipefail failing on WSL windows 11 ubuntu 22.04.3

set: pipefail failing on WSL windows 11 ubuntu 22.04.3 i am currently having an issue with running a .sh file which can be found in here https://github.com/grugslair/Rising-Revenant/blob/dev/contracts/scripts/default_auth.sh i was originally dual booting windows and ubuntu 22.04 and i used to not get this error and the script worked fine so i know thats not an …

Total answers: 2

apt-get update prevented by signature failure

apt-get update prevented by signature failure I am trying to apt update on my WSL sudo apt-get update but getting this error. Err:6 https://linux.qmk.fm focal InRelease The following signatures couldn’t be verified because the public key is not available: NO_PUBKEY 8B748CC185DF5DA1 I tried out the below command as this post suggests and tried different urls …

Total answers: 1

apt upgrades to flatpak 1.12.7 instead of 1.14.4

Need flatpak 1.14.4 on Ubuntu 22.04, but apt installs flatpak 1.12.7 as latest I want flatpak 1.14.4 for the resolution of this issue when attempting to run kmail on WSL Ubuntu. When I run sudo apt upgrade flatpak, it says that the latest version of flatpak is 1.12.7-1. flatpak 1.14.4 was released in March, so …

Total answers: 1

WSL 2, Ubuntu 22.04: apt-get update 403 authenticationrequired

WSL 2, Ubuntu 22.04: apt-get update 403 authenticationrequired I have a fresh install of WSL 2 with Ubuntu 22.04 and I cannot perform an sudo apt-get update because of a 403 authentication required error (the full output is at the end). EDIT0: I am running this VM on a work machine, but the same thing …

Total answers: 2

How to export file from Ubuntu in WSL to my Windows 11?

How to export file from Ubuntu in WSL to my Windows 11? I’m trying to figure out a way to do it before I do my homework. I have been searching for a while and found no solution. This is in Ubuntu: For example, if this is my homework file how do I export it …

Total answers: 1

wsl -e cannot run a script that I can run when wsl has been executed

wsl -e cannot run a script that I can run when wsl has been executed I created a script in Ubuntu: # bash_test_01.sh echo "cmd is executed" Running the script from inside WSL works: > wsl $ cd /home $ /home/bash_test_01.sh cmd is executed. However running the script from outside WSL fails: > wsl -e …

Total answers: 1

Upgrade WSL Ubuntu (18.04) without removing snapd?

Upgrade WSL Ubuntu (18.04) without removing snapd? I tried to upgrade my Ubuntu WSL on Windows 10 to later Ubuntu as it had older 18.04 currently. But it failed with aborting error without additional information. I found online that others had removed snapd which was preventing the upgrade. I also removed snapd and then the …

Total answers: 1

WSL connect to remote server and use X server from windows

WSL connect to remote server and use X server from windows We have our company server, where we connect using ssh and private key. There we have oracle wallet manager (owm), but it can only be run using Xserver. If I setup putty in windows, allow x11 forwarding with address localhost:0.0, it works fine. But …

Total answers: 1