Latest Ubuntu related questions

Score: 0
Thomas  avatar
cant enable UFW firewall
sk flag

I am trying to set up a code-server on my ubuntu 22.04. However I came to the realisation that my firewall wasnt enabled and tried enabling it using the instructions on this other thread : https://superuser.com/questions/590600/ufw-is-active-but-not-enabled-why.

When checking status of the firewall I am told it is inactive. when doing sudo ufw enable I am given this error message.:

Traceback (most  ...
Score: 1
sodiumnitrate avatar
pyenv Python 3.11.5 install fails in Kubuntu 23.04
cn flag

I'm using zsh and oh-my-zsh. I'm doing

➜  ~ pyenv install 3.11.5

and the output is:

Downloading Python-3.11.5.tar.xz...
-> https://www.python.org/ftp/python/3.11.5/Python-3.11.5.tar.xz
Installing Python-3.11.5...
Traceback (most recent call last):                                        
  File "<string>", line 1, in <module>
  File "/home/irem/.pyenv/versions/3.11.5/lib/python3.11/ct ...
Score: -2
Anas Gharsa avatar
Docker group and permissions
ru flag

I am learning penetration testing, and I am trying to perform linux privilege escalation using docker. So I created a new user with the minimum permissions and I added it to the docker group. The problem now is that this new user cannot run docker.

I tried to change the permission for this user using chmod but it does not work. Can anyone help me please to permit the new user to run docker!! this ...

Score: 0
Undead SSH services after restarting Ubuntu 22.04 on LXC machine
mo flag
Nux

Some services SSH die after restart on Ubuntu... Or so they say. The status is "inactive (dead)", but you can connect to the server. What could be the problem here? What can one check?

Some factors that might be important:

  • Those are virtual servers on a Proxmox 8 host (ZFS/LXC).
  • Things worked fine on CentOS with mostly the same things running under the hood (same types of services, same physical infrast ...
Score: 0
user28788 avatar
Enlightenment Desktop Connection Manager Blank
ke flag

I switched desktop managers to Enlightenment. I love it. But the connection manager gadget shows nothing. It is just an empty box with 'wifi on' at the bottom. I made sure connman-gtk was installed. It still shows nothing.

I am running Enlightenmnet. Here is my neofetch just for some basic info about my system.

OS: Ubuntu 23.04 x86_64
Host: GWTC116-2
Kernel: 6.2.0-31-generic
Uptime: 2 hours, 16 mi ...

Score: 0
red kintanar avatar
How can i recover a vdi file that was affected by dd?
ck flag

Detail: i accidentally used dd of=myfile.vdi and it went to 0 byte after.

is there a way to recover the file

Score: 2
Camel old avatar
How to connect it to another monitor to an old iMac running Ubuntu 22.04
ax flag

I have an old iMac 13.1. It was very slow, so I deleted its MacOS and installed Ubuntu 22.04.

On the back of this iMac there are two Thunderbolt ports. I bought a mini PD to HDMI cable, hoping that it can be used to connect to a Samsung 24" external monitor, but it seems that Ubuntu 20.04 does not detect the external monitor.

I was Googling but the results are for using an old iMac as monitor. The D ...

Score: 0
Ekos avatar
Ubuntu package manager error: E: The package linux-headers-5.15.0-58 needs to be reinstalled, but I can't find an archive for it
lb flag

Every time I try to install a package like using the command below

sudo apt install git

I get the output

Reading package lists... Done
Building dependency tree... Done
Reading state information... Done
E: The package linux-headers-5.15.0-58 needs to be reinstalled, but I can't find an archive for it.

I am currently on Ubuntu 22.04.1 LTS. I've been trying to fix it with commands from this post:

Score: 0
jimboextended avatar
No Wifi after fresh installation of ubuntu 22.04 intel Wi-Fi 6 AX200
hn flag

After a fresh installation of Ubuntu 22.04 I'm not able to use my wifi. The card is the intel Wi-Fi 6 AX200.

During installation I had no trouble using the card downloading updates. After the installation I can't use wifi.

I use a dual boot with Windows 11.

I tried to fix it with sudo apt install backport-iwlwifi-dkms. After rebooting there was no change.

After that I installed the official firmware fr ...

Score: 0
user1728935 avatar
Fatal error with usrmerge while upgrading to 22.04: duplicated locations of libssl and libcrypto files
mg flag

I am finding what it seems a common issue when upgrading Ubuntu versions - a usrmerge fatal error which also prevents the correct symlink assignments.

An indication that there was something wrong with the usrmerge appeared during the Ubuntu version upgrade from 20.04 to 22.04. The Ubuntu upgrade did happen:

ec@ec:~$ lsb_release -a
No LSB modules are available.
Distributor ID: Ubuntu
Description:    Ubuntu ...
Score: 0
Sun Bear avatar
Software update programs - which to keep and which to remove?
cn flag
$ dpkg -l | grep softwar
ii  brltty                                        6.4-4ubuntu3                                amd64        Access software for a blind person using a braille display
ii  docbook-xml                                   4.5-11                                      all          standard XML documentation system for software and systems
ii  espeak-ng-data:amd64                          1 ...
Score: 0
What are these non-generic kernels ending in azure, aws, nvidia, oem, oracle, gcp and how did they get installed?
ke flag

I run Ubuntu 22.04.3 LTS on a Dell laptop.

I noticed that I have quite a few kernels that are non-generic, but I don't know how they got installed.

The kernels ending in -azure, -aws, -nvidia, and -gcp do not work for me at all. Only the -lowlatency, -oem and of course -generic work for me. Not sure about -oracle kernel as I have not tried booting from that one.

I presume that those ending in -azure

Score: 0
SamirOnof avatar
How to create an auto executeable for running commands ad admin?
mh flag

I have an old laptop I run Ubuntu on. However the capacity of this pc is small, so I have to clean often. But opening the file with the commands, copying and pasting into the terminal, gets boring quick. So the idea is to set up a cron job every 5 hours. But I can't even get the .sh file to execute my admin tasks, even though I gave it chmod 777.

The commands in my clean.sh:

#!/bin/bash
free -h && ...
Score: 1
Xrazor plays avatar
Core i3-10105F CPU and NVIDIA GT 730 GPU always gets error messages when booting
bt flag

Ubuntu 20.04 boot screen:

enter image description here

Info about the computer: 8 gigs of RAM, Ubuntu 20.04.6 LTS,gnome type 3.36.8 It's pretty slow as I only use it for movies. Also lately with the error messages I realized that I can't even update the computer.

Score: 0
d9ngle avatar
pactl `source` module assigns a random port for mic each time
tz flag
  • rear mic, rear line-in, and front mic ports don't work by default on boot (but show "plugged in" in pavucontrol)
  • rear speaker port works by default on boot, but front headphone needs a sink to be created for it to activate

creating a sink for front headphone port works reliably, but mic on the other hand randomly picks one of the aforementioned ports (rear mic, front mic, rear line-in), sometimes it's ...

Score: -2
Bernhard Dedera avatar
Wallpaper 23.10
cy flag

a few days ago I saw a wallpaper for the new Ubuntu 23.10, mantic minotaur. It represents a round labyrinth in which the shape of the Minotaur can be seen. I think this combination of Labyrinth and Minotaur is awesome. I had these wallpapers in my system. Unfortunately after the reboot it disappeared from may system. Please let me know where to find these wallpapers.

thank you very much

Bernard

Score: 0
Siddhesh Kotkar avatar
Session gets lost after laptop is put on sleep
ar flag

The session gets lost after laptop is put down on sleep. Sometimes the session is restored and sometimes it gets lost. I am using Ubuntu 22.04 in a dual boot with Windows 10. This is my system configuration:

System Configuration

Score: 0
maqtanim avatar
Terminal always shows these extra lines after being opened
mx flag

I am using Kubuntu 22.04.3. Whenever I open the terminal (or konsole), the following five lines are always displayed.

bash: enable: bash: not a shell builtin
bash: enable: completion: not a shell builtin
bash: enable: in: not a shell builtin
bash: enable: interactive: not a shell builtin
bash: enable: shells: not a shell builtin

I am not sure what these lines mean. Am I doing something wrong?

Score: 0
Andrzej Olearka avatar
docker php image problem with keys
lr flag

I have problem after upgrading PHP image from 8.0 to PHP image 8.1 and on stackoverflow they sent me there

this is my dockerfile:

FROM php:8.1-apache AS apache
RUN a2enmod rewrite

WORKDIR /bin
WORKDIR ../

RUN apt-key adv --keyserver keyserver.ubuntu.com --recv-keys 0E98404D386FA1D9 6ED0E7B82643E131 F8D2585B8783D481 BDE6D2B9216EC7A8

RUN apt update \
    && apt install \
    curl \
    git \
 ...
Score: 0
game.changer avatar
Custimize status bar the ubuntu GUI
dk flag

Ubuntu 20.04 LTS

I want my status bar menu to show the connected Bluetooth devices without opening the settings, similar to what it shows for Wi-Fi.

enter image description here

Is there a way to program it? Any example starter projects and explanations would be helpful.

Score: 0
linoremmi avatar
Black screen after passphrase LUKS encryption
jo flag

I have a problem with ubuntu 22.04. when i put passphrase to LUKS disk the screen becomes all black and I can't do anything. I am completely stuck. What should I do?

Thanks for your consideration and help

Score: 0
Aditya avatar
Random black screen/ freeze while using ubuntu
ck flag

I install ubuntu 22.04 and after it screen get black randomly also while booting same black screen issue is happen . when screen get black system also get freeze and for wakeup need to press any keyboard key for multiple times. In 5 to 10 second screen get black and for waking it take some random second

please find attached screen recoding link and error while booting Error while bootingBlack scr ...

Score: 0
Kamuran Sönecek avatar
Schedule Shutdown returns an error: No buffer space available
ch flag

I have set up a few new headless Ubuntu servers.

:~$ lsb_release -a
No LSB modules are available.
Distributor ID: Ubuntu
Description:    Ubuntu 22.04.1 LTS
Release:        22.04
Codename:       jammy

After a while they work, I try to schedule a restart but It returns error.

:~$ sudo shutdown -r 8
Failed to set wall message, ignoring:No buffer space available
Failed to call ScheduleShutdown in log ...
Score: 2
Saulo avatar
How to bring all open apps back to desktop?
bd flag

In Ubuntu (22.04), super + D hide all opened apps and show the desktop. If super + D is pressed immediately after, all hidden apps are brought back to the desktop.

But if, right after hiding all apps, I open a new app, then super + D will hide the new opened app (and that's okay; this is the expected behavior for the super + D keystroke).

What I'm looking for is how to bring all apps back to the d ...

Score: 0
seeker avatar
Slow 5Ghz download speed with TP-LINK T3U Plus on Ubuntu 23.04
in flag

I have a TP-LINK T3U Plus AC1300 USB Adapter. On Windows, it gave me around 180 Mbps download and 170 Mbps upload on 5Ghz.

But on Ubuntu 23.04, the download speed on 5Ghz is only 12-16 Mbps, though the upload speed remains high at 160-170 Mbps. On 2.4Ghz, I get 20-35 Mbps download and 70 Mbps upload.

My internet plan is 200Mbps, so I expect to get close to this speed.

I believe this might be a driver i ...

Score: 0
Rishabh Sharma avatar
wifi and sound is not working after i install ubuntu 22.04 in Alder Lake-P PCH CNVi WiF
km flag

00:14.3 Network controller: Intel Corporation Alder Lake-P PCH CNVi WiFi (rev 01) DeviceName: Onboard - Ethernet Subsystem: Intel Corporation Device 0244 Kernel modules: iwlwifi

Score: 0
Sean Martinez avatar
How Do I Make A Secondary Drive Accessible Through The Main Directory Or In A Way Where Programs That Don't Have A Means To Accesss It In Their System
zm flag

I know that title was a bit convoluted, but I am running on 22.04, I have a Samsung M.2 SSD, and Seagate HDD both connected directly to the motherboard. The issue I keep running into is the secondary drive (HDD) that the OS "IS NOT" installed on is only accessible through "Other Locations" under the "Files" program. When I attempt to save a new file to the HDD like lets say in Blender, the "Directories" ...

Score: 0
intcultcom avatar
Making the Hangeul button NOT open the menu on browsers
io flag

So I've got my Korean language setup going strong and the language switching button on my keyboard is working MOST of the time - but I'm running into 2 problems. The first is the priority:

  1. When I click on the language switching button to the right of the space bar - the "HangulMode" button according to https://keyboardtestt.com - then it opens the Browser menu on both Firefox and Chromium (actually ...
Score: 0
Anuj Mishra avatar
Getting a blank screen with blinking cursor error after changing resolution
ec flag

I've recently installed Ubuntu 22.04 on a dual boot. I allocated 30 gb space for root.when I first plugged installation media, resolution wasn't optimum (it wasn't 1920x1080). I thought it would be okay after installation (as graphics card drivers are updated.. similar to windows) but that didn't happen. I watched several YouTube tutorials, visited websites and all i got was using "xrandr".(xrandr, add ...

Score: 0
Maureen Moore avatar
Lost Dual Boot after exiting BIOS
pa flag

I installed Linux Ubuntu along with Windows 11 as a dual boot. Everything was working fine until I opened up the BIOS and looked it over. Before I closed BIOS, I clicked on "Ignore changes and exit". But something did change! Instead of giving me the option to choose between Windows and Ubuntu when I started the computer, it booted up Windows every time with no option to choose. How do I get my dual boo ...

The Stunning Power of Questions

Much of an executive’s workday is spent asking others for information—requesting status updates from a team leader, for example, or questioning a counterpart in a tense negotiation. Yet unlike professionals such as litigators, journalists, and doctors, who are taught how to ask questions as an essential part of their training, few executives think of questioning as a skill that can be honed—or consider how their own answers to questions could make conversations more productive.

That’s a missed opportunity. Questioning is a uniquely powerful tool for unlocking value in organizations: It spurs learning and the exchange of ideas, it fuels innovation and performance improvement, it builds rapport and trust among team members. And it can mitigate business risk by uncovering unforeseen pitfalls and hazards.

For some people, questioning comes easily. Their natural inquisitiveness, emotional intelligence, and ability to read people put the ideal question on the tip of their tongue. But most of us don’t ask enough questions, nor do we pose our inquiries in an optimal way.

The good news is that by asking questions, we naturally improve our emotional intelligence, which in turn makes us better questioners—a virtuous cycle. In this article, we draw on insights from behavioral science research to explore how the way we frame questions and choose to answer our counterparts can influence the outcome of conversations. We offer guidance for choosing the best type, tone, sequence, and framing of questions and for deciding what and how much information to share to reap the most benefit from our interactions, not just for ourselves but for our organizations.