Latest Ubuntu related questions

Score: 0
Kasparov92 avatar
How to fix these error while loading ubuntu 22.04?
vn flag

Edit: These errors are hidden by setting the loglevel to be 3 following this answer: https://www.linux.org/threads/acpi-error-after-installing-ubuntu-22-04.40993/#post-164104


I have the following error showing up before loading the Ubuntu (which opens up without problems).

enter image description here

I also have a dual boot, and the grub color is black, I am not sure why it is not the default of purple. It is not a console as  ...

Score: 1
home1357 avatar
User Independant Share Folder for different user
dk flag

I have a samba related question if anyone can help. I have set up samba on the Ubuntu server. I want to configure samba to allow access to my external HDD. I made 2 users, one is me who can access all folders inside that HDD and the other is my sister whom I want give access to just the movies folder. Please can someone guide me how do I setup?

Score: 3
blitz1259 avatar
WSL Ubuntu installation fails with the error: "Please restart WSL with the following command..."
ma flag

I am trying to run a Linux program on my laptop for the first time. My machine is running Windows 11. I've followed online guides for installing Ubuntu on WSL such as the ones here:

https://learn.microsoft.com/en-us/windows/wsl/install

https://learn.microsoft.com/en-us/windows/wsl/install-manual

https://learn.microsoft.com/en-us/windows/wsl/setup/environment

But when I install Ubuntu I get the erro ...

Score: 2
TesterLNX avatar
Ubuntu Intel Alder Lake poor performance
gp flag

I have just built a new rig with 128GB memory with Intel Alder Lake i7-12700K and Ubuntu 22.04 for scientific workloads. I have tried 5.15, 5.19, and 6.0 kernels and all give me miserable performance - about 10% of what I get out of Windows 11 on the same box. This is not a VM. The CPU is at 100% all the time, and no I/O is happening. Core frequencies fall to 3600 MHz from 5000 to prevent overheating. A ...

Score: 1
esmorun avatar
How to get rid of persistent notifications when in full screen?
us flag

Whenever I get a notification while watching video in full screen (for example in Firefox), it will not go away automatically after a few seconds like one would expect but rather it stays on top of the screen until I close it manually.

How can I make it go away after a few seconds, or hide it when in full screen? I know about the do not disturb switch but I don't want to flick it every time I ent ...

Score: 0
Rob avatar
After the latest update to Ubuntu 18.04 yesterday (5.10.22), I'm having problems with LibreOffice6
US flag
Rob

LibreOffice6 cannot now open files or cannot save them to include any edits made. On closing it says 'Empty File' or 'Empty Folder' and cuts off the connection to the USB stick (the icon disappears from the desktop). Are there problems with the update or has it not installed correctly? I cannot remember if the update included an update to LibreOffice6.

Score: 2
How to install latest ubuntu *signed* kernel on lts
in flag

Installing mainline kernels is not an option because it is not signed for SecureBoot: I hit bad shim signature and I cannot disable SecureBoot nor enroll my own signing keys on my system (locked BIOS).

How can I install the latest signed available kernel, at this time kinetic/linux-generic ie around 5.19.0-19, made for 22.10, on 22.04 LTS?

Note that such kernels only end up in ubuntu LTS only ~4 mo ...

Score: 0
geekygeek avatar
DNS only works when I have a port 53 UDP outbound rule *AND INBOUND* rule
us flag

I'm locking down both inbound and outbound ports with

iptables -P INPUT DROP
iptables -P OUTPUT DROP

Then, I allow certain traffic to certain servers

  • SSH from my network to the server (inbound)
  • HTTP requests on port 8080 from the server to another server (outbound)
iptables -A INPUT -p tcp -s <my_ip> --dport 22 -j ACCEPT
iptables -A OUTPUT -p tcp -d <server_ip> --dport 8080 -j ACCEPT
 ...
Score: 2
raven_lee avatar
Is there a way to call a window in ubuntu using nasm?
mz flag

I was wondering if there was a way to create a window using nasm. I know that when using wsl-2, it allows the user to actually use linux system calls, so are there any particular system calls or libraries that can create a linux window?

Score: 0
intStdu avatar
crontab sees bash script running while it is not
il flag

I have a python file which should ideally run at all times. However, sometimes it crashes, so I would have to start it again. Therefore, I have a cronjob that should try to run every 5 minutes (if it crashes it would restart again always within 5 minutes at least):

*/5 * * * * bash my_script.sh

that runs the following bash script called my_script.sh:

#!/bin/bash
now=$(date +"%T")
if ! pgrep -f 'f ...
Score: 1
Kevin Olson avatar
Ubuntu 20.04.5 main display not working. external works fine
um flag

first time posting here.

