Latest Ubuntu related questions

Score: 1
edmz avatar
Why would a user created systemd service stop forwarding to syslog?
jo flag

TLDR: I have a centralized syslog server that suddenly stopped receiving syslog message from applications servers. Messages only resumed when I restarted each individual service running on every app server. Why?

Each application server has N different apps that were defined as systemd services. They all log to STDOUT and their ~.service~ file is configured as this:

SyslogFacility=local0
SyslogIdentifi ...
Score: 0
Marco avatar
Did I install my ubuntu server correctly? (Software RAID)
mm flag

I tried to install ubuntu server on a software raid (raid6 to be precise) instead of a single (whole) disk.

Since this is new territory I'm not entirely sure if I did things correctly.

Here are the steps I took:

1.) Change the four disks from MBR to GPT (with gdisk).

2.) Created the same two partitions on every drive:

sda1: type 1 (ESP) 512M, sda2: linux 16G
sdb1: type 1 (ESP) 512M, sdb2: linux 16G
s ...
Score: 1
Arjan avatar
Ubuntu 22.04 hangs on reboot
bo flag

Tried everything and can't find the answer anywhere. I installed Ubuntu 22.04 as single OS on a new HP15-dy2. Boots fine and everything works. Only problem is that Ubuntu does not reboot, not from the menu and not from the terminal. Cold boot works OK, no problem there and no error-messages (after getting rid of secure boot and other BIOS security-features). Once cold-booted everything works fine.

Score: 0
Mihira Kasun avatar
Ubuntu DNS nameserver
bo flag

I am new to Ubuntu, and i have a ubuntu workstation installed with ubuntu 20.04. I edited the \etc\resolv.config file previously and add nameservers 8.8.8.8 and nameservers 1.1.1.1. Now i need to add 127.0.0.53 to the resolv.config because otherwise internet cannot be accessed.

I tried to manually edit it through and it works for a instance by restoring the internet connection. However, resolv.co ...

Score: 0
Greg Hamilton avatar
My dual boot machine will not connect to my Wifi, or Bluetooth
mv flag

Desktop, custom built PC, Windows 11, and Ubuntu 22.04. TPLink Bluetooth dongle, Brostrend High Gain ac 1200 Wi-fi adapter. The system said the Bluetooth is paired, but will not connect, also the system identifies my wireless network but will not connect. All of the latest drivers are installed. I can access the internet using my Ethernet through my Xfinity 5ghz router. I use a Vizio wireless speaker, t ...

Score: 0
nube101 avatar
BIND9 isolated master not supplying service (SRV) records as expected
ba flag

I have a problem getting SRV records to respond correctly from new BIND9 server. It seems to respond as expected for every test I can hit is with except adding the "additional section" that includes the internet address of the srv hosts.

Windows nslookup utility

Windows server that is working correctly.

> set type=srv
> _sip._udp.subdomain.example.com
Server:  servername.activedir.example.com
Addre ...
Score: 0
Pablo Felipe Maria avatar
All web browsers crash in Kubuntu 22.04
va flag

I have installed Kubuntu several times and any internet browser crashed always after the use some clicks surfing the internet. I have used Opera, Firefox, Chrome, and other web browsers. The symptoms are the same. If not when I open the browser, it's when I change any webpage. It's something strange, like a conflict with extensions with the OS.

Opera error:

Opera Error

Chrome error:

Chrome Error

My laptop:

My laptop

Score: 0
mariano torres manno avatar
How to recover data from drives in bcache configuration
bz flag

I'm trying to recover the data in hard drives that was set up in raid and bcache.

I'm using ubuntu 22.04 and just migrate the two hard drives in raid 1 to another computer.

I have no longer the ssd that I was using as Cache with bcache.

The drives in a raid 1 was set up using mdadm and this raid has a ssd partition cache using make-bcache -B /dev/md0 -C /dev/sdd3

How can now get the data out of the div ...

Score: 0
Niko Senkov avatar
Xserver "reloads" input devices after system startup. How to debug?
sh flag

I am attempting to figure out why many (10+) input devices (most importantly, my touchpad) are being needlessly loaded a second time and overwriting user-defined settings with default values.

Here is an image of what Xorg log reports:

Here is an image of what Xorg log reports

./Xorg.0.log:[    13.366] (II) config/udev: Adding input device SynPS/2 Synaptics TouchPad (/dev/input/event7)

./Xorg.0.log:[41.940] (II) config/udev: Adding input d ...
Score: 1
George avatar
Missing Text in MySQL Workbench Performance Dashboard
bs flag

I've installed MySQL Workbench on Ubuntu 22.04 following the directions here. I'm able to connect to my database server and run queries just fine. However, when I access the Performance Dashboard, most of the text appears to be missing:

screenshot

