Deleted files are being listed in the windows directory when using `ls`
Output:xyz@Thinkpad:~$ ls ~/Desktop'CRE Octave.pdf' TMNT resources tron.bat '~$aphase 2.docx' Syllabus.pdf desktop.ini shell-lesson-data usr.lnkI reset windows and then installed wsl, set the windows...
View ArticleWSL2 Remote Desktop Can't connect to the remote computer for one of these...
I am trying to use a GUI with WSL2. I followed the instructions here and it initially worked fine. After rebooting my laptop I opened Ubuntu terminal and typed:sudo /etc/init.d/xrdp startto start xrdp...
View ArticleError when installing WSL and Ubuntu on Windows 11
I'm attempting to install Ubuntu on a Windows 11 pc (build 22621.963) using WSL, but I'm receiving the following error:Ubuntu was installed from the Microsoft Store.Windows Features:Virtual Machine...
View ArticleSMB Share Linux to Linux - Only root on the client is able to modify the...
I've got two linux machines, one server running a samba share with the following options:[Projects] path = /home/remote_user/Projects writeable = yes force user = remote_userI mounted this to the...
View ArticleHow 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 ArticleHow can you access net applications on wsl 2
I need to send a file from one WSL to another for a task I'm given. I tried to use SCP command, but it requires me to get a wifi0 IP address for the network both devices are connected to, which I don't...
View ArticleErrors attempting to run GPT detector under Ubuntu 22.04 WSL
While the OpenAI detector has been useful in identifying content that is created by ChatGPT and other OpenAI-based models, as usage increases (especially by users here on Stack Exchange sites), it's...
View ArticleHow to change Architecture from AARCH64 to x86_64 for package installation
I am on Windows 11 using WSL to download and use Solana and Anchor since Anchor doesnt work on Windows and I am trying to change my Architecture from AARCH64 to x86_64.My default Architecture and...
View ArticleWSL2 - VSCode's shell command `code` no longer working in Linux terminal
I am very new to Linux and WSL overall. I was able to use code . to open my current directory in VSCode, but after deleting something that I do not remember it just doesn't work anymore. I put in the...
View ArticleUbuntu not running
I have installed the latest wsl2 package for linux, I have enabled virtualization, and I have enabled subsystem for linux in the settings. I have tried uninstalling and unregistering from ubuntu and...
View ArticleWSL2 ubuntu 22.04 gnome-desktop error
I am getting this error.Could not resolve 'wsl-translinux.arkane-systems.net'Fetched 337 kB in 7s (47.6 kB/s)Reading package lists... DoneBuilding dependency tree... DoneReading state information......
View ArticleE: subprocess error
(base) karpagam@LAPTOP-SO8381B2:~$ sudo apt updateFile "/usr/share/python3/debpython/files.py", line 53, in from_packageraise Exception("cannot get content of %s" % package_name)Exception: cannot get...
View ArticleHow to configure Ubuntu terminal to jump/select words on Ctrl(+Shift)+Left...
I use Windows 11, but I also have Ubuntu running in WSL or when connecting with SSH.In Windows PowerShell terminal, Ctrl+Left and Ctrl+Right jumps a word to the left or right. Adding the Shift key...
View ArticleHow do I restart WSL on windows 11?
I'm trying to install the Ubuntu on WSL application on my Windows 11 laptop, but I am running into an error saying that I need to:restart WSL with the following command and try again:wsl --shutdownwsl...
View ArticleIn the windows terminal, can I start ubuntu from current directory while keep...
I use the Windows subsystem for Linux ubuntu distribution in the Windows Terminal.First I want to start the terminal from the current directory that I open in the file explorer. Therefore, I set...
View Articleapt update in WSL fails: Failed to fetch ... no such file or directory
I already updated WSL itself (as Administrator)> wsl --set-version ubuntu-20.04 2> wsl --updateWhich worked but still did not solve my problem inside the WSL Ubuntu 20.04.$ sudo apt updateReading...
View Articlegit clone with ssh not working but connects manually - wsl ubuntu 22.04
I'm trying to clone repo from the gitlab. I've already added the ssh keys in my account. What's supposed to happen when I clone via ssh is that the browser will open for authentication via duoconnect....
View ArticleWhere is WSL located on my computer?
I am new to Windows and have installed WSL2 based on the instructions provided here.It works fine, but I cannot locate where it has been installed on my computer. The output for pwd is home/nkp68.How...
View ArticleI'm using Ubuntu on WSL1 and recently upgraded to Windows 11. Problem with...
Edit: Should I submit this on stackoverflow?Sorry that this isn't strictly Ubuntu, but it is in regards to running Ubuntu under WSL1.My work machine was recently upgraded to Windows 11 and I think this...
View ArticleIn Windows Terminal running Ubuntu, how can I make the default directory be ~...
I have both Windows Terminal and Ubuntu installed from the Microsoft Store inside of Windows 10 (I don't know if this is WSL Version 1 or Version 2. The wsl -l -v command failed.).My default directory...
View Article