Latest Ubuntu related questions

Score: 0
Nishal avatar
can't initialize iptables table `filter': Table does not exist (do you need to insmod?) - iptables is not present
zm flag

I am trying to install NGINX and Certificate by following this enter link description here in WSL

But at the Step 5: Allow Nginx Traffic, I am getting error after the command sudo ufw allow 'nginx http'.

The error we are facing is

WARN: initcaps
[Errno 2] iptables v1.8.4 (legacy): can't initialize iptables table `filter': Table does not exist (do you need to insmod?)
Perhaps iptables or your kernel ...
Score: 1
Ezra Gachomo avatar
Can I replace a laptop's hard drive with an Ubuntu hard drive?
ro flag

I'm planning on getting a newer and more powerful laptop. I have so much data in my current laptop that I don't want to lose. I was thinking of replacing the newer laptop's hard drive with this current one. Is that possible?

Score: 0
Akaubuntu avatar
Installing MultiBoot distros on SSD
za flag

I want to install Ubuntu 22.10 and Ubuntu Studio in my SSD drive along with Windows.

So I have created two partitions in my disk successfully installed both distros but after installing the second distro in the grub menu I see the three OS windows, ubuntu and studio. Windows boots fine but when trying to boot any of the ubuntu i face 'busybox v1.30.1' error.

Are you able to tell me what I am doing w ...

Score: 1
Kayoshio avatar
No sound on new system installation
bt flag

I am on a fresh Ubuntu 22.10 installation on a new PC and experience no sound from my headset or anywhere else.

My PC seems to recognize that some sound device is there:

screenshot of Sound Output notification showing Built-in Audio

screenshot of System Volume, Volume Levels, Output, System Settings

screenshot of a terminal window showing Intel snd_dha_intel

inxi -SMA results:

Device-1: Intel driver: snd_hda_intel
  Device-2: NVIDIA GA106 High Definition Audio driver: snd_hda_intel
  Sound Server-1: ALSA v: k5.19.0-29-generic running: yes
  Sound Server-2: PipeWire v: 0.3.63 running: yes
 ...
Score: 0
securetech avatar
Help Installing "Python GTKGLExt" on Ubuntu 22.04 Jammy
hn flag

I have been trying to figure out a way to install Python GTKGLExt on Ubuntu 22.04 for over an hour with no luck.

I’m running on Ubuntu 22.04.1 LTS Jammy. Python GTKGLExt is not available in the APT repository for my system. Its available in Ubuntu 18.04, but not my version. Can Someone please kindly be a life saver and help me get it installed on Ubuntu Jammy. As much detail as possible would b ...

Score: 0
Spar avatar
Wi-Fi Adapter Not Found Ubuntu 22.04
cn flag

Wifi Adapter not found in recently installed Ubuntu 22.04. Here is the script I just run (I tried to remove some sensitive data): Can anyone help?

################################################################

EDIT:After trying everything I found on Internet:

  1. Upgraded Kernels: 5.13, 6.0... nothing
  2. Tried other drivers from a git... nothing
  3. Followed other instructions tried... nothing

I gave  ...

Score: 0
Ram Sonney avatar
upgrade the existing xubuntu LTS 20.04 installation to LTS 22.04 from CD
lt flag

Hi Is there a way to upgrade the existing xubuntu LTS 20.04 installation to LTS 22.04 from CD? I have multiple installations, and don't want to repeatedly download the new version.

Score: 0
can I configure MTU as a virt-install network parameter
cn flag

I have an Ubuntu 20.04 headless KVM host, installing ubuntu 22.04 server guest.

For reasons I don't understand, my system requires MTU 1492. virt-install fails, unable to access Ubuntu repositories - so I have to install from an iso without network, then manually set the MTU. Is it possible to configure MTU in the initial virt-install - something like this (NB: this doesn't work)

alternatively, can  ...

Score: 0
DeltaFlyer avatar
QEMU+KVM: Two errors after running virsh list --all, seems to be permission error
in flag

after running virsh list --all, I get the following errors:

error: failed to connect to the hypervisor
error: Failed to connect socket to '/var/run/libvirt/libvirt-sock': Permission denied

This is what I get after running ls -la /var/run/libvirt/:

total 0
drwxr-xr-x 12 root root     380 Jan 19 20:28 .
drwxr-xr-x 40 root root    1100 Jan 19 20:28 ..
drwx------  2 root root      60 Jan 19 20:28 common
 ...
Score: 2
frewper avatar
What's the default Python version in Ubuntu 22.04?
eu flag

I am trying to upgrade from 20.04 to 22.04

During update, I get an error

Your python3 install is corrupted. Please fix the ’/usr/bin/python3’ symlink.

