Latest Ubuntu related questions

Score: 0
Stan Huang at Taiwan avatar
How come my UDP6 port was not listened in my net-snmp?
ru flag

My Net-Snmp version was v5.9.3. It works fine basically except it doesn't serve IPv6. I used 'netstat --uln' and found only 'udp :::161', but no 'udp6 :::161'. It's obviously that it listens only at udp:161, not at udp6:161.

My .../etc/snmp/snmpd.conf contains:

rocommunity xxxx localhost

rocommunity public

rocommunity6 public

agentaddress udp:161,udp6:161

What did I still miss for making my SNMP Dae ...

Score: 0
KJA avatar
Lenovo LS2223WC monitor low resolusion
es flag
KJA

My fresh Ubuntu 22.04 installation is not OK with Lenovo LS2223WC monitor. Its maximum available resolution is 1024x728. While it happens higher resolutions with other monitors, I wonder if it is a problem with the monitor driver and installation of a supporting driver may be a fix. The monitor is connected by standard RGB cable. The monitor is not recognized by the OS.

lspci | grep VGA
00:02.0 VGA ...
Score: 0
Randyman99 avatar
Do I need to regereate initramfs when I move Linux to new partitions?
je flag

When I restore my Linux backups from either an image file or tar backups to new partitions/volumes (root, boot, and home), do I need to regerenerate the initramfs files as well? I would use the command:

sudo update-initramfs -u -k all

I'm writing a script file to automate things such as renaming the labels, regenerating the UUIDs, updating the /etc/fstab file, and validating/regenerating the symlinks t ...

Score: 0
erwin ou avatar
amdgpu: [powerplay] #012 failed to send message 282 ret is 65535
eh flag

when I use two displays(HDMI+DVI) in rx550.and the linux kernel is 4.19. the rx550 is not working sometime. and the messages is followed: last message was failed ret is 65535 amdgpu: [powerplay] #012 failed to send message 282 ret is 65535

Score: 1
FedKad avatar
Description of /proc/driver/rtc output
cn flag

I probably have a dead CMOS (BIOS main board?) battery. When I power on my computer the date and time is reverted to an old date (something like 2009-1-1).

So, I checked the following:

$ cat /proc/driver/rtc 
rtc_time    : 09:43:09
rtc_date    : 2023-03-23
alrm_time   : 08:34:43
alrm_date   : 2009-01-01
alarm_IRQ   : no
alrm_pending    : no
update IRQ enabled  : no
periodic IRQ enabled    : no
periodi ...
Score: 0
How to display the program icon instead of the Terminology icon on the dock when launching from Terminology?
ua flag

When I launch any program from Terminology, the Terminology icon is displayed on the dock. Is there a way to show the respective program icon instead?

Score: -1
Володимир avatar
Compatiblity with Ubuntu
bw flag

I'm already getting closed answers for unsupported versions of Ubuntu. But what do I do? I have a 2012 PC, 2G RAM, an old processor (i386 architecture). Not surprising: non-compatible with new versions of Ubuntu. I'm still more impressed with Ubuntu... I can't tell.

Score: 6
Hussain avatar
How to open a PDF file with "Master PDF Editor" application from terminal?
tw flag

I want to open a PDF file from terminal. I only know the command xdg-open file-name.xxx to open a file. But once I use this command, it opens the PDF file with the Document Viewer application (Evince).

How to open a file from terminal with a non-default application (specifically a PDF with Master PDF Editor)?

Score: 0
Tom Rev avatar
DNS_PROBE_FINISHED_NXDOMAIN for some websites
US flag

As the header say I have problems accessing some websites for example duckduckgo.com and microsoft.com. If I try these sites the web browser reports that the site can't be accessed and mentions the DNS_PROBE_FINISHED_NXDOMAIN error. I rebooted, switched off and on the router, did "sudo systemctl restart NetworkManager.service", nothing. Sometimes the issue is temporarily fixed if I unplug the ethernet c ...

Score: 0
txtechnician avatar
Keepassxc installed via snap disappeared
ms flag

As you can see from this photo. I had installed keepassxc via snap. And upon a restart it just disappeared. I didn't change anything that had to do with snap or keepassxc. Has anyone had this happen with another snap install?

enter image description here

Score: 0
tlhIngan avatar
How to troubleshoot no audio over HDMI
tr flag

Yes, this question has been asked 6 or 7 million times already. But everybody has had a different cause for it, and therefore everybody has had a different solution to it. I am suffering from this issue, so I thought I would have a post where all the main causes (and solutions) are listed along with the troubleshooting steps. Of course, if anybody sees anything that I'm missing, please chime in.

 ...

