Latest Ubuntu related questions

Score: 0
JaSON avatar
How to make permanent changes to /etc/sudoers
ss flag

I'm trying to setup a Jenkins job that need to run an executable file under sudo

I do

  • sudo nano /etc/sudoers
  • add jenkins ALL=(ALL) NOPASSWD:ALL at the end of file
  • CTRL + X and confirm file save prompt

After that when I run the build that works fine but on the next run it fails and when I check /etc/sudoers I see that my change dropped...

What can be the reason and how to make the change work constantly ...

Score: 0
Offspring avatar
Ubuntu 22.04 LTS Bridged networking host DNS not working after reboot
lu flag

I seem to have a bit of an odd situation here. I just setup bridged networking on my Ubuntu desktop using nmcli, and everything was great until I rebooted. I set it up so that the bridged network allows the guest VMs to connect directly to the local network, and appear as regular machines.

The guests are working perfectly, which is what I was hoping for. The host was fine, until I rebooted and no ...

Score: 0
How to come out to the previous file in vi after entering a file with 'gf'?
za flag

I searched for this but couldn't find it.
When using vi for a file A, if I want to go to a file B when the cursor is on file B's filename, I press 'gf' and vi opens file B. After navigating inside file B, if I want to come out to file A, what is the correct key? I know that if I press 'ctrl+o' several times, I can come back to file A, and if I do ':rewind', I can come back out to the first file that ...

Score: 0
Mimif avatar
My eth0 and wlan0 disappeared and i have no internet...how do i fix
zw flag

I messed up big time.

It started when I opened my computer and got an error saying cinnamon crashed going into fallback mode. When this happened it showed that my internet was connected however 2hen I tried using apps that required internet it said I had no internet.

I looked up how to solve the issue and ended up deleting cinnamon but also rebooted my computer by mistake.

Now when I try to log in I ge ...

Score: 0
Joaquin Parada avatar
Issue when booting related to firewall
gn flag

Every time I boot my computer, just after choosing a user to log in, the computer freezes and nothing loads (you have to wait like 5 minutes). I was having problems setting up some firewall ports and in some way I believe I messed up something. So in order to load anything at the startup, I go to the console and reload the firewall with sudo ufw reload, then everything load up. Obviusly I dont want t ...

Score: 0
Mark Boshara avatar
The HDD is encrypted and I did not do this
py flag

In the beginning, my laptop has 2 hard disks, the first of the NVME SSD class and the other for HDD storage My problem, very briefly, is that I was using Windows and then I used the Hackintosh on the Dell laptop, and now I use Ubuntu version 22.04.2 LTS, and when I open the other HDD, I find this message

Failed to Mount 1.0 TB Encrypted Error Unlocking /dev/sda1:failed to active device: Operation ...

Score: 1
Mạnh Vũ avatar
How to fix libjpeg62/libjpeg8 installation conflict, it is preventing me from install any packages
in flag

I am using Ubuntu 22.04. Somehow, whenever I try to install a package in Ubuntu, I get this error

libjpeg-dev : Depends: libjpeg62-turbo-dev (>= 1:1.5.2-2+deb10u1) but it is not going to be installed

So I tried sudo apt -f install

But I got

dpkg: error processing archive /var/cache/apt/archives/libjpeg62-turbo-dev_1%3a1.5.2-2+deb10u1_amd64.deb (--unpack):
 trying to overwrite '/usr/include/jer ...
Score: 0
pierrely avatar
on lid suspend blank screen and irq messages on two lines
cn flag

the messages are also in the journal. [drm:dal_irq_service_dummy_ack [amdgpu]] ERROR dal_irq_service_dummy_ack: called for non- implemented irq source, src_id=0, ext_id=0

[drm:dal_irq_service_dummy_set [amdgpu]] ERROR dal_irq_service_dummy_set: called for non-implemented irq source, src_id=0, ext_id=0

Asus ryzen 5 20.4.1 wayland 5.19.0-46-generic

if it keeps up I will clonezilla back to last month. an ...

Score: 0
Andres Jalife avatar
Bluetooth dongle detected but not working in Ubuntu 22.04
cy flag

I've installed Ubuntu 22.04 and at some point my bluetooth stopped working.

I have a bluetooth external dongle: Amitosai MTS-BT5PRO. I think the problem might be with this device, but it's strange that in Ubuntu 20.04 it worked fine.

The service is up and running (in theory), but it cannot detect new devices nor connect to the already paired ones.