I know changing the symlink to the correct version should help. But I cannot Find info as to which version of Python does Ubuntu 22.04 ship with.

If anyone can tell that will be great .

Score: 0
Artem Mosakovskiy avatar
Laptop with Ubuntu 20.04 does not detect 4K monitor via USB-C, Intel HD 620 Graphics
hr flag

I bought the 4k monitor and I haven't been able to connect it for a week.

The HDMI port can output only 30hz for 4k, so the only hope is the type-c port But I can't configure it in any way

My laptop Swift SF314-52, Intel HD 620 Graphics - in the documents for the laptop it is written that I can connect a monitor through the USB type-c - display port.

On my monitor Dell S2722QC - there is only an  ...

Score: 0
Subash avatar
How to increase default recording time in ubuntu
so flag

I tried to record my screen during a presentation using Ctrl+Shift+Alt+r , recording duration is limited to 30 seconds by default. how can I increase the limit to unlimited so that it'll record until I press Ctrl+Shift+Alt+r again?

I really appreciate any help you can provide.

Score: 1
Roy Shiloh avatar
How to disable Wayland on multiple users
fi flag

I am attempting to disable Wayland on 2 users at the same time on my machine so I could remote connect using TeamViewer.

I tried setting sudo nano /etc/gdm3/custom.conf to WaylandEnable=false on both users, but whenever I use $ sudo systemctl restart gdm3 on user 1, then Wayland is de facto re-enabled on user 2, vice versa.

I want to permanently disable Wayland globally, is there something I am missi ...

Score: 0
password is password avatar
Is there a way to set the number of characters shown for searches in the activity view of gnome shell?
pk flag

I use the activity view (hit super key) a lot when searching / opening files. But for longer filenames Ubuntu redacts too many characters to make a meaningful distinguishment between files.

I attach a screenshot to show what I mean. As you can see, there would be still room for a bunch more characters. Is there a way to set this?

enter image description here

Score: 5
tealy avatar
ubuntu nvidia driver installation fails
tr flag

I have rtx3090ti nvidia driver and install the latest nvidia driver across diverse ways such as from additional drivers app or apt install. Both does not work the output is always the same.

NVIDIA-SMI has failed because it couldn't communicate with the NVIDIA driver. Make sure that the latest NVIDIA driver is installed and running.

And now i am trying to install recommended version with the following  ...

Score: 0
Joel Peltonen avatar
Cannot login with GitKraken installed from snap
kr flag

Using Xubuntu 20.04.5 I installed gitkraken with snap. It starts, but clicking on the Sign up or Sign in buttons doesn't do anything. No errors, no windows opening up.

I would sign in using my email, but my account doesn't have a password and I can't add one because gitkraken requires the old password to change a new one.

Spawning gitkraken from the terminal doesn't give any output at all. The log

Score: 0
K De Pourcq avatar
Ubuntu 22.04 fails to load -out of the blue after working ok for some time-
cf flag

I guess Ask Ubuntu is the best place to post this.

So, here we go: suddenly and without warning, my system (approximate specs: AMD FX-8370, Gigabyte 990-something motherboard, SSD drive with dual-boot win 8, Nvidia GTX-970, 32 GB RAM) started failing to load Ubuntu 22.04. Windows works.

I am getting a number of error messages after which the startup process simply stops (see snapshots). This install ...

Score: 2
mastupristi avatar
Configure bash instead dash on Ubuntu 22.10
za flag

On a brand new Ubuntu 22.10 installation I tried the command

sudo dpkg-reconfigure dash

That he did nothing

I learned from this post that this feature has been removed.

So what is the right and clean way to make bash the system shell (eg. /bin/sh)? I hope I don't have to do hands on symbolic links of executable, manpage and all that is needed....

Score: 0
Thomas Fritz avatar
How to add cppcheck to CodeLite on Ubuntu 20.04?
za flag

According CodeLite's documentation there is a cppcheck plugin for code linting, but it appears to be missing in the CodeLite package available in Ubuntu 20.04's repositories.

I tried to apt install cppcheck, but it still doesn't show up in CodeLite.

Is there a way to manually install the cppcheck plugin if it's not there already? Or is the plugin maybe shipped with CodeLite's ppa packages?

Score: 1
Timmmm avatar
How do I modify the default Gnome theme?
in flag

This question details the convoluted process to install a new Gnome Shell theme, but the ones on gnome-look.org are a bit hit and miss. I would like to use the default theme and just change the notification background colour so it doesn't show up as dark grey on a dark grey background (kind of blows my mind that this is the default; how does anyone see them??).

Very obvious notification

I've set up User Themes and successfully e ...