Score: -3
himanshu chhatwal avatar
Can use sudo apt update
ps flag
himanshu_chhatwal@Himanshu:~$ sudo apt update 
Hit:1 http://archive.ubuntu.com/ubuntu focal InRelease                         
Hit:2 http://archive.ubuntu.com/ubuntu focal-updates InRelease                 
Hit:3 https://ppa.launchpadcontent.net/blaze/rtbth-dkms/ubuntu jammy InRelease 
Hit:4 https://ppa.launchpadcontent.net/kiwixteam/release/ubuntu jammy InRelease
Hit:5 https://deb.nodesource.com/node_19. ...
Score: 0
160kilo avatar
ufw blocks all traffic on system boot
ci flag

ufw has default values. When booting the system 5 minutes black screen and only after that the system is fully loaded. In order for the Internet to work, you have to turn off ufw and then turn it on again and then the rules work correctly. Ubuntu 22.04.

Score: 0
Shivam... avatar
vmlinuz file missing under /boot on Windows 11
ug flag

I am learning Linux command line and have installed ubuntu terminal on my Windows 11 machine. The tutorial here suggests to open /boot directory and I should find Linux kernel file 'vmlinuz' but as in below screenshot I am unable to.

enter image description here

Is it because I am not using the actual Ubuntu OS and is just a terminal utility?

Score: 0
awaara avatar
How to preserve Ubuntu when reinstalling Windows 11 (Dualboot)
ms flag

Recently my windows partition broke and I am not able to boot into windows. I spoke with Lenovo techs and the only option I have is to reinstall windows 11 using a flash drive.

When this happened I was not able to get into my ubuntu system either. It would boot however as soon as I would log in it would loop back to the login page. I saw some tutorials etc and tried some things but nothing worked ...

Score: 1
Migs123 avatar
How to batch change a file extention
kh flag

I have a bunch of mp3 files that I would like to change the extension of into m4bs, in the terminal for audiobooks. I want to convert/change the name of each indivicual mp3. I am pretty sure I can just change the file extensino and it would be work. I looked online and there are a few ways to do this, but I don't understand the steps too well. So I tried in the terminal in Ubuntu:

for i in *.mp3; d ...
Score: 0
knighttrain1149 avatar
Can I VNC into a machine running Ubuntu Server LTS and is running a custom application at start up
is flag

I have a machine that is running Ubuntu Server LTS and I am launching an Openbox session on start up and then launching a custom application on Openbox autostart so that all the user sees is the custom application. I do not have it login at all. When I stop my program it takes me to the console to login. I am wanting to set up a VNC server to be able to control the software remotely. I was trying to do ...

Score: 0
AlainD avatar
Ubuntu 22.04 guest not complete boot (VirtualBox)
jp flag

Have just downloaded the .iso for Ubuntu 22.04 LTS and installed in VirtualBox (latest version v7.0.6). Everything seemed to install ok (although taking around 60 minutes, which felt like a long time). However, when I run the VM in VirtualBox, Ubuntu appears to boot ok, but only the desktop is displayed.

Ubuntu showing the desktop only

I've tried many combinations of small tweaks on the settings such as changing the RAM, number of p ...

Score: 1
sammy17 avatar
Custom kernel giving an error ALERT! UUID= does not exist. Dropping to shell
ga flag

I have compiled and installed a custom kernel version in Ubuntu 22.04 by following the instructions in https://wiki.ubuntu.com/Kernel/BuildYourOwnKernel

Now when I select my new customized kernel (5.15.0-68-generic) in Grub menu and try to boot up from that, it gives me following error and drop to a shell.

ALERT! UUID=<my UUID> does not exist. Dropping to shell. 

I double checked the UUID abo ...

Score: 0
s.k avatar
Do I have to extend the partition hosting a LVM VG or could I directly extend the LVM VG to use the free disk space
cn flag
s.k

How to extend this LVM disk to use the extra space of the sda disk:

$ sudo lsblk
NAME                           MAJ:MIN RM  SIZE RO TYPE MOUNTPOINT
fd0                              2:0    1    4K  0 disk 
sda                              8:0    0  100G  0 disk        <-- this disk has been allocated more space but it's not used yet
├─sda1                           8:1    0  487M  0 part /boot
├┠...
Score: 1
ROHAN PAL avatar
I am facing a problem with gedit. When i want to save a file then some warnings are displayed
qa flag

This is not a problem but it is bothering very much.So how to off this warnings like