Prove that the device is detected (Realtek Semiconducto ...

Score: 0
Parisa.H.R avatar
How set VGA use only NVIDIA in ubuntu 22.04
us flag

As I check my GPU info by using this command :

lspci -k | grep -A 2 -i "VGA"

It said that I have only one choice and that was my Integrated Graphics card.

VGA compatible controller: Intel Corporation 4th Gen Core Processor Integrated Graphics Controller (rev 06) Subsystem: Lenovo 4th Gen Core Processor Integrated Graphics Controller Kernel driver in use: i915

enter image description here

But I have one NVIDIA GPU too which  ...

Score: 0
Danila avatar
Patch for the core of the asus tuf gaming A15 keyboard chip set, the keyboard does not work
ve flag

How do I find out the list of dependencies for the compilation of a certain kernel version?

Score: 0
gdoublee23 avatar
snd-hda-intel only showing up one audio output device (HMDI) also no input device
mf flag

So I added snd-hda-intel option to alsa-base.conf

options snd-hda-intel model=generic

but I'm only getting one output device which is the HDMI. The actual motherboard audio card is not working, including the internal laptop mic. I've tried also using auto setting but still not working.

My device is definitely listed as snd-hda-intel device in lspci but it's not showing up! Please help!

lspci -nnk |  ...

Score: 1
Nicolas Noble avatar
do-release-upgrade removes official ubuntu sources (and fail)
bd flag

I've been stuck for a little while on this one. Basically, I have a server running 20.04.6, and I've been trying to upgrade it to the current LTS. The only issue is that do-release-upgrade is removing the official Ubuntu sources from the apt sources list, and then refuses to proceed with the upgrade, as it can't find its essential packages.

Here's the relevant content of my /etc/apt/sources.list file ...

Score: 0
Bonnie Brae avatar
Can't restore heavy folder from trash in Ubuntu 22.04
sa flag

all, and thanks in advance for any help.

I'm trying to restore a heavy folder (mostly media files; 1.3TB out of a 2TB internal ssd) from Trash in Ubuntu 22.04, with no success so far.

-If I try restoring from the Trash folder opened from the desktop, the process hangs and I get a prompt asking me to wait or stop the process.

-If I try from Activities -> Files -> Trash , it tells me there's not en ...

Score: 0
Tikhon avatar
Why Can't I Create a VirtualBox VM Using Vagrant?
th flag

I recently bought a book called: DevOps for the Desparate and cannot get past chapter 1 exercises to create a VM in Oracle Virtual Box.

In the initial set-up phase for chapter 1, I am creating:

  1. A Hyper-V Ubuntu VM
  2. In the Ubuntu VM, I am creating another VM in Oracle VirtualBox using Vagrant

I've gone through the exercises multiple times now and not having much luck since when I get to the command tha ...

Score: 1
varcsax avatar
screenshot handler (Print-Screen) problem
tl flag

At 1st I installed the main Ubuntu distro 23.04 and I really liked the built in screenshot handler solution. But I shifted to the "Ubuntu Studio" 23.04 and the screenshot handler of this is really bad. I would like to install or utilize that schreenshot handler of main Ubuntu distro on the "Ubuntu Studio" edition. Is it possible? How can I do it? How to figure out the exact name of screenshot handler of ...

Score: 0
Nvidia drivers causing malfunction on my USB Ports
cl flag

Ubuntu: 22.04 LTS

My laptop have 2 USB Ports, I decided to install nvidia drivers because I read that it could solve some crash issues I had.

But after that I noticed one of my USB ports just don't work properly after installing the drivers, currently, if I apply the NVIDIA driver metapackage of nvidia-driver-535 only my USB 1 works, but if I apply NVIDIA driver metapackage of nvidia-driver-470 only my  ...

Score: 0
Ubuntu - mirroring single distro, single platform of armbian
ph flag

How to mirror only single distro, single platform on some device itself or local LAN?

Lets say some device / network needs to be self sufficient. I have found that minimal requirements are Space needs: 500Gb (images), 100Gb (packages) and (optional) 3TB for archives for https://github.com/armbian/mirror

This is done with:

rsync -av rsync://mirrors.dotsrc.org/armbian-dl
rsync -av rsync://mirrors.dotsrc ...
Score: 1
rdelangh avatar
sftp into chroot works fine, but debug messages reveil non-chroot authorized_keys absolute path
in flag

I have configured per-user chroot environments for SFTP to go into /somedir/jail/$user:

snippet from my /etc/ssh/sshd_config:

Match User myname
   AllowTcpForwarding no
   X11Forwarding no
   ChrootDirectory /somedir/jail/myname
   AuthorizedKeysFile /somedir/jail/myname/home/myname/.ssh/authorized_keys

This works fine:

% sftp myname@myserver
sftp> pwd
Remote working directory: /home/myname
Score: 0
Duncan avatar
Process for commissioning a new hard-disk-drive with Ubuntu
es flag

I have a Lenovo idea-centre pc The old HDD packed-in. I bought a new HDD - Seagate Barracuda 4TB I installed the new HDD today, loaded Ubuntu 22.04 via a live-usb and then rebooted BUT, Ubuntu would not boot - received the message "no operating system found". I have tried many workarounds - to no avail. It would appear that there is no boot-loader - ? Grub-2 Can anyone guide me to a solution - I am not  ...

Score: 0
dpak avatar
Ubuntu 22.04 only boots in lowlatency kernel
us flag

I think it is linked to NVIDIA drivers but I am not sure. I had nvidia drivers installed(not sure which one) and everything was working correctly. Since I started using zoom my system started rebooting randomly. After persistent reboots, Ubuntu decided to not use nvidia anymore which I am suspecting now may have been corrupted driver.

  • I installed the driver again and after reboot got blank screen eve ...
Score: 0
Brendan Limone avatar
Converting dual boot windows/ubuntu legacy to uefi
hk flag

I dual boot windows 10/ubuntu on my laptop and am looking to upgrade to windows 11. Problem is that when I initially installed windows/ubuntu, it was using legacy grub. I need to now enable secure boot uefi in order to upgrade to windows 11 but can't find guides on how to properly convert legacy grub to uefi in a dual boot situation. I've tried using boot-repair on an ubuntu liveCD but am running into ' ...

Score: 0
Erasing Ubuntu image on external hard-drive
in flag

I have burned an ubuntu image on an external hard-drive and I am trying to erase it. I have first tried to erase the image through the pi-imager but for some reason I get the error:

Error formatting (through udisks2)

So then I mounted it, but for some reason it can only be mounted in "read-only" mode. My first question here is: how could I force the mount of my hard-drive to be in "write" mode ? A ...

Score: 0
comm1ted avatar
Configure proxy for list of domains
nl flag

I want to configure proxy (Sock5 with login/pass) to some domains, like .askubuntu..
I can do it in firefox with extension Foxyproxy, but in chrome is doesn't work (socks5 proxy with auth don't work in chrome)
Can I somehow configure this for whole system?
I try to find proxyclient with GUI, but I can't find anything.

