Latest Ubuntu related questions

Score: 1
Rick Mooney avatar
Configure NetPlan with KVM to share host LAN with guest
zw flag

I'm having a problem with NetPlan, where if I set renderer: networkd, then the guest VM connects to the local network, but the host cannot reach the public internet ping: google.com: Temporary failure in name resolution. Interestingly, I can still xRDP into the host, it just doesn't have a network device available to run apt update | upgrade | install. If I set renderer: NetworkManager, the host can a ...

Score: 0
TwentySix avatar
Fix USB flash drive with corrupt GPT table
us flag

I have a problem with USB flash drive (32GB) after unsuccess TransMac usage. Now the flash drive contains two partitions that can't be deleted and an empty space.

gdisk:

root@user-virtual-machine:/home/user# gdisk /dev/sdb
GPT fdisk (gdisk) version 1.0.8

Caution: invalid backup GPT header, but valid main header; regenerating
backup header from main header.

Warning! Main and backup partition tables diff ...
Score: 0
pencilwatch avatar
Can't Install Anything on Live Installation of Ubuntu
hn flag

I am running a live installation of Ubuntu 20.04 LTS with Persistent Storage of 40GB. For some reason I can not install anything without getting the error Unable to correct problems, you have held broken packages. (see full output below). For instance, I am trying to install Keepass2. I have added the repositories sudo apt-add-repository ppa:jtaylor/keepass, I have updated apt sudo apt-get update &amp ...

Score: 0
Carioca avatar
virtio-scsi storage controller on Ubuntu 22.04 guest in VirtualBox
is flag

I installed Ubuntu 22.04 guest, including Guest Additions, on Windows 11 host on VirtualBox. My network speed in Ubuntu is terrible. On Windows I get 900 Mbps. On Ubuntu I get only 50 Mbps. I basically tried everything I could find.

I have an Intel i9 and with 128 GB RAM Lenovo. I setup VirtualBox as follows:

System->Processor: 12 CPU with Enable PAE/NX checked.

System->Acceleration: Paravirtuali ...

Score: 0
user238740 avatar
System unbootable after upgrade to 22.04
cn flag

After system upgrade to 22.04 (from 20.04) system is not bootable. It complains that it can't find /dev/mapper/ubuntu--vg-root and defaults to an initramfs shell // BusyBox.