Set document metadata failed: Setting attribute metadata::gedit-spell-language not supported
Set document metadata failed: Setting attribute metadata::gedit-encoding not supported
Set document metadata failed: Setting attribute metadata::gedit-position not supported
Score: 0
kegdeg avatar
permission denied when activating virtual environment
cn flag

When typing from local user the following command: 'source .env/bin/activate' returns 'bash: .env/bin/activate: Permission denied'

I can 'sudo bash' and then 'source .env/bin/activate' and that works fine, but I want it to do it from my user, not from root. How can that be fixed?

Score: 0
goofu avatar
Some months ago I dual booted Ubuntu 22.04 with Windows 10 on my desktop computer. All was working fine until I installed Gnome Shell Extensions
us flag

Then I decided that I did not need the Shell extensions, I searched online and probably got ancient info on how to uninstall them. The next day when I tried to boot up Ubuntu 22.04 I got what looks like a Terminal page that reads:

Ubuntu 22.04 LTS  doug-24-b019 tty1. doug-24-b019 login:

So entered my login. Then:

Password:

I entered my password. Then:

Welcome to Ubuntu 22.04..2 LTS (GNU/LINUX 5 ...
Score: 0
Roy Ash avatar
Install libwidevinecdm0 on Ubuntu
es flag

I want to install libwidevinecdm0 on Ubuntu 22.10. for that I need to add RaspberryOS Bullseye repository. Is there a way to hold everything but libwidevinecdm0?

THere is instructions in https://www.blackmoreops.com/2021/09/16/add-raspberry-pi-repository-in-ubuntu/ but I must hold everything else

Score: 0
Nicholas Saunders avatar
Why are more display resolutions now available from Wayland?
mx flag

The modes being picked up for setting the display resolution are now correct following a reboot:

nicholas@mordor:~$ 
nicholas@mordor:~$ cat /sys/class/drm/card0/card0-VGA-1/modes 
1920x1080
1600x900
1280x1024
1280x1024
1152x864
1024x768
1024x768
800x600
800x600
640x480
640x480
720x400
nicholas@mordor:~$ 
nicholas@mordor:~$ lsb_release -a
No LSB modules are available.
Distributor ID: Ubuntu
Descript ...
Score: 0
Szade avatar
Self signed certificate working on chrome in windows, but not on ubuntu
mp flag

I'm hosting some site thru apache2 in virtualbox. I am connecting by https://. I have trouble reaching it on chrome in Ubuntu. I ran the same virtual machine on windows and there it loaded in chrome after disabling "chrome://flags#block-insecure-private-network-requests". Then - the site loaded with a skipable warning about the certificate. Disabling the same flag on Ubuntu does nothing. The chrome vers ...

Score: 0
Yaroslav avatar
Why my SD Card not marked as removable?
br flag

My SD card in the card reader detected as mmcblk0

/sys/block/mmcblk0 -> ../devices/pci0000:00/0000:00:01.3/0000:01:00.0/rtsx_pci_sdmmc.0/mmc_host/mmc0/mmc0:0001/block/mmcblk0

but it's not marked as removable

$ cat /sys/block/mmcblk0/removable
0

I have found a lot of issues across the internet related to this because the drive is not recognized as removable but unable to find a solution.

$ lsb_r ...
Score: -2
daniel arenas avatar
Why I get this error installing python venv software?
it flag

I'm quite new to linux and python and I'm trying to install a python software (openmotor) in a python virtual enviroment as the author recommends to do it but I'm getting this error message when trying to install required packages.


$ pip install -r requirements.txt

Collecting appdirs
  Using cached appdirs-1.4.4-py2.py3-none-any.whl (9.6 kB)
Collecting cycler
  Using cached cycler-0.11.0-py3-none-any.w ...
Score: 0
Linus Schneider avatar
My desktop doesnt work, i cant close windows the windows look scuffed
it flag

Ok so i started my pc today and i think it installed an update(the shut down and restart symbols for example look different) and i cant really use my desktop. Windows like ms teams or firefox or any windows cant be closed. The bar at top of the firefox window is also just not there. The cursor sometimes turns to an x. I cant enter text fields. Tried restarting, cant use normal terminal, cmd alt f2 works ...

Score: -3
Kartik Rohilla avatar
Error in Partial Upgrade
bg flag

i have ubuntu 20 04 and want to upgrade to 22-04 i downloaded iso...but it don't worked... i then decide to go through software updater so i opened it but it shows partial upgrade...which is dangerous.. so i decide to solve this chat with ChatGPT and ChatGPT told that use terminal and something called sudo apt update, then upgrade, then dist-upgrade so i do that and then restart... now i am on a new ubu ...

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.