Latest Ubuntu related questions

Score: 2
Why is unsafe Unsafe_Shutdown_Count increases on every shutdown?
es flag

This SMART attribute seems to increase on every shutdown even if I seem to shut down normally. Why is this and how do you fix it so that it shuts down safely?

This is Xubuntu 20.04 machine with an SSD storage.

Related question

Score: 2
ThinkHard avatar
huge log.samba-bgqd
ru flag

Since updating to 22.04, samba has started to produce an additional log file named log.samba-bgqd, into which appr. every 12 minutes a block of 1,000 lines with errors is logged. The error messages look like this:

[2022/10/08 11:46:08,  1] ../../source3/printing/print_standard.c:147(std_pcap_cache_reload)
  std_pcap_cache_reload: WARNING: You have some printer names that are longer than 15 characte ...
Score: 1
Muralidhara Kakkunje  avatar
Need to create custom ISO for Ubuntu 22.04 that can install OS on thin clients with 8GB flash
bh flag

I need to create a custom Ubuntu 22.04 Desktop ISO that has only required set of packages and has the ability to get installed on systems with 8gb of flash (this is the reason to strip down some of the heavy packages).

Initially, I tried to customise with Cubic, but, that didn't help me much. Then I followed the instructions in the link https://github.com/mvallim/live-custom-ubuntu-from-scratch and ad ...

Score: 1
Amy1505 avatar
Ubuntu cannot boot problems
to flag

I use Ubuntu 18.04 and it worked well, but when I turned on my computer this morning, the following problem occured.

Problem screenshot

I am fairly new to Linux and have no idea what this could mean but I would like to resolve this. Did someone have the same problem? How can I fix it?

Score: 2
Rerun avatar
Python3 and pip3 dependency issues on Ubuntu 22.04
cn flag

I have made a new, fresh installation of Ubuntu 22.04, on which I have also run sudo apt update and sudo apt upgrade.

Now I am trying to create a Python virtual env, but run into dependency issues, which I haven't been able to resolve. Running python3 -m venv myvenv asks me to run apt install python3.10-venv Doing so (with sudo, of course) I get this error:

Reading package lists... Done
Building dependenc ...
Score: 1
Nicooost avatar
Bluetooth Low Energy is not working on INTEL Nuc and Ubuntu 20.04
am flag

I am currently trying to connect my Intel NUC with Bluetooth 5.1 to my phone via Bluetooth Low Energy.

When I start a BLE scan from my phone I can't find the NUC. When I run a normal Bluetooth scan, I can find it.

Also, the command sudo hcitool lescan on the NUC returns an I/O Error. While sudo hcitool scan works perfect. Solution at this post https://stackoverflow.com/questions/22062037/hcitool-les ...

Score: 2
LittleNo avatar
Bug #1966203: Ubuntu 22.04 won't boot any more
cn flag

I have Ubuntu 22.04 on a Lenovo M710q which worked fine for about 4 weeks and then it stopped booting.

I have these error messages:


(Click image to enlarge)

That led me to this Launchpad bug: https://bugs.launchpad.net/ubuntu/+source/systemd/+bug/1966203. It describes exactly my problem.

Score: 3
user227495 avatar
notify-send giving syntax error with my custom Python file in 22.04
us flag

When I run a simple .py file with code

notify-send " ha ha "

I get notifications in 22.04 without any issues.

Then I tried the following code in another .py file. And it is giving a syntax error.

x = 1
count = x

while count <= 8:

    notify-send "Let's Take a Break!"
  
    
      
    sleep 60   

    count += 1 

    if count <= 8:        
        notify-send "Ok folks," "Let's get back to ...
Score: 0
Ypsilon avatar
Can't use xprop on Firefox
pg flag

i've updated my System to Ubuntu 22.04.1 LTS, which runs pretty good so far. But Firefox behaves weird, i can't use xprop | grep WM_CLASS on Firefox Windows. None of the xprop commands are working, the cursor also don't turn to a cross, when i hover a Firefox Window. It works like expected for Chrome, Opera or Thunderbird Windows, but not for Firefox.

I had the issue with the pre-installed snap Versi ...

Score: 1
pierrely avatar
No subfolders shown for Nautilus bookmark folders. How can I navigate to them?
cn flag

Ubuntu 22.04 Nautilus, the default gnome file manager. I have some bookmarks and they show on the left panel. However, there are subdirectories that exist on the file system that do not show. How can I navigate to them through these bookmarks? Or how can I get those subfolders to show, like in regular file managers.