I believe there was an issue during upgrade due to /boot being too full, which was in a separate partition (in the meantime, I have moved /boot to the root folder using instructions found here: https://visualplanet.org/blog/? ...

Score: 0
blnks avatar
System policy prevents writing a disk image to this device
mw flag

I get this error while trying to make a LiveUSB from an existing iso.

enter image description here

I have added myuser to sudoers in /etc/sudoers

# User privilege specification
root    ALL=(ALL:ALL) ALL
myuser     ALL=(ALL:ALL) ALL

And I enter the password correctly.

I have also tried both /dev/sdc1 (the destination disk) mounted and unmounted. To be sure I chowned /dev/sdc1 to be owned by myuser.

The same goes for gparted

Score: 2
cprn avatar
How to separate language from time format?
us flag

I want to set a custom time format or the time format specific to my localisation but I want to keep the names of days and months in English. How can I set it to something like YYYY-MM-DD, Monday, 20:05:47 CET?

There are multiple similar questions, e.g. How to change time and date language to English? and Combine English language and alternative locale

None of them are the solution - $LC_TIME bound ...

Score: 0
treyiii avatar
Why do I get error Failed to load module "canberra-gtk-module" when trying to run gtkstresstesting on Ubuntu 22.04
ph flag

I get this error running from command line. Using Launcher program starts but does not Display.

Both 32 and 64 versions installed and I ran the link command.

I did what others have suggested, it does not work.

Score: 2
Thystra avatar
No sound on Ubuntu 22.10 Kinetic - MSI GE76 Laptop
mg flag

I have a new laptop, a Raider GE76. I installed Ubuntu on it and everything is working except the sound presently.

I only have dummy sound as an output option.

I've tried some solutions on the web but none have worked.

  • I've tried adding entries to GRUB
  • I've tried installing the SOF binaries (v2.2.4)
  • I've tried tweaking the driver options in modprobe/alsa.conf
  • I've tried switching to the legacy d ...
Score: 0
vahed avatar
Can't configure network interfaces to capture wireless radio packets
to flag

I'm trying to capture wifi radio packets with Wireshark, but I can't seem to configure the network interfaces correctly. While working on this I tried Kismet and that worked. After running Kismet I can then can capture successfully with Wireshark.

I compared the network interface configuration and network related services (systemctl | grep network) and found that the Kismet-generated configuration and m ...

Score: 0
Parth Rajawat avatar
Crashing Issues with Ubuntu and Windows
cn flag

So I have been using ubuntu for almost an year now. Everything was working really fine until the following messages started erupting suddenly on their own-

[  0.18267] x86/cpu: SGX disabled by BIOS.
/dev/nvme0n1p5: clean. 526621/7684096 files, 8860830/30720256 blocks
[  1.828121] ACPI BIOS Error (bug): Could not resolve symbol [\DPPP], AE_NOT_F
[  1.828187] ACPI Error: Aborting method \_SB.IETM.IDS ...
Score: 1
Nikolaj Popov avatar
Cannot use dpkg or update anything due to kernel
gb flag

since today I have noticed that I cannot install gparted or even check for updates because of unknown error. All I understand is that kernel does not allow to be removed and stops any process that I try to run in the terminal. I have tried force remove. I would also like to mention that my OS does not see grub?

This is the output.

Can someone please explain to me what is happening and how do I fix t ...

Score: 0
Gerhard Eber avatar
No terminal, no console
dk flag

I installed ubuntu22.04 in virtualbox. cannot get a terminal, activities shows a rotating wheel for some seconds, then disappears- nothing else happens.

Score: 0
flyfisher1952 avatar
Ubuntu fails to boot on Windows 11 PC
in flag

I have a Windows 11 PC and tried to install Ubuntu 22.04 LTS on it. Everything went fine during the install, apparently. When the PC rebooted without the install media, Windows 11 brought up a light blue screen and said that it had failed to start and my PC needed to be repaired. I allowed W11 to do the repairs since I can't lose the work I have on the W11 side.

I'd like to have a dual boot PC bu ...

Score: 0
default Ubuntu lossy photo or photos compression method
br flag

I prefer to backup ~/Documents to a tar file and move that tar file to a removable solid state drive. After many years of collecting data, my tar file is approximately 4 GB which is nice since I can collect about 3 of these on a 16 GB USB flash drive with room to spare.

Sometimes I create photos of monochrome documents or scans of those documents. These images seem to end up hard to predict sizes ...

Score: 0
Haris ur Rehman avatar
Proxy working in CLI but not with Chrome
br flag

I purchased a proxy and whilte-listed my server's IP address so that my server can connect to proxy without authentication. Its working fine in Ubuntu CLI, but when I open Chrome, it cannot connect to proxy and I get error:

ERR_TUNNEL_CONNECTION_FAILED

What am I missing here. Note that I rebooted the server when I setup proxy in /etc/environment

export HTTP_PROXY="geo.iproyal.com:xxxx"
export HTT ...
Score: 0
Kragh avatar
Can bash "complete" command change so far typed input?
ng flag

I'd like to write a dynamic completion script that modifies the so far typed command.

For example if I type:

$ myapp give me a random command<tab><tab>
  • completion function would call REST endpoint with "give me a random command" payload
  • endpoint would return "ls -al" (so far I'm good)
  • complete would replace "myapp give me a random command" with "ls -al" (I need help only with this step).
Score: 0
Anthony Quinn avatar
How do I SSH to a Ubuntu Udroid XU4 device in this home network setup?
ae flag

My home network works like so:

All PCs in the house connect to -> home router

Then I have a shed up the garden which has its own router, which connects to the home router (via ethernet running underground up the garden). This shed router has a bunch of smart devices connected to it, and my devices when I'm up there.

I guess the shed router is more of a WAP than a router, as its not facing the intern ...

Score: 2
DealTime444 avatar
How do you sandbox a Windows application to a specific Wine prefix like in Snaps?
gi flag

I have programs that require different Wine prefixes to work. To start them, I need to open up the terminal and specify which Wine prefix to use before launching. I would like to be able to have it where I can simply click on the application and have Wine automatically open up with that prefix. This is what happens when you install a Windows program off of Synaptic, so I would like to know how they do i ...

Score: 1
Sayantan Mandal avatar
Ubuntu 22.10 Modeset Error
fr flag

I am running Ubuntu 22.10 (i7 9700KF + RTX 2080) with Nvidia driver version 525.xx, on X11. Recently I have been noticing micro-freezes (around 1-2 seconds) on unlocking, and sometimes while tab-switching in Firefox. These are the only occurrences, and other GPU intensive tasks (like gaming etc.) does not cause any freezes or slowdown. The only thing I could find of any relevance in the logs that correl ...

Score: 0
Ridwan Faiz avatar
How can I use bat command as an alternative to tail command?
th flag

I love the syntax highlighting of cat. So I want to use it as an alternative to tail command. But I cannot find a generic way to accomplish this. But I can use this command as an alternative to tail if I know the line numbers of the file.

e.g: if a file named test.log contains 90 lines, I can use the following command to print the last 10 lines.

batcat --line-range "80:" test.log

But I can't do the same ...

Score: 0
SAJJAD_H2004 avatar
how to disable rivafb while recompiling linux kernel (Ubuntu 22.04)
mq flag

I'm newbie in linux and I want to install my graphics driver using this Tutorial but I can't. (contents of nvidia-installer.log file below)

i did some researching and I found out that I need to recompile the linux kernel and disable rivafb (i have no idea what rivafb is) during compilation, but I don't know how to do that and i didn't found any Tutorial for this.


contents of /var/log/nvidia-installe ...

Score: 0
Free Radical avatar
How to install PHP 8.1.13 on Ubuntu 22.04 LTS?
am flag

If one installs PHP on Ubuntu 22.04 LTS, by default PHP version 8.1.2 is installed:

$ sudo apt install php
$ php -v
PHP 8.1.2-1ubuntu2.9 (cli) (built: Oct 19 2022 14:58:09) (NTS)
Copyright (c) The PHP Group
Zend Engine v4.1.2, Copyright (c) Zend Technologies
    with Zend OPcache v8.1.2-1ubuntu2.9, Copyright (c), by Zend Technologies

If I list what packages are available, I am told that version 8.1.13 ...

Score: 0
Frusty dan avatar
How to shut down my laptop which is stuck on a black screen after accidentally removing pendrive of Kubuntu Live
tz flag

I wanted to install Kubuntu, but before that I wanted to try it, so I used a pendrive with a Live Kubuntu image. However, when It was loading, I accidentally removed the pendrive. Now my laptop is stuck on black screen, but I can still move the mouse on that black screen.

I tried to shut it down by pressing the power button and also tried Ctrl+Alt+Del, but it didn't work.

How to shut down my lapt ...

Score: 2
Andrea avatar
PCManFM Regenerates Thumbnails every time I open a folder
tz flag

I am running Xubuntu 22.04.1 with PCManFM 1.3.2. Whenever I enter a folder with some images, one of my CPU cores spikes up to 100% for a few seconds as the thumbnails slowly roll in. This makes me assume that it is generating the thumbnails for the folder. But if I change folder and then go back to the previous one, the process starts again and the thumbnails are generated again from scratch.

I w ...

Score: 0
alan hanson avatar
Rythmbox crashes when I plug in iPhone 14 into my PC ubuntu 22.04
in flag

Everytime I plug my iPhone 14 into my computer it crashes how can I fix this so I can transfer music from Rythmbox. thks in advance for any info, Alan

Score: 1
Abdul Munem avatar
Ubuntu 22.04 ACPI BIOS Errors showing up but system boots just fine
cz flag

I have been getting the following error message when booting up ubuntu:

[0.299654] ACPI BIOS Error (bug) Could not resolve symbol [\_SB.PCI0.PB2], AE_NOT_FOUND (20210730/dswload2-162)
[0.299655] ACPI Error: AE_NOT_FOUND, During name lookup/catalog (20210730/psobject-220)
[0.299714] ACPI BIOS Error (bug) Could not resolve symbol [\_SB.PCI0.PB2], AE_NOT_FOUND (20210730/dswload2-162)
[0.299717] ACPI E ...
Score: -1
How to define the fstab entry for /dirname when /home is already defined
pe flag

I refer to the post How do I mount a folder from another partition?. I have /home associated with a partition and this is working.

From the post it seems that my fstab should read:

/whatever    /home    none    bind

Can I have /whatever related to this partition without is being under /home? In scripts I would like to refer to this location as /whatever rather than as /home/whatever

I come from t ...

Score: 0
nose_gnome avatar
Right/left clicks on touchpad not turning off when in tablet mode
us flag

When I fold my Thinkpad Yoga's screen, my laptop enters tablet mode and disables keyboard and mouse movement. However, it doesn't disable pressing the right or left click buttons for the touchpad.

Is it possible to disable right/left click when my laptop enters tablet mode?

This problem has been happening since as long as I've used Ubuntu on my laptop, when Ubuntu was at version 21.10

My specification ...

Score: 0
Mads Peter Jensen avatar
I cannot sign a document in Adobe Acrobat Reader
tm flag

I have installed Adobe Acrobat Reader on Ubuntu 2204 with Wine. Acrobat version is 21.007. When I try "Fill and Sign" I get an error, it shows up when I click where i want the signature. I have tried to change a lot of preferences also change to Ubuntu on Xorg. Nothing removes the error. Also when request a signature every thing is dead, and I have to restart Ubuntu to remove Acrobat Reader.

enter image description here

enter image description here

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.