Score: 1
philippe.kienner avatar
What is executed?
in flag
$ which -a chia
/usr/bin/chia
/bin/chia
$ ll /bin/chia
lrwxrwxrwx 1 root root 49 janv.  9 08:40 /bin/chia -> /opt/chia/resources/app.asar.unpacked/daemon/chia*
$ ll /usr/bin/chia
lrwxrwxrwx 1 root root 49 janv.  9 08:40 /usr/bin/chia -> /opt/chia/resources/app.asar.unpacked/daemon/chia*
$ ll /opt/chia/resources/app.asar.unpacked/daemon/chia
-rwxr-xr-x 1 root root 5522760 janv.  3 20:57 /opt/chia/res ...
Score: 0
lemahdois avatar
ubuntu is detecting display (as a hardware) but not as display
cn flag

I am on ubuntu 22.04. I plugun my professional screens with usb cable (in which there is also ethernet, mouse and keybord). Ubintu detects the as plugged usb devices but not as displays. can you help please? Cordially

    cskg1281@yd-5cg2303bnm:~$ lsusb 
.....
    Bus 002 Device 015: ID 17e9:6006 DisplayLink Dell Universal Dock D6000
.....


    cskg1281@yd-5cg2303bnm:~$ sudo lshw -c video
      *- ...
Score: 0
brownfox avatar
How can we copy a file to all subdirectories using cp and wildcard
in flag

Let's say I have 10 subdirectories in a main-directory named d1, d2, d3, ..., d10. How can I copy a file into all these subdirectories using cp?

I'm looking for something like

cp ./my_file.txt ./d*/
Score: 2
mavavilj avatar
Which Mesa to install to a system that currently uses i915 (and xserver-xorg-video-intel)?
de flag

Which Mesa to install to a system that currently uses i915 (and xserver-xorg-video-intel)?

I read that contemporary versions may drop the i915 driver and replace it with i915g. Then some sources said that updating is at one's own risk.

  1. So should I install the Amber Branch instead?

  2. Does the Ubuntu version used matter?

  3. Does one need to uninstall the previous drivers?


In particular, I have the Intel H ...

Score: 0
Lum avatar
CPU is overheating and Ubuntu is not working
in flag
Lum

My CPU is overheating and Ubuntu is not working.

cpuidInfoAMD says : NVRM cpuidInfoAMD: Unrecognized AMD processor

My CPU is running very hot. It is an AMD Ryzen 5 5600x. My GPU is a Nvidia 3060 12GB.

I am using Ubuntu 20.04LTS. I also tried 22.10 with the same results.

All of the fans are working. When I entered Ubuntu, they started to spin very fast and I could hear the noise. When I was in Windows 1 ...

Score: 0
Ferole avatar
Unattended-Upgrade frequently reboots without logging anything
ps flag

On 22.04.1 LTS, unattended-upgrades service reboots the server frequently, sometimes within a 15-minute interval!. Everything is default, ie, I have not edited 50unattended-upgrades or made any other changes. I have tried stopping/purging/reinstalling the service, but the reboots (as recorded by syslog) continue. I can only see the reboots from syslog using grep 'Started Unattended Upgrades Shutdown' /va ...

Score: 0
does GNOME wayland poll the background image from the URI actively?
pe flag
Max

Does gnome on wayland poll the background image URI periodically while drawing the desktop or does it load the image data once in the Daemon until next restart?
basically I like to know what happens after:

gsettings set org.gnome.desktop.background picture-uri-dark 'somefile_somewhere_some'

given two images

/root/home/1.svg

and

/root/home/2.svg

issuing

 gsettings set org.gnome.desktop.background pict ...
Score: 0
P. Weiss avatar
Impossible to duplicate monitor on Ubuntu 20.04
ru flag

I have a Dell laptop equipped with an Nvidia graphics card. When I connect my computer to a video projector at my university, it works fine. However, when I want to clone/duplicate the screens (have the same image on each monitor), the video projector tells me that HDMI1 is not connected. When I do this on my home video-projector it works fine. I have students with the same problems, others for whom it  ...

Score: 0
Pythonaire avatar
bind9, system-resolved and avahi
bd flag

I've set bind9 with DDNS and following the advice to disable systemd-resolved. All works fine so far.

I need to use avahi, but avahi complaining about missing /etc/resolv.conf (normally generated by systemd-resolved service. Is where a manually way to suppress error messages:

avahi-daemon[]: chroot.c: open() failed: No such file or directory
avahi-daemon[]: Failed to open /etc/resolv.conf: Invalid argum ...
Score: 0
Ratheesh avatar
Toshiba E Studio 2309A- Scan Driver
mz flag

Toshiba E Studio 2309A Printer working properly, But scanner doesn't showing. Where I Get scanner driver ?

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.