Latest Ubuntu related questions

Score: 1
qwerty812 avatar
Nvidia drivers not working on Ubuntu 22.04.1 LTS
lb flag

I just installed Ubuntu 22.04.1 LTS on my 2021 Acer Nitro 5. The problem is that Nvidia gpu isn't working.

I installed the drivers through the "additional drivers" panel and I choose a version that was not Nouveau (Actually i tried all versions including open kernel and server from 475 through 525); actually I'm running nvidia-driver-525 (proprietary)

If I open nvidia-smi I get the following erro ...

Score: 3
Chookitypok avatar
How to set Vim as the default text editor in Linux (Ubuntu)?
io flag

I found another way to set Vim as the default text editor in Ubuntu but I would like to know why this tutorial is not working for me:

https://www.a2hosting.com/kb/developer-corner/linux/setting-the-default-text-editor-in-linux

Here's what I did:

I edited ~/.bashrc by adding these 2 lines:

export EDITOR='vi'
export VISUAL='vi'

Then I typed the command:

source .bashrc

I also tried to log out of my acc ...

Score: 0
user25406 avatar
Today's update did not go through
in flag

I am using Kubuntu 22.04.1 on a Dell desktop
.
updates names all start with libpam libpam-modules
libpam-modules-bin
libpam-runtime
libpam0g
. Here's the message: . Package download failed:

E: http://security.ubuntu.com/ubuntu jammy-updates/main amd64 libpam0g amd64 1.4.0-11ubuntu2.3 is not (yet) available (Cannot initiate the connection to ca.archive.ubuntu.com:80 (2001:67c:1562::18). - connect (101 ...
Score: 1
Aqurds avatar
Lenovo Legion 5 Pro 16ACH6H brightness control problem with Ubuntu 22.04
ug flag

enter image description here

I just got a new installation of Ubuntu 22.04. The screen brightness control not working. The configuration of the machine and linux distro in the image.

*** I followed these steps:

sudo vim /etc/default/grub

GRUB_CMDLINE_LINUX_DEFAULT="quiet splash"

GRUB_CMDLINE_LINUX="nvidia-drm.modeset=1 acpi_backlight=native nvidia.NVreg_RegistryDwords=EnableBrightnessControl=1"

sudo ...
Score: 0
Dilik R avatar
Ubuntu 22.04 ACPI BIOS error
mr flag

I have a problem with installing Ubuntu via a USB flash drive. When I tried to run the installation, I got this error.

enter image description here

Score: 0
Gabriele Buondonno avatar
Stripping a pptx presentation from videos in LibreOffice Impress
it flag

I have a .pptx presentation I am editing in LibreOffice Impress. The presentation contains videos. This works fine, but the size of the presentation is quite large because of the videos (177M), which makes it difficult to share and send around. I exported it to pdf, but of course the result suffers from the same problem of size (152M).

I would like to have a lighter version, without videos, so that it's  ...

Score: 1
theSlender avatar
Running a command inside a gnu screen from a bash script
US flag

I'm currently trying to run a command in a detached gnu screen from bash, but simply using

screen -r myscreen
mycommand

doesn't work. Detaching from the screen after executing the command isn't necessary since the command is used to gracefully exit the program.

I also tried using

{ 
  mycommand
} | sudo screen -r myscreen

like answered on the post Bash Script commands inside a program, but this ...

Score: 6
tim.rohrer avatar
Ubuntu 20.04.5 LTS package upgrade broke Docker; how recover from this?
cn flag

VPS running 20.04 LTS with a handful of Docker images that have been around for years.

I just updated the security and, what should be, non-breaking upgrades (apt-get update && apt-get upgrade), but the process broke the Docker install. I've already tried removing and reinstalling, sudo dpkg --configure -a and similar commands, but it won't start. I have avoided purges as I'm not sure I under ...

Score: 0
ravi nagori avatar
Reinstalling ubuntu desktop makes the system unable to boot
cn flag

I had ubuntu 18.04 LTS and was having some issues with the AMD drivers. I got uninstalled the drivers and reinstalled ubuntu-desktop environment. But the system is unable to boot into the desktop. The screen keeps flashing/auto-refreshing every 2 secs.

I tried reinstalling gdm, fixing gdm with

sudo dpkg-reconfigure ubuntu-desktop
sudo dpkg-reconfigure gdm
sudo dpkg-reconfigure unity

but that did not solv ...

Score: 21
Organic Marble avatar
Inhibit ESM messages at login
us flag

I would like to inhibit the generation of the following messages when I ssh into my machine