When I move my mouse around the screen, a black box appears in the top left corner of the screen, but vanishes too quickly for me to get a screenshot. Any ideas?

 ...
Score: 0
Anrmol avatar
Constant buzz in the speakers
sr flag

Hello everyone first sorry if I can't explain myself (I don't know much English) I'm new in Ubuntu, I just installed this yesterday I have had many problems but I solved all of them, less one.

I have logitech z533 speakers and for as long as I've had Windows, they never make any sound, now with Ubuntu 20.04 LTS when I'm playing any video or song, they work perfectly, but in the moment that I stop ...

Score: 3
Dilaksan avatar
ubuntu 22.04 LTS in UTM on MAC M1 is glitching very badly
bd flag

I very recently downloaded UTM and installed ubuntu 22.04 in it. And at first i was facing some black screen issues but later i changed the emulated display card and it was working fine. but ubuntu is glitching when i try to drag or move the opened applications and the resolution is poor, not as smooth as other users says. how can i get it to work smoothly?

Score: 0
Audio player without favourites
in flag

Pls suggest an Audio player which runs in background. Im using ubuntu 20.04 LTS. The audio player should not be added in favourites. I should be able to see only icon on top right corner. When I click the icon the player should open.

Score: 1
ZephyrLQY avatar
Failed to install Ubuntu 22.04 on razer blade 14 (2021)
vu flag

I tried to install Ubuntu on my razer blade 14, and it didn’t work out. When I boost the installation from USB driver, this showed up a moment. Then it showed Ubuntu desktop and restarted.(PS: I disabled fast boot and secure boot.)

enter image description here

How can I fix this?

Score: 0
user1558869 avatar
Dual-booted Ubuntu 22.04 | black screen from inactivity (locking, closing lid) sometimes freezes and requires hard reboot
fr flag

I have a ThinkPad P14s Gen3 (AMD Ryzen Pro 7 Pro 6850U) with Ubuntu 22.04 dual booted alongside Windows 10 (the original OS). Recently, I've had the reoccuring issue that after a period of inactivity - either while keeping the lid open or closing it - the screen remains black and won't turn on again. Although the light next to the power button is on (and blinks when connecting the charging cable), every ...

Score: 0
Hinz avatar
Libreoffice keeps promoting itself to defaultapplication
in flag

Running Jammy 22.04.2 with GNOME Shell 42.5.

I have Libre Office installed (and want to keep it around) but usually use a different Office suit (Softmaker Office 21, if this is relevant).

No idea how often I had to change back my default apps for docx, xlsx & friends to my preference after Libre Office has again claimed that for itself. Not sure, but I guess this happens during updates? Is there ...

Score: 0
ICT Sitapur avatar
All files ans folders showing on desktop on Ubuntu 22.04.1
US flag

I tried Ubuntu 22.04 on Ubuntu 22.04.1 without installing now my all files and folders showing on desktop even removing bootable pen drive?

I got the solution..... Because my desktop folder was deleted by someone.

Create a folder named Desktop in home directory. Now press ctrl+h in home directory and find .config file. in .config file find "user-dirs.dirs" open it. you will find -> XDG_DESKTOP_DI ...

Score: 0
Nicola Urbinati avatar
Nvidia drivers with cuda-toolkit version mismatch
co flag

I'm trying to install both nvidia drivers and cuda. I do have this options:

ubuntu-drivers devices
== /sys/devices/pci0000:00/0000:00:10.0 ==
modalias : pci:v000010DEd00001C31sv0000103Csd0000131Bbc03sc00i00
vendor   : NVIDIA Corporation
model    : GP106GL [Quadro P2200]
driver   : nvidia-driver-515-server - distro non-free
driver   : nvidia-driver-470-server - distro non-free
driver   : nvidia-driv ...
Score: 0
Ubuntu is not shutting down
US flag

I added a WebDAV folder to /etc/fstab

https://my.owncloud.de/remote.php/dav/files/matt/ /home/matt/Owncloud davfs user,rw,auto 0 0

but when it's mounted then Ubuntu doesn't shut down. See more details in the attached image.

Shutdown

Score: 1
Andrew avatar
Copy DVD Movies Onto Blu Ray
mz flag

I have a few (movie) DVDs that, thanks to repeated mishandling by the kids, don't play very well on the DVD player. But before they got too bad, I managed to make ISO image copies of them - if I recall correctly, I used dd to do this.

I can watch these ISO images just fine on the computer using vlc, but what I really want is to be able to watch them on the television. This requires burning them b ...

Score: 0
mykia avatar
automatic start script on pendrive
fj flag

I would like them to start a backup with rsync (type: rsync --delete -av /media/xxx/yyy /media/aaa/bbb) about 10 seconds after inserting a certain pen-drive (recognizable by VID and PID). I followed this post that makes me mount (and unmount) my pen-drive regularly which is read automatically (VID and PID) but I can't launch, after mounting, a script to start rsync... Thanks for any helpful advice.

