Latest Ubuntu related questions

Score: 0
sphere avatar
If resolv.conf not found what is DNS default?
ru flag

I have deleted the symlink /etc/resolv.conf. Am I right in thinking that stopping and disabling systemd-resolved prevents /etc/resolv.conf being recreated on boot? Or do multiple things try and recreate this file?

My second question is: if I boot Ubuntu in this state, how will it deal with a ping to abc.com if there is nothing at /etc/resolv.conf? Does it fall back to some other default? If I have ...

Score: 0
user1652158 avatar
Apache Server on Ubuntu 22.04 crashes when I enable ModSecurity
hu flag

I am building a server on Ubuntu 22.04 with Apache2 - latest version. When I enable ModSecurity, I get an error message when I try to restart apache. As soon as I disable ModSecurity, the error message goes away when restarting apache and my website is back online. Any suggestions?

Details:

× apache2.service - The Apache HTTP Server
     Loaded: loaded (/lib/systemd/system/apache2.service; enabled ...
Score: 7
Corvette1250 avatar
How to enable HWE on Ubuntu 22.04
in flag

I have an installation of Ubuntu 22.04 (desktop) that I did as soon as 22.04 was available, so it was 22.04.0 at the time. It's fully up to date and currently on 22.04.1 according to "lsb_release -a".

It doesn't seem like I have any of the "hwe" packages installed that I see some other people referencing online, like "linux-generic-hwe-22.04".

I guess installations of 22.04.1 come with HWE by defaul ...

Score: 0
qwertz avatar
Custom settings for Touchpad are lost after Sleep KDE (Kubuntu)
zw flag

I am running Kubuntu on a Thinkpad L440. After sleep the mouse sometimes didn't work. Which could be fixed by adding

#!/bin/bash
[ "$1" = "post" ] && exec modprobe psmouse
[ "$1" = "pre" ] && exec rmmod psmouse
exit 0

to the file: /lib/systemd/system-sleep/fixtouchpad

as suggested here.

This works - but the custom settings for the touchpad are not used. I configured reverse scrol ...

Score: 0
Veetukka avatar
Any suggestions for dmenu in linux?
ru flag

I downloaded linux and dmenu a while ago, and i would like to get deeper into dmenu. Does anyone know detailed instructions? I don't kinda understand how it works and i don't know how to run my own scripts in it.

Score: 1
Hart Russell avatar
Ubuntu 18.04 xrdp "Fix" Broke Everything
sv flag

I have a Ubuntu 18.04 box I remotely access using xrdp. I noticed at login I kept getting this "Authentication is required to create a color profile/managed device" message whenever I logged in.

To fix this, I googled the problem and came upon this guide. Which basically had me create a file /etc/polkit-1/localauthority/50-local.d/45-allow-colord.pkla

Upon logging out and logging back in, the color  ...

Score: 0
baksoBoy avatar
Is there an alternative to Redshift that allows for more customization like exact times where the display starts to shift color & transition duration?
co flag

I am very new to Linux, so I apologize if my question is obvious to many people. I don't know if this is relevant, since I am still learning, but I am using the distro "pop! OS", which is built upon Ubuntu.

For Windows I use f.lux to tint my screen when it gets late, and when using Linux I have been using Redshift. My problem with Redshift however is that you are only able to specify when the red-sh ...

Score: 1
Sound output configuration option missing in settings on 22.04
ua flag

When connecting an audio device over bluetooth the audio quality is very poor and it gets interrupted a lot. It seems that I have the same problem as this asker.

The solution would be easy, but I'm missing the 'Configuration' option as it appears in other answers referring to older versions.

Where did the option move in 22.04? What am I missing?

Score: 0
Chouiba Zahira avatar
installing eccodes in UBUNTU
cn flag

Hi nice people I wish you are good. I have this problem of eccodes , grib_api_MOD_grib_get_int, I installed eccodes successfully, but I still have it, do you have any idea for me, I tried everything but still have it.

[FAIL] /usr/bin/ld: /home/zahira/ecmwf/scm-43r3v1.ref-oifs/src/ifs/climate/updclie_compo.F90:215: undefined reference to `__grib_api_MOD_grib_get_int'
[FAIL] /usr/bin/ld: /home/zahira ...
Score: 0
Tazul Islam avatar
Configure fail2ban for apache web server in ubuntu desktop
pt flag

I am using a apache2 web server in ubuntu. I want to use fail2ban for preventing brute force attack.

After installation fail2ban should start automatically. But its not active. I tried the command sudo systemctl start fail2ban.

When I use to check the command for status 'sudo systemctl status fail2ban' it said

active: failed with error exit code. 

After trying several methods I tried to install it on my  ...

Score: 0
James Gates avatar
Grub error no such partition Ubuntu 22.10
in flag

My Ubuntu crashed for some reason and when it restarted, it showed this

Error: no such partition
Entering rescue mode
Grub rescue>

When I do ls it only returns

(hd0)

I tried doing from ls (hd0,0) to ls (hd0,gpt9) and it always shows

Error: no such partition.

Even some commands don't seem to work like boot it shows

unknown command 'boot'

When I do set it returns

cmdpath=(hd0)
prefix=(hd0,gpt3) ...
Score: 0
gleb avatar
I Installed Ubuntu 22.10 on an Asus Vivobook. I found that I can connects to router but there is no internet
in flag

I have done some investigation. I think I need a wifi driver which can be found here https://linux-hardware.org/?computer=f7350a87fb1f Am I on the right track, if so, how do I download the driver ?
I Installed Ubuntu 22.10 on an Asus Vivobook. I found that I can connects to router, it even knows the password but there is no internet. Here is some information from the laptop. ping 8.8.8.8 gives ping: co ...

Score: 0
user135 avatar
How to get start of partition with bit precision
gt flag

Hello I am using the command to get the start of my partitions for a specific device

parted device print -m

the problem is that it isn't precise enough. I want to get the exact bit precise starting point of my partitions.

How can I get a more precise output?

Score: 0
Ronny Barthmann avatar
WiFi drops out for several seconds every few seconds
in flag

I have a strange "high ping spikes" problem

I always have a ping of 8-20ms but from time to time (approx. 1x per minute but very differently) the internet on my work computer freezes for a few seconds then my ping looks something like this:

64 bytes from 8.8.8.8: icmp_seq=73 ttl=109 time=8.87 ms
64 bytes from 8.8.8.8: icmp_seq=74 ttl=109 time=8.93 ms
64 bytes from 8.8.8.8: icmp_seq=75 ttl=109 time=10. ...
Score: 0
Νίκος Καββαθάς avatar
Noise in display
eg flag

Recently I installed latest version of LTS ubuntu and I've been running it alongside windows 10.Launching linux on screen2 (with higher resolution and refresh rate) i get sporadic grey dots or areas that move periodically.If I lower either refresh rate or resolution or both it gets fixed. On screen1 everything runs smoothly. Launching windows 10 both screens run smoothly on max ref rate and res. My gpu  ...

Score: 0
mat avatar
My ubuntu 20.04 LTS started running slow recently without any clear reasons
cv flag
mat

I'm a student in computer science so I really need my computer to work as fast as possible. Since yesterday, it started to run very slow. Especially when I try to start a new application like a gnome-term or a web browser. Every action, like apt update for example, take 50 times longer than usual without any exageration.

I'm a ubuntu user since now 2 month and everything went well until here. My compute ...

Score: 0
When checking for the details, Software Updater always shows: "no network detected", any way to fix this?
ph flag

In the old days, when I clicked on an item in the list of packages to be upgraded by the Software Upgrader interface, I would see details about the package and some information for why this upgrade should happen (I suppose from the changelog file).

It has been a while since that feature broken (for me) on my host machine or any VM in any version of Ubuntu (at least with 18.04, 20.04, 22.04, most  ...

Score: 0
Harm avatar
Ubuntu 22.04 - Pulseaudio only showing dummy output
br flag

After an update that announced itself today, I suddenly lost all output devices in Pulseaudio; only the dummy output remains. I don't know whether the update has anything to do with it, but it seems the only logical explanation. The problem is, nothing I have tried to fix it has worked:

  • Re-installing alsa and pulseaudio
  • Removing the pa config files (~/.config/pulse) and rebooting
  • Checking if the kernel ...
Score: -1
bradly avatar
I have never been able to install software in Ubuntu from an extracted tar.gz file. no matter what I try. is this a sick joke or is there a solution?
mn flag

So far none of the answers from other threads work. Ive been an experienced Linux user for many years, except for this one major issue, which is why it feels like a bad joke on me. I have probably downloaded hundreds of tar.gz files, and none have ever included a config or install file and I always get the "no such file or directory" response. I'm starting to think you guys are all messing with me. Is t ...

Score: 0
Paul derfanvontjcdfvt avatar
Gpu driver isues
za flag

My GPU is an `

Nvidia Gtx 1650

` I tried downloading the driver from the vendor and it said it installed correctly. But in settings i can't change the resolution (It is currently set to 1024x768) So my picture on the monitor is very packed,even though i had the right resolution working on Ubuntu once,but when i installed the driver it changed resolution. So i tried installing a driver over "Additional  ...

Score: 0
mohammad avatar
Repair grub boot after OS removal
tk flag

I have xubuntu and windows. I wanted to remove the xubuntu. So I deleted the partition in the hard drive. To make sure that it was deleted, I went to UEFI setting but was still seeing the xubuntu in the options. So I tried to log in xubuntu again but it seems that that was just the name and the os was removed. Now the only thing my screen shows is grub command line:

enter image description here

Can somebody please tell me how to bo ...

Score: 3
davemenc avatar
apt-get install postgresql-client says I'm upto date but I'm not
bg flag

I'm running Ubuntu 18.04 on an AWS box. I have postgresql 10.22. We just update the rds and, apparently, 10.22 is not compatible with pg server version 14. So I want to upgrade. I ran $ sudo apt-get update $ sudo apt-get install postgresql-client-14 response: E: Unable to locate package postgresql-client-14

I ran $ sudo apt-get install postgresql-client Response: postgresql-client is already the  ...

Score: 0
Valli Meena avatar
Raspberry pi 4 4gb not booting after inserting SD card with ubuntu 22.10 desktop OS
jp flag

I am having cana kit raspberry pi 4 4GB. I downloaded ubuntu 22.10 desktop image and using dd command flashed it onto my samsung 128 GB sd card. After inserting in raspberry pi and trying to see logs using minicom, I am not able to see any. Please help me out.

Score: 0
Smriti Sinha avatar
I've implemented a code that will check if the user input value is single digit or double or triple or more than that
sh flag

code

Output

I'm having problem with the output. Please let me know where am I wrong.

Score: 1
Aaryan Nagpal avatar
Shifting OS from SATA to SSD/HDD
am flag

I dual booted from Windows 11 to Ubuntu 22.04 3-4 weeks back, and i realised that the dev/sda is in the SATA drive.

The OS is very slow for me and I wanted to shift to the Hard Drive holding Windows OS and share that drive between the two. How do I do that?

Score: 0
bcsta avatar
sudo command throwing 'user is not in the sudoers file'
es flag

I am on user myuser on Ubuntu and it is only assigned to its own group myuser. sudo -i gives:

user is not in the sudoers file

I cannot log in to a wifi because it is asking for a password and myuser password is failing.

There is no admin on my machine, is there a way to add myuser to the other groups without sudo? Is a complete format/reset of the machine necessary?

The os is Ubuntu 22.04.1 LTS

 ...

Score: 0
how to run the top command with 'm' already pushed?
us flag

I want to run top so that it opens as if you hit the m key, what I really want is this:

How to run ''top'' command 1 time and exit?

But I want to

a) have the 'm' key hit b) sort by memory (shift-m)

Can this be done from the command line?

Thanks, Kevin

update - showing what i am seeking from command line without having to hit any key:

enter image description here

Just an update to clarify i need BOTH the sort by AND the memory showin ...

Score: 0
Looi avatar
How do I install a pdf printer for Foxit pdf reader on Ubuntu 22.04?
vn flag

I have some pdfs that I have commented out that I'd like to reprint as pdf to make the comments permanent. Foxit does not come with the 'Save to file' option like pre-installed Ubuntu 22.04 (Jammy Jellyfish) apps

Score: 0
WVXWV avatar
How can I expand filesystem partition (ext4) ubuntu?
br flag

I need help in expanding a filesystem partition. I am now on dual boot Windows 10 (SSD) + Ubuntu 22.04 (HDD). I noticed that Ubuntu was installed on HDD as be seen below: gparted

I accidentally moved 50GB of unallocated space into /dev/sda2 while trying to extend my /dev/sda3 partition. I am trying to look into Q&A but can't sure about the solution. I don't wanna mess around and ended up wiping my e ...

Score: 0
GNK avatar
error [SSL: CERTIFICATE_VERIFY_FAILED] certificate verify failed: unable to get local issuer certificate (_ssl.c:1131)
cn flag
GNK

Using Ubuntu20.04 version and I was able to clone the android source code but suddenly something went wrong in my system and now I am unable to clone the Android source code.

 $repo init -u https://android.googlesource.com/platform/manifest -b master
 Downloading Repo source from https://gerrit.googlesource.com/git-repo
fatal: Cannot get https://gerrit.googlesource.com/git-repo/clone.bundle
 fatal: ...

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.