Score: 0
TimWescott avatar
Desktop WiFi stops after reboot for router but not phone
th flag

I have:

  • A lovely ancient desktop running Xubuntu 22.04
  • A Dell Latitude E7250 (5-year old 12.5" screen enterprise laptop) running Xubuntu 20.04
  • A Lenovo P53 (3-year old larger enteprise laptop) running Xubuntu 22.04
  • A Linksys AE6000 wireless adapter (lsusb reports ID 13b1:003e Linksys AE6000 802.11a/b/g/n/ac Wireless Adapter [MediaTek MT7610U])
  • A Netgear N900 dual-band wireless router
  • A Pixel 5

W ...

Score: -3
mathtick avatar
How to FIND ALL available ubuntu openssl versions?
in flag

Usual version mismatch problem.

I need a simple terse answer to the question of how to see all available versions.

sudo apt search libssl3

shows only one version.

Ubuntu 23.04

Score: 6
mathtick avatar
Is "apt-get remove openssl -y" VERY DANGEROUS?
in flag

Just ran this and it looks unancellable.

MUCH is being cleared out.

I simply want to remove and re-insall all ssl ssh apparatus.

There is horrible version mismatch.

Score: 0
vegaLDN avatar
So high temperature ubuntu 22.04 with amd ryzen 7 4800h and rtx 3050
sh flag

My problem: The problem is that when I have only the desktop open, the temperature can reach 65+ degrees, it can also jump a lot (within 5-8 seconds 50, 45, 60, 50). In Windows there is no such problem, in Windows the temperature is a maximum of 53 (only the desktop is also open). Another example: when I open a youtube video on Ubuntu, the temperature can be 75 degrees at all, while on Windows it is a m ...

Score: 13
banana avatar
Does anyone with w(write) permission also have the r(read) permission?
cn flag

There are 3 different levels in Linux file and directory permissions(Read, Write, Execute). In "Linux Basics for Hackers", page 50, write permission is defined as follows:

w Permission to write. This allows users to view and edit a file.

Is it correct to say that viewing a file is equivalent to reading it?

Score: 0
Alton Gandy avatar
I am not familiar with terminolgy but i need help os broken
al flag

Im running ubuntu 22.04 and i cant update anything after intalling new kernal or even log in i have to go back a kernel i try to update and i get this error "dpkg was interrupted, you must manually run 'dpkg --configure -a' to correct the problem" then when i do what it says it says its generating boot image and it repeats in terminal indefinitely i need help from the beggining anything what do i have t ...

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.