Expanded Security Maintenance for Applications is not enabled.

Enable ESM Apps to receive additional future security updates.
See https://ubuntu.com/esm or run: sudo pro status

For some reason (I do not care to speculate why) these messages are not emitted through the normal motd process, but seem to emanate f ...

Score: 0
Leigh Mathieson avatar
Primary display is fixed to built-in when using external monitors
cn flag

After the latest updates to Ubuntu 22.04.1 LTS installed circa end of Jan 2023 (Dell Precision 7530 32GB core i9-8950HK 2.90 x 12. NVidia GP104GLM Quadro P3200 Mobile with 2 external monitors) system was running extremely slow, after moving the primary display back to built-in the speed resumed, however whenever I select anything other than the built-in display as primary, it simply stays exactly as it  ...

Score: 0
ms darck avatar
Unable to locate package apache2-bin
tr flag

I tried to run

apache2

And it said

Command 'apache2' not found, but can be installed with:
apt install apache2-bin

So I ran

apt install apache2-bin

And it said

Reading package lists... Done
Building dependency tree... Done
Reading state information... Done
E: Unable to locate package apache2-bin

I tried sudo apt update and sudo apt full-upgrade and it still didn't work.

I'm running Canonical- ...

Score: 0
vlz avatar
Dock changed after i3 installation
cn flag
vlz

My dash on the left hand side of the desktop is suddenly at the bottom of the desktop after I installed the i3 window manager (sudo apt install i3) and logged in and out of an i3 session.

