Latest Ubuntu related questions

Score: 1
Gary Fisher avatar
paplay not working from cron
mx flag

A little more than a year ago I wrote a notifier app. (on Ubuntu 16.04.7) which played some audio with paplay and then put up a yad window with the text of the notification. This could be run either from command line or from cron. Recently I installed Ubuntu 20.04.3 and found that running from command line still works but running from cron doesn't. I have a bin directory below my home directory where  ...

Score: 0
Richard Silbar avatar
Can't get crontab to work as expected
id flag

I want to do a daily backup of my home directory by executing the following script (I can write to /home):

   #!/bin/sh -e
   cd /home
   ls -l 
   rm -f silbar.tar.gz
   echo "starting tar"
   tar -czf silbar.tar.gz silbar
   cd ./silbar
   echo "done with tar"
   beep

To do so I created my personal crontab file by enter ~$ crontab -e and added the following (and only line which is not a comment)

 ...
Score: 0
Malicious scanning of port 631?
id flag

I have observed that one computer on my home network (192.168.1.60) is trying to access port 631 of my main computer (192.168.1.253). I'm not carrying out any printing. I would want to know if there is a security problem.

This is from /var/log/ufw.log. It's happening since August 3 2021.

Aug 30 09:57:19 skunkworks kernel: [ 3150.549098] [UFW BLOCK] IN=enp1s0f0 OUT= MAC=10:dd:b1:ea:b8:8b:74:e5:0b:39:e8 ...
Score: 2
Vin Raghav avatar
How do I get rid of youtube-dl?
cn flag

It looks like youtube-dl is permanently stuck on my system. Months back I installed it (I don't know how). But now I'm desperately trying to uninstall it. All the uninstall commands say that it's not installed, yet I'm using it in the terminal and that means it's installed.

I installed it as snap. I can see many youtube-dl leftover files in snap folders. Is there a way to clear them all?

Score: 1
Can I configure software updates to only use OEM kernels?
bv flag

I have a Lenovo laptop that only seems to work properly on the OEM kernels. It's happened a few times now that the ubuntu software updater switches me back to the generic kernel when updating. Sometimes I don't even realize it until I've run into a couple kernel panics.

Is there a way to indicate to the OS that I don't want to use the generic kernels?

Score: 1
Zin avatar
No update notifications for gnome-software: Which log to check?
jp flag
Zin

I'm not getting update notifications (since a couple of months) for gnome-software though available updates (e.g. for snaps and flatpaks) show in the application and automatic updates are enabled.

e.g. OS Updates like this one or nvidia driver updates or one of my snaps/flatpaks (audacity, godot, etc.) enter image description here

I'm a bit lost at finding the right log to see what error keeps those notifications from appearin ...

Score: 2
Pawel W avatar
Ubuntu 20.04.3 LTS - power off button wont work
us flag

I have 20.04.3 upgraded from 20.04.1 and problem still exists:

When i click "power off" > "power off" > and confirm, after pressing the button the shutdown procedure don't start - i can wait and nothing. Next i click again power off and confirm and later it works and shutdown correctly.

The problem does not occur often, rather 2-3 times (out of 7) a week.

I looked for this issue but didnt find th ...

Score: 0
Shekhar Suman avatar
Ubuntu 20.04.3 microphone not working , connecting to wifi freezes pc, speaker not working
cn flag

I have installed ubuntu 20.04.3 on my avita essential laptop n4020 ssd 128. Almost everything is working good and smooth, but are two things that cause issues:

  1. microphone
  2. speaker

My alsa info script link http://alsa-project.org/db/?f=1213954e3294886e4897c930eb3ab1ef2e4384c5

System Details

How can I fix this?

Score: 0
fred1x avatar
Try To Recreate An Accidentally Deleted Ubuntu System
in flag

I am new to this forum and am forced to admit how stupid I was : I managed to delete an Ubuntu VM ACCIDENTALLY. Now I am trying to reinstall that system BUT I am also being asked to repartition my system which is something I have never done before. Could it be that the deletion of the original was NOT complete and there are still large areas of my disk space allocated to Ubuntu ?

To go into more  ...

Score: 0
Aditya Krishna avatar
Unable to boot in normal mode after few days of usage while booting in recovery mode still works
br flag

When I dual booted my laptop with latest Ubuntu 21.04 and Gnome ver : 3.38.5 for the first few weeks it worked smoothly.

After a few days suddenly at the time of booting only the asus logo is displayed then nothing.

After that I hard booted my laptop.

I entered into my GRUB manager chose Windows, and it booted with just a click, easy & quick same with Ubuntu recovery mode but with a slow response t ...

Score: 0
Thirumal avatar
How to set static ip in Ubuntu 21.04?
br flag

The default configuration /etc/netplan/00-installer-config.yaml

# This is the network config written by 'subiquity'
network:
  ethernets:
    ens160:
      dhcp4: true
  version: 2

I tried to modify the configuration

network:
  ethernets:
    eth0:
      dhcp4: no
    eth1:
      dhcp4: no
      addresses: [192.168.0.7/24]
      gateway4: 192.168.0.1
      nameservers:
        addresses: [8.8.8.8, 8.8.4 ...
Score: 0
omboidal avatar
Fatal error: rpc/rpc.h: No such file or directory
id flag

I am trying to install Snort on Ubuntu 21.04 from source files as per instructions on the Snort website. I have followed videos on Youtube, and got past a number of issues, but I am stuck at :

sp_rpc_check.c:32:10: fatal error: rpc/rpc.h: No such file or directory
   32 | #include <rpc/rpc.h>
      |          ^~~~~~~~~~~
compilation terminated.
make[4]: *** [Makefile:478: sp_rpc_check.o] Erro ...
Score: -4
aimwin avatar
Windows 10 boot option in Grub Menu failed to boot windows 10 (21H1)
es flag

Windows 10 version 21H1 upgrade destroyed my grub menu on both of my Desktop and Notebook. I fixed the grub menu and face new issue.

Windows 10 boot option in Grub Menu failed to boot windows 10 (21H1)

I finally found the easy fix for my problems so I post it here just in case it can help others.

I have done these steps:

  1. That Windows is installed and configured to boot via UEFI.

  2. Ubuntu is installe ...

Score: 0
Burak Gunaydin avatar
Problems booting 20.04 Installed on a USB
bg flag

I installed 20.04 on a USB. When I tried to boot a few times I got multiple different errors. First, I booted to the login screen, but got stuck on a black screen after entering my info. Then I rebooted and got an "mmio read of 00000 fault" error, and I ran sudo apt-get purge nvidia* and rebooted. This time I'm stuck on loading screen.

What might be the problem with my USB? Any help is appreciated.

 ...
Score: 1
bagelchrist avatar
Never ending saga of audio problems (Ubuntu 20.04.2 LTS)
de flag

Release: Ubuntu 20.04.2 LTS

Sound Card : Sunrise Point-LP HD Audio

Context: Fairly new to linux (maybe my second month). I like to think I'm not an absolute noob but I'm still a beginner. Also completely new to askubuntu so I apologise if my formatting is incorrect.

  1. Upon installing Ubuntu, no sound. I tried pretty much every solution on the first page of google to no avail. I suspect that I may have ina ...

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.