Latest Ubuntu related questions

Score: 0
BTR Naidu avatar
Not able to grow the partition of an img file
lc flag

I have an img file with below partition table

$ sudo parted tmp/disk.img 
GNU Parted 3.4
Using /tmp/disk.img
Welcome to GNU Parted! Type 'help' to view a list of commands.
(parted) print                                                            
Model:  (file)
Disk /tmp/disk.img: 969MB
Sector size (logical/physical): 512B/512B
Partition Table: msdos
Disk Flags: 

Number  Start   End     Size    Ty ...
Score: 0
Kumaresh Balaji Sundararajan avatar
Unusual kernel upgrade behaviour Ubuntu 22.04
ve flag

I recently ran an apt upgrade on my system with the following specs:

Kernel: 5.19.0-32-generic
Distro: Ubuntu 22.04.2

And I observed some unusual behaviour during the kernel upgrade

Standard behaviour:

When running apt upgrade, a new kernel version is installed and the current kernel remains unaffected. When running apt autoremove, the previous kernel is removed so only two kernels are present. O ...

Score: 0
Is it common practice for an apt-get repository to take down files (giving 404 for them) for old versions of packages?
in flag

Today I ran apt-get update on a slightly old system but it failed due to a 404 error. Surely it worked in the past. It looks like one of the URLs that apt-get tried to fetch was taken down from the repository. Is this common?

For comparison, I am pretty sure npm and PyPI never remove old versions from their registries, no matter how old.


Although I really intend for this to be a broad question,  ...

Score: 0
f-sky avatar
Why does the menu bar of Files become very high sometimes?
va flag

Screenshot

I am using Ubuntu 22.04. Instead of nautilus, I am using nemo as the file browser. I wonder why the menu bar becomes very high sometimes, not always, but I cannot resize it back.

I tried to click on diffrent path, then it becomes normal. But when I click the "data" again, the menu bar again becomes very high.

Score: 0
HMB_Kevin avatar
Choose interface on pxe boot host
gg flag

I am trying to set up a PXE boot environment for Ubuntu 22.04 using IBM HS-22 blades at work. Most everything is going well except the HS-22 blades on boot will choose their USB interface to get a DHCP address from. Since this isn't connected to anything it responds quickest with a 169.x.x.x address and declares that it cant find my repo on the network. If I reboot over and over it will randomly work co ...

Score: 1
Leah Waymire avatar
Ubuntu 22.04 not Recognizing Bluetooth headphones as audio device
hn flag

My JBL Tour One headphones can connect to my laptop but will not show up as an audio device. Sometimes I can get them to show up after factory resetting them, but i'ts not reliable. This is the output of dmesg | grep -i bluetooth:

[190711.486357] Bluetooth: hci0: Opcode 0x 401 failed: -16
[190753.168762] Bluetooth: hci0: Opcode 0x2005 failed: -22
[190753.168775] Bluetooth: hci0: Opcode 0x200b failed: -22
 ...
Score: 0
Mihai Buba avatar
Realtek 8852BE driver missing even though it should be available
fj flag

I have an HP laptop with an Realtek 8852BE wifi card, and I am unable to use the driver even though the driver for it is supposed to be included in the kernel after 5.16+ as per lwfinger README.md.

How can I use the driver available in the kernel assuming it is actually available?

Currently I am using this driver, but it is deprecated: https://github.com/HRex39/rtl8852be

I had also tried this driver, but ...

Score: 0
jake avatar
Change touchpad scroll direction per device - 20.04 LTS
us flag

My peripheral setup contains two physical mice, a touchpad built into my laptop, and two touchpads on wireless media keyboards. I'd like reverse scroll direction on all of my touchpads.

I tried Settings-> Mouse & Touchpad -> Touchpad -> Natural Scrolling. It worked for my laptop's built-in touchpad, but the wireless keyboard touchpads were not affected by the Touchpad setting, but rath ...

Score: 0
Lemon_head avatar
Ubuntu 20 GUI Reverted to older version
nu flag

Early to day my computer froze, and I force restarted it. Following the restart my GUI completely changed to an ancient looking interface. There's no side bar, all windows look they are from 2010 , and the background changed.

Not sure If I deleted something important or the everything just went wonky. Attached is the image of my desktop with the icons cropped out. Prior to this my desktop was bas ...

Score: 0
neal wang avatar
How do I setup ssh to prompt the user for more than 6 login attempts? I try to set it higher than 6 but it still stops at 6
ad flag

I'm on ubuntu 22.04 LTS

https://manpages.ubuntu.com/manpages/impish/en/man5/sshd_config.5.html

MaxAuthTries is set at 16 but it still only prompts six times, I've tried it setting it higher but when I ssh it still only stops at 6, how do I prompt it for more?