I tried:

  • Changing the dash in Settings. The dash does not respond to any of the options (icon size, position, panel mode, etc.)
  • Uninstalling and purging i3 and all packages, that came with it (sudo apt purge --autorem ...
Score: 0
Evgeny avatar
Chopping (statering) sound with any bluetooth headset on Ubuntu 22.04
cf flag

Installed Ubuntu 22.04 on my Honor MagicBook 16 (AMD Ryzen 5 5600H) and found that can't use any bluetooth audio device: tried SONY WH-CH510, Honor EarBuds X, JBL speaker. Devices connected ok, but sound is terrible: chops, stattering, sometimes no sound at all. System info: uname -r: 5.15.0-56-generic (tried kernel 5.15.0-58, kernel 6)

lsusb:

Bus 004 Device 001: ID 1d6b:0003 Linux Foundation 3.0 root ...
Score: 0
El Manu avatar
Give access to /var/www SFTP and keep Apache safe
mu flag

As it's easy to configure a SFTP server following the documentation, I cannot find any answer to my "specific" demand, even if it looks a basic one and I'm sure I'm not alone in that case..

I have an apache server for several websites, in the /var/www directory. I want to offer read and write access to someone to help me debugging and tried different configurations, but I cannot find one that :

-giv ...

Score: 1
Linda Shulist avatar
I want to reduce an image from 8 x 11 to 3 x 5 using Shotwell or Image viewer
pe flag

I have many images I like to print to use in card-making. I try and use Shotwell to reduce the size from 8 x 11 to 3 x 5" and am having no success. Help.

Score: 0
Software Updater crashing when installing Ubuntu updates
id flag

I'm running Ubuntu 20.04.5 LTS, and I have been getting prompts to update my software for the last week. Today I accepted the invitation to update, entered my root password, and it started downloading a "Full Upgrade". but after about half an hour (at about 45% progress) I got an error message:

Failed to download package files...check your internet connection

However, I can ping https://archive. ...

Score: 0
Victor avatar
After update, second monitor doesn't seem to get recognized on startup
kw flag

I am dual booting Ubuntu 22.04.1 on a Lenovo laptop. I have an external monitor that I use as my primary display. Up until a month or two ago, everything was working fine. I would start up my computer, and it would know that my external monitor is connected through HDMI and that is my primary display.

Then (I think after some update) it just stopped working. Now when I start up my computer, my ex ...

Score: 2
Denny avatar
emergency mode in ubuntu
ps flag

There was a problem with my laptop. It was necessary to remove Matlab in order to install a new one and it was not removed, so I removed it through the unlocker, rebooted the laptop, and could no longer log in, or rather, GRUB does not start. The screen shows that:

error: no such partition

(I have two Ubuntu partitions and Windows, but Ubuntu is the main one). After that, I managed to enter the GNU GRU ...

Score: 0
Marinos An avatar
How to install mysql5 client in ubuntu 22.04?
in flag

I have ubuntu 22.04 and my current mysql client is at version: Ver 8.0.31-0ubuntu0.22.04.1 for Linux on x86_64 ((Ubuntu)) located at: /usr/bin/mysql. However when I try to connect to a database server I get: ERROR 1043 (08S01): Bad handshake

From what I have read, It seems that the solution to the above is to install a mysql5 client because the server is older than the client.

How can I do this in my ...

Score: 0
Coc Cov avatar
Ubuntu Server 22.10 on Raspberry Pi won't let me change arm_freq value
cg flag

Even though I specified the arm_freq value I wanted on my Raspberry Pi with Ubuntu Server 22.10, the system still stays on the stock clock speed instead of the specified one.

How can I make it respect the frequency I set?

Score: 2
Stan Huang at Taiwan avatar
How to force apt-get to install automake v1.16 while it says 1.15 is already the newest version?
ru flag

I got an error of missing aclocal-1.16 -I m4 in building my system. I tried to fix it by installing the newest version of automake, but it tells me that my automake is 1.15 which is already the newest version.

I googled it and found the newest version 1.16 of automake is available at "https://git.adelielinux.org/adelie/packages/-/tree/current/system/automake", so it's obvious that my 'automake' is ...

Score: 0
Sahi avatar
Unable to install Docker-Desktop on Ubuntu 22.04.1 LTS
br flag

I am trying to install docker-desktop on Ubuntu 22.04.1 LTS. However, when I try to run the following command, it shows errors.

sudo apt install ./docker-desktop-*-amd64.deb

The output of this command is:

Reading package lists...
Done Building dependency tree...
Done Reading state information...
Done
Note, selecting 'docker-desktop' instead of './docker-desktop-4.12.0-amd64.deb'
Some packages could not  ...
Score: 2
Nagabhushan S N avatar
Compare different directory images side by side using XnView MP
in flag

I am trying to compare two images side by side. This answer suggested XnView MP. It works great when I want to compare two images in a single directory. I select the two images in the browser and then Tools > Compare.

However, if my images are in two different directories, I first have to copy them to a single folder, then go to that folder in the XnView browser, select the two images and then compare ...

Score: 2
Abhishek Kamal avatar
MPV no audio issue
pg flag

I installed MPV and I found that on playing any media file (mp3,mp4,webm etc.) doesn't play any audio.

I have tried to add in mpv.conf file :

# ===== Audio =====
ao=alsa
audio-device=auto

But still no audio.
What could be the issue ?

UPDATE 1

  1. Output of sudo fuser -v /dev/snd/* :
abhishek@kamal:~$ sudo fuser -v /dev/snd/*
[sudo] password for abhishek: 
                     USER        PID ACCESS COMMA ...
Score: 0
Tuomo Kortesmaa avatar
From Ubuntu 22.04 to Ubuntu 12.04 because libglade2.-2.0.so is missing?
zm flag

I know that the Itanium (IA64) processor is long gone history as I am too. I wrote a very small priority-based kernel for Itanium some 20+ years ago. I used ski simulator to test it, and everything went well. My "nano kernel" source code with test processes is still in "isosika.net and download link".

Would it be possible to find the a ski binary somewhere? I am 78 years old and want to play with ...

Score: 0
gegentierversuche avatar
Headless Ubuntu 20.04 change default Kernel
ps flag

I agree this question had been asked before. I have tried one of them and I lost the connection so to be sure I am asking again.

I have a headless server which I can connect to only with SSH. After apt upgrade I realized that the new kernel can't work with our virtualization solution.

current kernel:

uname -r
5.4.0-137-generic

now I have to turn back to

5.4.0-121-generic.

sudo grub-mkconfig | gr ...
Score: 0
Chinmay235 avatar
How to connect two Ubuntu Laptops without any LAN or C-Type Cable?
co flag

I have two laptops first one is HP G7-notebook and 2nd one is Lenovo ideapad. Both laptops are installed with Ubuntu 22.4

In my HP laptop, there is no LAN option. Only have USB and C Type. I am trying to connect it through WiFi.

While I share any folder from HP laptop. That folder shows in my Lenovo laptop as the 1st laptop's name. But when I clicked on that I got an error message. Please check the belo ...

Score: 0
Dizzy_Bear avatar
I can't dual boot Ubuntu along side windows 11
ne flag

Today I installed Ubuntu and run it successfully after long time at first it's awful slow while booting(took around 10mins) and performance is slow too, my CPU fans started to run like I am playing some game when I just boot the ubuntu and ran commands sudo apt-get updates and sudo apt install upgrade after that I restarted Ubuntu and I get same window I always get.This is the window I always gets i ...

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.