Score: -1
Sherman Chen avatar
How to fix the error 'waiting for apt-get to exit'?
co flag

When I was installing another language in settings of Gnome on Ubuntu, system gave the message - 'Waiting for apt-get to exit'.

How can I fix the error, and install the language in GNOME settings?

Score: 1
sleepy avatar
Is it possible to enable DHCP server on wlan interface during startup?
cn flag

To change a box to unattended AP, DHCP service need to be bound to the wlan interface during the system startup.

But there is few article to mention how to assign a static IP to the wireless card during the startup, although manually assignment is workable after the start-up.

Netplan or NetworkManager can do it for me. But got some issue with these 2 and turn to hostapd+dnsmasq now.

As per my understan ...

Score: -1
Aaron88 avatar
sudo asks for password despite not setting one
kg flag

Created a user with no password.

sudo adduser --disabled-password cowrie

I'm currently under this virtual env 'cowrie' but when trying to execute the following command it asks me for the password:

sudo apt-get install authbind

Even though I just hit enter after 3 attempts, it says the password is wrong. This user 'cowrie' doesn't have any password set.screenshot attached

Score: 0
user1639347 avatar
How to remove a directory from root?
gr flag

I was trying to download anaconda3 on my WSL using the command sudo bash Anaconda*-*-Linux-x86_64.sh but the installation was taking a while so I decided to stop it using Ctrl+C, but later when I tried to re run the command I get:

ERROR: File or directory already exists: '/root/anaconda3' If you want to update an existing installation, use the -u option.

So I tried to run:

conda create -n asl python=3 ...
Score: 0
Wascally Wabbit avatar
Ethernet interface is down after GNOME crash
hr flag

I was doing some random, network intensive thing (apt-getting) on my Ubuntu 22.04 box today when I abruptly went from GNOME to a black screen. After booting up, I had a CLI only - no GNOME. All my files were OK.

After hours of fiddling, I still have no GNOME, and ip, ifconfig, and nmcli are all in agreement that my ethernet interface is down. sudo lshw -c network says my ethernet is DISABLED.

My  ...

Score: 1
pierrely avatar
If I have automatic boot login, should that also obviate the need for password at suspend resume?
cn flag

theory question not seeking a solution. I have achieved auto login on reboots. but I am still required to put a password in when I logout and resume. is this the expected behaviour? and if so, what do I need to do to get no password requirement from the logout/login or suspend/resume login screen?

5.15.0-48-generic Ubuntu 22.04.1 LTS GNOME Shell 42.4

Score: 0
Irvin Hernandez avatar
I can't log in to launchpad
nf flag

I'm trying to file a bug report but I cannot login to launchpad. I don't know if there is some kind of maintenance going on but I can't login. I already logged in to my Ubuntu one account but still does not let me login to launchpad to report the bug. This is what the page shows me after I try to login. Opss If anyone knows how to solve this problem let me know please because the bug that I am experie ...

Score: 1
gfaster avatar
Does removing 20apt-esm-hook.conf disable security updates before ESM period starts?
ec flag

In this answer, it says removing /etc/apt/apt.conf.d/20apt-esm-hook.conf makes the upgrade summary go from:

42 upgraded, 5 newly installed, 0 to remove and 0 not upgraded.
29 standard security updates

To the ESM-free version:

42 upgraded, 5 newly installed, 0 to remove and 0 not upgraded.

Before ESM kicks in, is there a difference here in what is installed? i.e. are the 29 "standard security  ...

Score: 4
James E Keenan avatar
Why is my Firefox so unstable on Ubuntu LTS 22.04?
fr flag