I am running Ubuntu 20.04.5 LTS

I have been trying to fix this issue I have been having. My laptop screen will work fine until the log in screen and some times be black with a white courser (not blinking) or the screen will be off completely. When I plug in a external monitor the display works perfect but the main laptop display stays off.

This all happened from when I disabled ...

Score: 0
Chris Hawes avatar
Hash Sum Mismatch Local Mirror
nc flag

I'm currently running Ubuntu 20.04 and a local mirror server after following this process. Also, this machine is a VM running on a 2012R2 Hyper-V cluster.

I'm finding that a server trying to do an update to it runs into a hash sum mismatch error after the nightly cron job runs. If I remove all the data in the archive.ubuntu.com directory in /var/www/html/ubuntu/mirror, then rerun the /usr/bin/apt ...

Score: 0
Matthew Hyatt avatar
Desktop in Window Switcher
jo flag

In the past, by default, Ubuntu included the Desktop in the Window Switcher. Now, (Ubuntu 20.04.5 LTS), does not offer the Desktop in the Window Switcher. How do I get this small, but very important feature, back?

Score: -1
sariii avatar
How to check if a package is installed while installing with make
cn flag

Lets say I want to install a package like kenlm. I have used this link to install it and it got installed without raising any error.

  1. Now how can I check where in my machine it has been installed?

  2. Why when I use dpkg -L kenlm it says "this is not installed"? But when I use locate -I KenLM I can find it in /usr/local/share/kenlm?

I know my question is naive since Im new in this era but

  1. when we instal ...
Score: -5
In principle I know what GNOME shell is. Can I delete multiple instances of it?
mp flag

Preface

This question regards Gnome [1]. Before proceeding any further, the reader should understand what Gnome is. One answer to this question, which is posted below by Henning Kockerbeck, suggest that I should look at a website to understand what Gnome is. Let me be clear, after getting 5 down votes, I went to Gnome.org. In my humble opinion, there is nothing there that spells out in simple terms  ...

Score: 1
Madz avatar
Only install specific driver from linux-modules-extra
nc flag

I have a USB serial cable that I'm trying to connect to a Ubuntu 20.04 machine (kernel Linux 5.8.0-63-generic). To get the ttyUSB0 in /dev I have to do a sudo apt install linux-modules-extra-$(uname -r), which installs a lot of extra drivers I simply don't need. Is there a way to only install the specific driver?

lsusb shows the serial port as following;

Bus 001 Device 002: ID 067b:2303 Prolific Tech ...

Score: 2
Laptop won't boot, ACPI errprs, initramfs unpacking failed, usb or disk
bt flag