Score: 0
doraemon avatar
After reboot a lot of processes ran in the isolated cpus
co flag

This question is migrated from stackoverflow since it was marked as off-topic there

I am running ubuntu 22.04 with kernel vmlinuz-5.19.0-35-generic. I isolated a few cpus by editing /etc/default/grub and did a sudo update-grub

GRUB_CMDLINE_LINUX_DEFAULT="quiet splash isolcpus=4-7"

However, after I rebooted the system, I saw a lot of processes already running on one of the isolated CPUs, including some

Score: 2
Rafael avatar
How increase the "loaded units" systemd
de flag

we use chrome remote desktop to perform remote access to ubuntu, but I am not able to enable more than 32 users (each user is a systemctl unit and after reaching 32 unit loaed, I cannot start others).

to list the loaded units use the command:

sudo systemctl reset-failed && sudo systemctl list-units 'chrome-remote*'

to activate the unit I use the command

sudo systemctl stop chrome-remote-desk ...
Score: 2
God of Money avatar
How to remove/add/replace numbers from multiple filenames?
so flag

How to remove and add numbers from multiple filenames?

For example, I want to change the names of filenames Apple1.sh and Banana2.sh to Apple.sh and Banana.sh

I have googled this for a while but I haven't found a precise answer

Found this:

for i in *.sh; do
  echo "$i" | sed 's/^[0-9_ ]*//'
done

But it only displays the output and doesn't change the filenames.

I also need to add numbers, for example, ...

Score: 1
Rafael Higa avatar
Ubuntu ethernet error and hotspot login popup
ad flag

I am not being able to connect to the internet on Ubuntu 22.04.

The first thing I get is a popup message of hotspot login window saying: “Error receiving data: connection reset by peer”.

I’m new to all of this. Could you help me or point to promissing links?

Score: 1
Stephen C avatar
Ubuntu fails to automatically boot, but will boot from Mac mini 2014 startup manager (option key)
pr flag

I am trying to get my Mac Mini 2014 to boot Ubuntu 22.04 automatically. I am single booting, I have no use for OSX El Capitan, it's too old.

This Mac mini has a defective internal disk that can't is used, so am trying to install Ubuntu on two 2TB external USB disks.

I have managed to install Ubuntu by booting from a USB via Startup manager.

In short, if boot the machine with no interaction, I get the q ...

Score: 0
Mono avatar
Wifi connection drops randomply and can't connect until reboot
us flag

Doing: sudo dmesg | grep iwl

I get this:

[ 3045.514398] RIP: 0010:iwl_fwrt_dump_lmac_error_log+0x4cf/0x550 [iwlwifi]
[ 3045.514434]  iwl_fwrt_dump_error_logs+0x29/0x220 [iwlwifi]
[ 3045.514450]  iwl_mvm_nic_error+0xfe/0x120 [iwlmvm]
[ 3045.514465]  iwl_trans_sync_nmi_with_addr+0xa6/0x140 [iwlwifi]
[ 3045.514477]  iwl_trans_pcie_sync_nmi+0x68/0x80 [iwlwifi]
[ 3045.514489]  iwl_fw_dbg_error_collect+0 ...
Score: 0
DenisZ avatar
How to extract part of var with substring substition if exists
cn flag

I need to extract IP and PORT (if exists) from address. I currently use following and it works if address has :port, but if it doesn't PORT variable becomes also IP. How to have PORT to be null if no port specified

#ADDR=1.2.3.4:12345
ADDR=1.2.3.4
IP=${ADDR%:*}
PORT=${ADDR#*:}
Score: 2
Helga Cassol avatar
ssh: connect to host IP port 22: Connection refused
iq flag

I'm trying to connect my laptop to another workstation with SSH protocol. On both of my Windows PCs I installed Ubuntu to work from the terminal (WSL). I've followed tutorials found online to do the installation and the configuration but it gave me this error.

I've already checked if the ssh service is running on both of PCs and if the port 22 is listening.

$ sudo ss -tulpn | grep :22
tcp   LISTEN 0   ...
Score: 0
Kirill Muchow avatar
Ubuntu 22.10 Kinetic can't update archive.ubuntu.com and ignored it
bd flag

I've got some problems. It appears today, yesterday was OK. What's going on? And what should I do? I've just wanted update Ubuntu: sudo apt update

Ign:1 http://archive.ubuntu.com/ubuntu kinetic InRelease
Ign:2 http://archive.ubuntu.com/ubuntu kinetic-updates InRelease
Ign:3 http://archive.ubuntu.com/ubuntu kinetic-backports InRelease
Ign:4 http://archive.ubuntu.com/ubuntu kinetic-security InRelease
Err:5  ...

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.