Latest Ubuntu related questions

Score: 0
Xavier Humbert avatar
Ntpd drifting, very fast
za flag

I have to run stop ntp/ntpdate/start ntp every day, since my Laptop (ThinkPas AMD64 Rhyzen, Ubuntu 20.04) looses half an hour a day

Here is my ntp.conf (almost the default):

driftfile /var/lib/ntp/ntp.drift
leapfile /usr/share/zoneinfo/leap-seconds.list

statistics loopstats peerstats clockstats
filegen loopstats file loopstats type day enable
filegen peerstats file peerstats type day enable
filegen c ...
Score: 0
Pikaschu avatar
Error in Mysql running
az flag

Please check the below image and let me know how to stop the terminal or end the process. This happened after I entered sudo /usr/sbin/mysqld.

img_terminal

Also do inform me about how to reset the password as with sudo command. The entered password shows the below error. ERROR 2002 (HY000): Can't connect to local MySQL server through socket '/var/run/mysqld/mysqld.sock' (2)

Score: 0
Joshua Ferguson avatar
how to check what graphics driver is currently loaded
id flag

Okay, so nvidia and nouveau don't play well together and I'm currently trying to set up my system where I will have both installed and can choose which drivers to use at boot(by blacklisting the other). Currently I have quite a few settings in my .bash_profile that are specific to the nvidia drivers.

I was wondering how to tell what drivers are in use

Score: 0
Php 8.0 won't execute phpmyadmin script, but runs simple phpinfo script perfectly
ch flag

No matter which version of Ubuntu, I never have had a problem installing and running phpmyadmin. Not so under 21.10. I have purged and completely re-installed apache2, mysql, and php8.0, deleting the phpmyadmin database and all related account info. Php executes a simple phpinfo script perfectly, but when I attempt to run phpmyadmin, its script displays but will not execute. I must be missing someth ...

Score: 1
Variables for constructing patterns for use with sed
jp flag

I have written a bash function to print sections of text enclosed between lines matching ## mode: org and ## # End of org in a file, with an empty line between sections. Before the ##, there can be any number of spaces.

Here is an example of a file to extract information from.

file: test.sh

## mode: org
## * Using case statement
## # End of org
case $arg in
 ("V")
   echo "Author"
   ;;
 (*)
   ## mod ...
Score: 0
MOHAMED BAYNI avatar
how to remove sql developer - 21.2.1.204.1703 on ubuntu 20.04
ro flag

i installed sqldeveloper-21.2.1.204.1703-no-jre.zip

and now i cant remove it

i tried using sudo apt remove sqldeveloper

this error come up :E: Unable to locate package sqldeveloper

Score: 0
cannot see intel AX200 wifi adapter in fresh ubuntu install
br flag

Just downloaded and installed latest Ubuntu Desktop and cannot see my wifi adapter. firmware is present in lib/firmware. Not a dual boot system.

The system sees the adapter but seems unable to load the necessary modules to get it running:

tony@tony-X570-AORUS-MASTER:~$ sudo modprobe -r iwlwifi

tony@tony-X570-AORUS-MASTER:~$ sudo modprobe -fv >iwlwifi insmod /lib/modules/5.11.0-38-generic/kernel/ne ...
Score: 1
Connected on wireless but no internet access in Ubuntu 20.04
ae flag

I have just started picking up Ubuntu and have come across an issue I cannot seem to resolve. I have been using linux for a few days and it has been working fine. All of a sudden, today I was not able to connect to the internet.

I cannot connect to any website. It shows I am connected to my home's wireless network. My internet is working on other devices. In fact, I have both windows and linux on ...

Score: 0
Cannot set a higher resolution on primary VGA display
vn flag

Please refer to: Unable to set my screen resolution higher

I have the same problem; the primary (and only) screen can run @ 1920x1080 but system says @ 1024x768 max.

CPU: Intel Core 2 DUO E7500 (please don't laugh!) GPU: Intel G33 Express Integrated Graphics Controller (rev 10), OS: Ubuntu 20.04 LTS, xrandr shows screen 0 is 'VGA1'

The answer given is: sudo xrandr --newmode "1920x1080_60.00" 173.00 192 ...

Score: 0
When I installed Wsl unbuntu Installed and Crashed
de flag

When I installed Wsl and restarted, Ubuntu was installing but it stucked mid half, then my pc got stuck I waited and forced an restart, all good so far but since then my pc gets blue screen's and gets regularly stuck.

So I need some help to fix that.

I already reinstalled Windows, cleaned the storage and checked for malware... any tips ??

Score: 1
skekmal avatar
How to connect to my phones's hotspot automatically as soon as it is detected by my desktop?
mx flag

I have two devices through which i access the internet on my Ubuntu 21.10 desktop:a portable broadband device (always active/on) and my android phone's hotspot (active occasionally to save battery). Everytime i want to connect to my phone's hotspot i turn on my phone's hotspot, open ubuntu's settings, go to WiFi and then wait a few seconds for the hotspot to get discovered by the Wifi adapter and then s ...

Score: 0
Lachlan avatar
How to remove files/folders from a Hard-drive containing Windows on Ubuntu
ng flag

I currently have a dual boot setup with Windows 11 and Ubuntu with a separate Hard-drive for each OS, But i need to delete some files/folders from Windows 11 to fix an bug that is preventing me from logging into Windows. I have tried both Dolphin and Krusader (Root Mode) to delete the files/folders. Although when i delete some folders it pops up with the error "Could not remove folder" and others that i ...

Score: 0
Hirsute/Impish - Laptop backlight brightness not controllable with nvidia-drivers-470
cn flag

I updated my nVidia drivers from 460 to 470 in order to use GloriousEggroll's fork of Proton with Steam. Since then, my laptop's brightness has been stuck on full. The GUI brightness control slides but has no effect. Manually echoing a value into /sys/class/backlight/nvidia0/brightness also has no effect (though shows the value has changed when cat'd).

I was running Hirsute on kernel 5.11.0-38. I  ...

Score: 0
Ilia Manjavidze avatar
how to list all upgradable packages without using apt
kr flag

I have a script like this.

#!/bin/sh

apt-get update

[ "$(apt list --upgradable 2>/dev/null | grep -c upgradable)" -gt 0 ] &&
apt-get upgrade --with-new-pkgs -y &&
apt-get autoremove -y &&
apt-get autoclean -y

only problem is that everytime I run this, it shows warning about apt not having a stable cli. How can I list all upgradable packages without apt?
On apt manpage i ...

Score: 0
Which file operations trigger directory modification time and date to change?
yt flag

I have a directory named IT-documentation. Using ls -l in the terminal at its parent directory level yields (among numerous other lines)

drwxr-xr-x 16 robin robin 4096 Oct 31 08:02 IT-documentation

Now I say cd IT-documentation, then repeat ls -l. Among the numerous other lines this yields is

drwxr-xr-x  2 robin robin 4096 Nov  1 10:00 'How Tos'

On November 1 a file was in fact added to the subdir ...

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.