Error when running tkinter in python " no display name and no $DISPLAY...
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__ self.tk =...
View ArticleUbuntu WSL2 cannot find example files of GTK3
I am learning gtk3 from the documentation and it works fine until a code has example headers included in it like this:#include "exampleapp.h"#include "exampleappwin.h"When I compile like the...
View ArticleWLS ROCm install problems: possibly no GPU devices
I've been trying to instal ROCm but when running command rocminfo I get this outcome:libkmod: ERROR ../libkmod/libkmod-module.c:1657 kmod_module_new_from_loaded: could not open /proc/modules: No such...
View ArticleWSL Ubuntu why does cpanm install Perl5 modules in the wrong spot?
I have Ubuntu installed under Windows Subsystem for Linux 2 (WSL2). There are Perl5 modules installed under /usr/share/perl/5.30.0 and I can access these with a plain use statement. But when I install...
View ArticleUnable to install pip into WSL (Ubuntu)?
I have successfully setup WSL on my Windows 10. I have also successfully downloaded and installed Python3. However, I am unable to get pip. How do I get pip?gyu@LAPTOP-PR3:/mnt/c/Windows/system32$...
View ArticleWindows Subsystem for Linux (WSL): what can't I do with the Ubuntu...
As most of you know, in the Microsoft Store, there are three versions of Ubuntu. This means that on Windows I can emulate Ubuntu and have the Ubuntu command line directly on Windows.The question is...
View ArticleAre there any limitations in working in Ubuntu in Windows Subsystem for Linux...
Are all of Ubuntu's capabilities including support for GUI applications available in the latest version of Windows Subsystem for Linux installation of Ubuntu or are there any limitations in working in...
View ArticleWhy Has My Ubuntu Started Defaulting To Root User On Startup? (Duel Running...
lsb_release -aNo LSB modules are available.Distributor ID: UbuntuDescription: Ubuntu 20.04.5 LTSRelease: 20.04Codename: focalHiI have been using Ubuntu for a number of months. I run a Windows 10 PC and...
View ArticleRunning Elasticsearch on Ubuntu on WSL: "System has not been booted with...
I'm using WSL on Windows 11 (with Ubuntu 22.04 LTS) and trying to use Elasticsearch on it. When I runsudo systemctl start elasticsearch.service, I get the error:System has not been booted with systemd...
View ArticleHow to connect Datagrip on Ubuntu (WSL) inside Windows
I have installed Ubuntu ecosystem from Microsoft Store (https://www.microsoft.com/en-us/p/ubuntu/9nblggh4msv6?SilentAuth=1&wa=wsignin1.0).After setting up the environment, I installed postgres,...
View ArticleResetting .bashrc on WSL without using the terminal
I was messing with the .bashrc, and i made a lolcat echo. Now i can't use the terminal at all, and i don't know how to reset the .bashrc file to default.
View ArticleEditing .bashrc in WSL safely
How do I edit the .bashrc file in Windows Subsystem for Linux safely?This article warns to never edit files stored in the WSL AppData folder using Windows tools.But then how do you edit files like...
View ArticleCan't fix an error inside of WSL because it's causing WSL to crash
Old question: "Removed zsh, but forgot to change shell back to bash, and now Ubuntu crashes (wsl)" Note that @steeldriver's answer works for my new question as well.I have been trying to install zsh on...
View ArticleTerminal is not spitting output after messing with ~/.bashrc file
My Terminal Image:I'm using Ubuntu with WSL and can't access GUI.Aforementioned images of my terminal, no output is displaying for anything I type. Terminal is acting like an editor. It happened after...
View ArticleUbuntu 20.04.4 and I edited my sudoers wrongly. cant correct it. cant use...
I found some solutions but they require using pkexec and pttyagent I had even more errors.triedpkexec visudo /etc/sudoers and got this"Error getting authority: Error initializing authority: Could not...
View ArticleWSL: how do I set the group for a tty device
I am running usbipd on windows 11 to enable USB devices to attach to WSL. This works. I can run my serial application as root and it works fine. I would rather not run my application as root. My user...
View ArticleSetting up the $DISPLAY environment variable on WSL2 to use Qt software
I am working on WSL2 (Ubuntu 20.04) and I have trouble setting up the $DISPLAY environment variable. More specificallly, I have a network configuration that allows me to ping devices connected to eth0,...
View ArticleUpgrade Ubuntu in WSL2
I'm new to WSL2-Ubuntu,my computer already had presintalled the 20.04 version, but I saw there's already the 22.04 version, so I was wondering if it was worthy to have the new one, if so, how can I...
View ArticleUpgrade Ubuntu in WSL2 from 20.04 to 22.04
I'm new to WSL2-Ubuntu. My computer already had preisntalled the 20.04 version, but I saw there's already the 22.04 version, so I was wondering if it was worthy to have the new one. If so, how can I...
View ArticleError installing Ubuntu 22.04 on WSL
When attempting to install Ubuntu on WSL, I get a "Something went wrong" error:How should I troubleshoot/resolve this?
View Article