I've restarted the sshd service and even rebooted several times.

my sshd_configuration: sshd_config

# This is the sshd server system-wide configur ...
Score: 0
Paul O'Rorke avatar
Where did WebSVN go and how to install it on jammy
eg flag

I wanted to update my aging SVN host, it has Ubuntu 16.04 on it and I see that WebSVN is no longer in the repositories.

I couldn't find any references to how to install it in jammy.

What's the way to go for WebSVN on jammy?

Score: 0
lrdoftheblings avatar
Sound volume fluctuates randomly
et flag

Zoom and in-browser video volume fluctuates randomly without volume sliders changing. Running Ubuntu 22.10. Output of lspci | grep -i audio below:

00:1f.3 Audio device: Intel Corporation Sunrise Point-LP HD Audio (rev 21)

This is on an HP Spectre x360 laptop from 2018.

Any help would be much appreciated.

Score: 0
Arthur De Backer avatar
How to fix "winehq-stable : Depends: wine-stable (= 8.0.0.0~jammy-1)"
by flag

after using the tutorial of install wine to download wine:

$ sudo dpkg --add-architecture i386

$ sudo wget -nc -O /usr/share/keyrings/winehq-archive.key https://dl.winehq.org/wine-builds/winehq.key

and then

sudo wget -nc -P /etc/apt/sources.list.d/ https://dl.winehq.org/wine-builds/ubuntu/dists/focal/winehq-focal.sources cause my ubuntu version is 20.04

$ sudo apt update

everything works fine untill the p ...

Score: 0
Maestro avatar
ZRAM error at boot
pw flag

I have configured ZRAM via /etc/udev/rules.d/99-zram.rules which looks like this:

KERNEL=="zram0",ATTR{comp_algorithm}="lz4hc",ATTR{disksize}="2048M",TAG+="systemd"

And it seems to work fine. I can see the swap being allocated when using the top command.

But every boot I get the following warnings:

systemd-udevd[603]: zram0: /etc/udev/rules.d/99-zram.rules:1 Failed to write ATTR{/sys/devices/virtual/blo ...
Score: 0
Kris avatar
How to force synchronization of SSH autherized keys from Ubuntu One account to Ubuntu Core IoT device
uz flag

I added a few more SSH keys to the Ubuntu One account (https://login.ubuntu.com/ssh-key).

Now, I want to make sure that these key are now sent down to the IoT devices that have Ubuntu Core installed on it. I can see the keys on the Ubuntu Core IoT devices by running the following command:

cat ./.ssh/authorized_keys

How or what is the procedure of getting the new keys send down to the IoT device ...

Score: 0
Tom A. avatar
Disable hot keys for find on desktop so I can use them for guake terminal
za flag

So I like using guake terminal on ubuntu. I recently updated to 22.04 and now when I use crtl-t it opens a box for search on desktop. Im in such a habit of using crtl-t to get a fast drop down terminal in guake it's really hard to switch. I did try making a switch to fn-super-t and it works to open guake in every appliction(chrome, krusader, firefox) but doesn't work if I'm on the desktop with not in an ...

Score: 0
Thomas Grusz avatar
SSH into server running xinetd throws error "kex_exchange_identification: read: Connection reset by peer"
cn flag

I have two servers running ubuntu 22.04.2 LTS with openssh-server 1:8.9p1-3ubuntu0.1 installed. And on both servers I have installed the same admin user.

I want to test the legacy superdaemon xinetd for ssh. So I stopped the ssh.service on the first server and started the xinetd.service on that server after adding the following config file:

cat /etc/xinetd.d/ssh

service ssh
{
    disable     = no
    soc ...
Score: 0
Hector Freire avatar
Overheating despite the cooler
tm flag

I don't know whether it is a software or hardware issue, but my notebook has been having overheating problems despite the cooler working. It comes on every few minutes, but only runs for a very short time before shutting down once again. After 10 minutes or so using the computer, it will randomly turn off once again. As I've had a long history of overheating problems with this notebook before, and seein ...

Score: 0
kubleeka avatar
Unable to connect to Wifi that requires a username and password
li flag

I am new to Linux and running a new install of Ubuntu 22.04.2. My university's Wifi requires a login with username, password, and 2FA with my phone, and when working normally, redirects to their own site to enter the credentials and request the 2FA.

I am able to connect to other networks like my home Wifi and a hotspot hosted on my phone, and it works normally (both require a password only). When ...

Score: 1
Bram avatar
Logitech BRIO complains: current rate 16000 is different from the runtime rate 48000
cn flag

Whenever I plug in a Logitech BRIO webcam into any USB port on my motherboard, I get the message:

current rate 16000 is different from the runtime rate 48000

usb 2-8: new SuperSpeed USB device number 7 using xhci_hcd
usb 2-8: New USB device found, idVendor=046d, idProduct=085e, bcdDevice= 3.17
usb 2-8: New USB device strings: Mfr=0, Product=2, SerialNumber=3
usb 2-8: Product: Logitech BRIO
usb 2-8: Found ...
Score: 0
Kris avatar
Error using pciutils.lspci on Ubuntu Core
uz flag

I have installed Ubuntu Core on a IoT device and I am going through a number of steps to figure out why a cellular modem is not being detected on it with modem manager.

I want to run the lspci command, so in order to get it on Ubuntu Core I ran the following command:

sudo snap install pciutils

After installing the Snap, I ran the command and now an error is being displayed:

user@ubuntu:~$ sudo pc ...
Score: 0
baby penguin avatar
WSL2 Ubuntu 22.04.2 LTS Performance Mode
gl flag

Is there a way to set WSL2 Ubuntu 22 to performance mode? I know the original version of the OS you can just set it to performance mode but I'm not sure how to do it through WSL2.

When I run

grep "cpu MHz" /proc/cpuinfo

It shows

cpu MHz         : 3192.001

cpu MHz : 3192.001 cpu MHz : 3192.001 cpu MHz : 3192.001 cpu MHz : 3192.001 cpu MHz : 3192.001 cpu MHz  ...

Score: 1
Damian Yerrick avatar
How fast are updates to boot loader packages (grub and shim) phased in?
id flag

"What are phased updates, and why does Ubuntu use them?" states that sudo apt upgrade will often display "The following packages have been kept back" when an update to a stable release is made available to only a fraction of users at first. Ubuntu does this to limit the impact of unforeseen defects in updated software. "StableReleaseUpdates section Phasing" on Ubuntu Wiki states that most packages are  ...

Score: 1
acgbox avatar
Is there a method to download all files of a ppa?
tr flag

Is there a method to download all files of a ppa from launchpad.net to the local drive?. (To make a backup of an abandoned project)

I have tried it with:

wget --recursive --no-parent https://launchpad.net/~myproject/+archive/ubuntu/ppa

But the result has not been as expected.

Score: 1
Hoffenstein avatar
Firefox right-click opens context menu, but selects tabs instead
pw flag

At first when I installed Ubuntu 20.04 LTS, firefox was working normally. There had been some issues with the on-screen touchboard keyboard opening up when unwanted and so I installed caribou 36 to prevent the keyboard from popping up every time I touched the screen to type something (unsure if related, am just listing the events as they happened).

Later on, not immediately, every time I right cl ...

Score: 0
Тимофей Черников avatar
Japanese input works only in search menu

I followed this tutorial to install Japanese input. Unfortunately, the only place where it works for me is the search menu that is opened by pressing Super key. Everywhere else it's just regular English keyboard. I tried rebooting, uninstalling Japanese language and Mozc and then re-doing the installation process. I also tried enabling Japanese(Anthy) input source but result was the same. I also tried fo ...

Score: 0
Felipe Marcelo avatar
Disable secure boot to work external monitor
mh flag

I have a Dell G15 5511 with a dual boot of Windows 11.

To play Valorant, I need to enable Secure Boot. However, when Secure Boot is enabled, the external monitor doesn't work in Ubuntu.

How can I fix this issue and enable the external monitor to work when Secure Boot is enabled in the BIOS?

Score: 0
Dillon Capalongo avatar
Ubuntu Suddenly Completely Wipes From My Hard Drive - Windows11/Ubuntu 22.04 Dual Boot
mh flag

I just had a terrible moment with my computer. Just days prior I was working on Ubuntu for my robotics courses, I had reset my hard drive in January to perform a Dual Boot and it worked great. Today I went to boot it up once more and it completely left the building. My partition is still there, but Windows says it is 100% free for storage. The boot option is still there in my BIOS Setup, but when I sele ...

Score: 1
JoeG avatar
"An install, uninstall, or conversion is in progress for this distribution"
az flag

In an attempt to install WSL and Ubuntu, when I enter the install command, "wsl --install", instead of asking me to create a username and password, it shows: "An install, uninstall, or conversion is in progress for this distribution." How do I complete the installation process from there?

Score: 1
ARS avatar
Is it possible to run games on a headless NVIDIA Tesla GPU without the use of VMs?
lr flag
ARS

I own an NVIDIA Tesla K20m GPU, which has no video outputs, and have actually been able to game with it through the use of Windows 10 virtual machines. However, I'm curious to know if it's possible to run games on this device bare metal.

For this, I must also say that the computer which the K20 is running on has a second GPU: a very old AMD ATI FirePro V4800 that exists to supply necessary video  ...

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.