The laptop (dell inspiron 5502) runs 20.04 and was fine before. However I think /boot ran out of space (a combination of ubuntu's installer defaults being too small, and ubuntu not removing old kernels) which probably caused the initial failure.

screenshot

What's weird is that I get the same (well, v similar) errors trying to run Ubuntu 22.04 off a memory stick: get the Initramfs unpacking failed error.

I  ...

Score: 1
Problem connecting with Cisco Compatible VPN on Ubuntu 22.04
cn flag
Ray

I'm trying to configure the VPN for my workplace and am somewhat stuck as I do not know what I can do.

I can confirm that the VPN works with my account/password if I use Windows or Android. After I enter my password, I get a push notification on my phone, which I can approve and get connected.

It isn't working for Ubuntu 22.04 (it has worked with earlier versions of Ubuntu with the same workplace). ...

Score: 0
Flameshot won't copy /paste does not work in Wayland / KDE Plasma
cn flag

I am trying to use Flameshot in Plasma under Wayland, and I encounter a problem where copy/paste does not work.

Flameshot v11.0.0 (11.0.0-2 Debian)
Compiled with Qt 5.15.2

I can take a screenshot.
I can save it on disk.
But I cannot copy/paste it, be it with Ctrl+C or the copy icon.

Do you see the same problem, and is there a workaround ?
(except save files everywhere on my disk :)

Score: -3
Basavaraj Pn avatar
I want to delete all files in a particular directory which are smaller than a specific size
im flag

I want to delete the files in a particular directory which are smaller than than a specific size.

For example, I have five files on a server:

  1. File1.20221001 size:-1430KB
  2. File1.20221002 size:-1320KB
  3. File1.20221003 size:-27654KB
  4. File1.20221004 size:-350KB
  5. File1.20221005 size:-765434KB

I want the first four files to be deleted based on size of the fifth.

Score: 0
Kanishka Verma avatar
Docker Destop is not installing in ubuntu
gu flag

I tried to install docker desktop by sudo apt install and sudo apt-get install but it gives the error as :

N: Download is performed unsandboxed as root as file '/home/linux/Downloads/docker-desktop-4.12.0-amd64.deb' couldn't be accessed by user '_apt'. - pkgAcquire::Run (13: Permission denied)

picture of the error

I tried commands like:

sudo chown -Rv _apt:root /home/linux/Downloads/
 sudo chmod -Rv 700 /home/linux/Dow ...
Score: 1
Maystro avatar
gdisk MBR and GPT damaged
ch flag

I'm trying to clone my SSD into a bigger one using CloneZilla, but I got a problem saying that my disk contains mismatched gpt and mbr partition. I tried the gdisk command to see what is wrong in there and I got the following output:

:~$ sudo gdisk -l /dev/nvme0n1
GPT fdisk (gdisk) version 1.0.5

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

Warning: Invalid ...
Score: 0
Fru Promise avatar
How to customize ubuntu-desktop raspberry pi image and install on other raspberry pi with custom preinstalled applications
fm flag

Is it possible to get a custom Ubuntu-desktop raspberry pi image with the language configuration screen language configuration screen after customizing the Ubuntu-desktop-preinstalled raspberry pi image on another raspberry pi? A process like the ubuntu-oem-installer but for the raspberry pi

Score: 0
William Oliver avatar
Should I be concerned about these UFW blocked traffic?
br flag

I just installed ufw on a newly provisioned Ubuntu 22.04 Server. It is currently set up to deny all traffic except ssh on an alternate port.

I'm getting this pattern of blocked traffic:

Oct  6 10:09:57 mydomain kernel: [  285.236376] [UFW BLOCK] IN=eth0 OUT= MAC=[myMACaddress] SRC=92.63.197.132 DST=[myIPaddress] LEN=40 TOS=0x00 PREC=0x00 TTL=252 ID=14422 PROTO=TCP SPT=41554 DPT=8342 WINDOW=1024 RES=0x00  ...
Score: 0
user3596617 avatar
Unable to send email locally using Postfix relay host
fr flag

I have two ubuntu servers 22.04 in the same network 172.16.0.0/24. One is setup as a webserver and the other as a mailserver using mailcow.

For starters my objective is to send an email notification when ever the server has been updated with an security update.

I installed postfix and mailx and configured it to the best of my knowledge.

I am unable to receive the test email using command line ech ...

Score: 0
Clément Lehuede avatar
libjpeg62-turbo is not install
ni flag

I have a problem when installing a dependency for a pdf file generation project. I use the knp/spappyBundle library but I had a code 127 error saying it couldn't find the wkhtmltopdf. Using another solution with wkhtmltopdf: https://github.com/h4cc/wkhtmltopdf-amd64

the error remained the same but the different message:

The exit status code '127' says something went wrong: stderr: "/var/www/html/vendor/ ...

Score: 0
Lendersmark avatar
Save VPN password for all users using nmcli
la flag

Is it possible to save a VPN password using nmcli and make it available to all users?

nmcli con modify vpnname vpn.secrets "password=mypassword" does the job, but only for current user.

The only way I found so far is by modifying this setting through the graphic interface, in the "Identity" tab of the VPN connection:

enter image description here

I'm using Ubuntu 22.04.01.

Score: 0
Ansible - How to optimize sending a file to a sub-network?
hu flag

I have a playbook that looks:

- name: Playbook para Copiar JRE
  hosts: all
  tasks:
    - name: Copia Arquivo JRE
      copy:
        src: jre.tar.gz
        dest: /home/pdv/sistema-loja/jre-new.tar.gz

And hosts:

[13]
0013-03.filial.local
0013-04.filial.local
0013-05.filial.local
0013-06.filial.local
0013-07.filial.local
0013-08.filial.local
0013-09.filial.local
0013-16.filial.local

Command:

a ...
Score: 0
IgnoranteX avatar
Keyboard shortcuts don't see my custom executable
cn flag

On Ubuntu 22.04 I have an executable (bash) file in custom folder scripts in the home. The path of the latter is properly included at the end of the .bashrc file (and also at the end of the .profile one, just to be sure) with the line export PATH="$PATH:/home/username/scripts". The command runs correctly in a terminal shell but not if I invoke it through a keyboard shortcut properly set via Settings.  ...

Score: 0
How to fix triggering repetitive udevadm "change" event which causes 100% CPU core use?
id flag

This is a top process from the top command

643 root      20   0   93856  74480   3940 R 100.0   0.3 131:25.50 systemd-udevd  

This is the output from udevadm monitor

KERNEL[16222.287655] change   /devices/pci0000:00/0000:00:14.0/usb2/2-3/2-3:1.0/host0/target0:0:0/0:0:0:0/block/sda (block)

The event above keeps being triggered.

I already tried removing USB devices(apart from Logitech mouse) and ap ...

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.