Four days ago I upgraded my laptop from Ubuntu 20.04 LTS to 22.04 LTS. While this upgrade generally went very smoothly, a pop-up paused the process to tell me that henceforth Firefox would be packaged via snap rather than apt. When I rebooted after the upgrade, the Firefox icon had disappeared from the Favorites dock, so I had to go into Activities to launch it. I am now using Firefox 105.0.2 ( ...

Score: 0
Sia Rezaei avatar
Zip a directory excluding files/folder that do not belong to the current user
in flag

I would like to zip a directory but only include files and folders that belong to the current user.

Score: 1
Giuseppe Scardicchio avatar
DVI-I crossover screen problem
ck flag

I anticipate that I will be a little long-winded so that I can be as clear and detailed as possible.

I have this crossover 27QW LED AH-IPS Monitor that is giving me quite a bit of trouble. I can't get anything on the screen and it is not clear why , I have also tried different types of cables but it doesn't depend on the cables.

My Xubuntu ( but also windows ) detect the monitor but can not use it , ...

Score: 1
Acceptable Name avatar
Best way to have a network bridge with both my LAN and WAN (not AP) interfaces attached?
us flag

I have this configuration to put my LAN and WAN (not AP) network interfaces on the same bridge but I'm wondering if there is a better way to do it? Has anyone done this in a better way? Thanks.

I've only tested it on Ubuntu 22.10 with Network Manager disabled and systemd-networkd enabled. I did that part like this:

sudo systemctl disable --now NetworkManager-dispatcher.service NetworkManager-wait-online. ...
Score: 1
Juan Hauara avatar
Install kernel 5.11.0 in Ubuntu 22.04
lc flag

I am developing a software that use a driver that require Linux kernel 5.11.0 at most.

Currently I am using Ubuntu 22.04 with kernel 5.15.0-48.54-generic.

Can I install Linux kernel 5.11.0? I have install mainline and --list command returns:

$ mainline --list-installed
mainline 1.0.16
Distribution: Ubuntu 22.04.1 LTS
Architecture: amd64
Running kernel: 5.15.0-48-generic
---------------------------------- ...
Score: 0
MephistoQ89 avatar
Unable to update after installing pcsx2 from PPA
cf flag

I am having some problems fully updating my system after installing pcsx2. Now this shows up:

Err:12 https://ppa.launchpadcontent.net/gregory-hainaut/pcsx2.official.ppa/ubuntu jammy Release
Score: 0
user3473406 avatar
Unknown process using high amount of CPU
es flag

My CPU usage is reporting as running at 100%

Running top -i I get

    PID USER      PR  NI    VIRT    RES    SHR S  %CPU  %MEM     TIME+ COMMAND
3696734 root      20   0 2492344   6456   3504 S  1143   0.0   8:17.16 .system3d
3586276 myUser     20   0  477744  47756  34520 S   5.6   0.1   1:10.26 xfce4-taskmanag
3534870 myUser     20   0  307504 163248  53768 S   3.7   0.2   2:14.20 Xtigervnc

I have no i ...

Score: 0
Sharique Ahmed avatar
Ubuntu brightness reduces when I increase it using the slider, increases when I reduce. Dual boot
pg flag

I dual booted windows 11 and Ubuntu 22.04.

My laptop specs:

Victus Gaming Laptop 15 (39.62 cm) fb0050AX

AMD Ryzen™ 5 processor

Windows 11 Home

39.6 cm (15.6) diagonal FHD display

NVIDIA® GeForce RTX™ 3050

512 GB PCIe® NVMe™ TLC M.2 SSD

8 GB DDR4-3200 MHz RAM (1 x 8 GB)

So after dual booting Ubuntu with Windows, I'm facing brightness issue. The brightness is reducing when I increase the slider ...

Score: 3
Meowzorzs avatar
Found forcing phased updates was a bad thing
mk flag

I'm new and didn't know what phased updates were. I've been forcing them sense they started to happen after the 22.04 release. Everything seems to be working fine and nothing seems to be broken.

Just wondering if I should/need to do a clean installation of the operating system, or if just stopping forced installation of phased updates is good enough and not worry about it.

I'm just worried about if  ...

Score: 1
Trunk avatar
Shut Down Authentication Required Due To Application Inhibiting - Then Stalled At Start-Up
nc flag

Ubuntu 20.04.5 Desktop

I never before observed this authentication required notice for powering off my laptop on Ubuntu. But now I get it every time I shut down the system . . .

enter image description here

Here are the current processes on the laptop:

$ ps aux
USER         PID %CPU %MEM    VSZ   RSS TTY      STAT START   TIME COMMAND
root           1  0.0  0.0 168740 11888 ?        Ss   11:04   0:03 /sbin/init sp
root           2 ...
Score: 1
Why can't I make this app a favorite, in the dock?
de flag

I'm trying to make Waterfox (a Firefox fork) a favorite in the dock, but the option isn't there. I can't do it by dragging the icon to a different position, either. It worked fine until Waterfox updated recently. What gives?

enter image description here

Score: 0
Meowzorzs avatar
Curious about ubuntu holding back packages during updates 22.04
mk flag

After jumping around distros and learning a bit, I've finally settled back in with ubuntu, and I'm very happy with it. I understand every so often you run into little quirks with different distros.

I installed 22.04 when it was first released, and the first thing I did was remove snaps and replace them with flatpaks. I only say this because, to my knowledge, this is the only possibly "weird" thin ...

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.