Latest Ubuntu related questions

Score: 0
Paul Marvell avatar
Black screen with blinking underscore whilst installing Ubuntu
sr flag

I am trying to install Ubuntu 22.04.2 onto an old Windows 7 desktop pc, but Im encountering an error I cannot find a solution to.

  • Searching "blinking underscore" gave a wide range of suggestions. But none of them referenced my specific issue. New ubuntu install onto a windows 7 device getting to GRUB and then encountering blank screen.
  • Some referenced issues dont get to the GRUB.
  • Some referenced ...
Score: 0
user2393642 avatar
How to block NetworkManager from changing a line from dhclient.conf when merging?
ee flag

In dhclient.conf I have a line

send host-name = gethostname();

which I do not want to be changed by NM to

send host-name = '<current short host name>'

when generating the file in /var/lib/NetworkManager.

Any idea how to do that in Ubuntu 20.04?

gethostname() returns the fqdn of the host, which is mandatory when you have multiple domains on network. Default behavior of NM is wrong for my case. It ...

Score: 0
Rafael Souza avatar
recovery mode Ubuntu 22.04.2 LTS
br flag

After I installed a program my Ubuntu started giving errorenter link description here i am trying to recover my ubuntu with gnu grub i press esc to boot the grup but it goes to a command prompt screen i am using gnu grub 2.06 what command do i restore my ubuntu?

enter image description here

Score: 0
Demophobie avatar
systemd service doesnt start
mt flag

i have a problem with a systemd service and i cant find the problem.

I have script in the directory /home/username/test/ called battery.sh:

#!/bin/sh
max=99999
for i in `seq 1 $max`
do
    clear
    python3 batterie.py
    sleep 5
done

it starts a python script named batterie.py. This script gives out a log file in the directory. I want the sh script to be autostarted, so i added batterie.service in /etc ...

Score: 0
Mattia Brozzo avatar
Blurry icon highlight behind dock/taskbar icons (22.04)
na flag

This image is pretty self-explanatory. I know that this question was asked at least twice before, but no solution was proposed. Moreover I do not have an Nvidia GPU, but an Intel integrated GPU instead. My Ubuntu installation is brand new too. I only have changed Ubuntu settings.

image

Here are the links to the other questions:

Pixelated borders around icons on dock/panel
Newly opened apps have blurry ic ...

Score: 0
Zac Mussatt avatar
Unable to resolve hostname of Ubuntu 20.04 server after adding second ip address on a second adapter - no local DNS server
bv flag

I recently needed to add a second IP address to a server using a previously unused Ethernet adapter. When I did this, suddenly no workstations could resolve the hostname of that server. When I undid my change, hostname resolution resumed, at least once I reset the first adapter.

Both adapters are using DHCP, and we then use DHCP reservations to set the IP. This rather than static. This isn't fu ...

Score: 0
Peter Ramos avatar
Ubuntu 22.04 lts shutdown by itself
sn flag

I've launched Try Ubuntu, and left my laptop on for 8 hours, and everything seemed to be fine till I was looking up for clamav-freshclam deb package, the laptop shut itself down although it was hooked directly into an electrical outlet and the battery was fully charged.

Screen went black and no indicators were lit.

Score: 0
blnks avatar
How to increase top menu bar width in gnome?
mw flag

On my Ubuntu 20.04 with 4K monitor, the top bar is quite narrow which makes it difficult to click a tab.

enter image description here

I know how to increase the width of the interface fonts using gnome-tweaks tool but it is still ugly as the large font tabs seem to be trapped in still narrow menu.

So I'm wondering how to change the padding of tabs or increase the width of the menu directly?

Score: 1
hiro protagonist avatar
systemd-resolve and dnsmasq on a server
gb flag

i have the following issue on a server where i have dnsmasq installed:

$ systemd-resolve --status
Failed to get global data: Unit dbus-org.freedesktop.resolve1.service not found.

and that leads to some issues (e.g. clamav-freshclam is unable to refresh the virus definition files).

i can fix that manualy by

$ sudo systemctl restart systemd-resolve

now everything seems fine.

systemd-resolve is enabled ...

Score: 0
allstarrs avatar
Where is my Windows Partition?
ck flag

I'm using Ubuntu Studio. I'm using the most recent LTS, as of March 2023.

Up until yesterday, in the places section, I could freely access the windows partition. Now, it's not there.

I disabled Fast Startup in Win 11, and that didn't seem to help, unless every time I go into W11, I need to go check if it re-enabled it?

fdisk -l Lists it, but I can't seem to mount it.

I read comments elsewhere that if you  ...

Score: 0
How do I fully remove the Realtime Kernel?
eg flag

I'm having an issue uninstalling the Realtime Kernel. I sort of installed it as I misunderstood what it actually is (I confused it with livepatching). I've followed this guide and managed to "disable" it, but it is still set as the default Kernel I believe, as I keep getting this message:

The currently running kernel version is 5.15.0-67-generic which is not the expected kernel version │ 
│ 5.15.0-103 ...
Score: 0
Wireguard failure and unattended-upgrades: plausible explanation?
cn flag

A Linode hosted Ubuntu 18.04 LTS server acts as a Wireguard VPN.

$ uname -r
6.0.10-x86_64-ABCNNN

Installation using https://github.com/angristan/wireguard-install is painless and works perfectly with Windows 10, iPhone, and iPad clients.

Except, of course, when it does not. Over the last 6 months or so the server has stopped working a number of times, producing errors on all clients:

2023-03-14 2 ...
Score: 0
chris sailor avatar
sudo apt warnings after upgrade
es flag

After upgrade to 20.04 I get the following W warnings:

Reading package lists... Done
Building dependency tree... Done
Reading state information... Done
All packages are up-to-date.
W: http://gb.archive.ubuntu.com/ubuntu/dists/bionic/InRelease: Key is stored in legacy trusted.gpg keyring (/etc/apt/trusted.gpg), see the DEPRECATION section in apt-key(8) for details.
W: http://gb.archive.ubuntu.com/ub ...
Score: -1
Hana avatar
What is the best Linux distribution for someone who have been on Windows OS for years?
cg flag

I want to change from Windows OS to Linux OS but I don't know the best distribution for me. I use my PC for writing blogs and doing some light coding.

I was going to install Kali but then I found out that it is not suitable for beginners and it is very specific for persons who practice cyber security.

Score: 1
Marco Guerrera avatar
Unable to install an application via Wine that requires .Net4
lt flag

I'm trying to install the trial of this application in a wineprefix 32bit: https://www.dextronet.com/swift-to-do-list-software

It request dotnet 4, it is included in the installer in case it is not detected on the system.

When I start the application, error with crash log occour.

Installed: screenshot 1

Error: screenshot 2

System Info:

uname -a
Linux marco-N56VZ 5.19.0-35-generic #36~22.04.1-Ubuntu SM ...
Score: 0
Maanini avatar
Tlauncher not working in ubuntu 22.10
na flag

OpenJDK shows that Tlauncher is already started and working. Yet it does not open for me. How to resolve the issue The screenshot

Score: 0
Kimon Garoufalis avatar
Change the scheduler
tg flag

I have made my kernel-module which is a scheduler and i want to use it. My scheduler is team29682972_kyber. I run the command insmod. Then cat /sys/block/sda/queue/scheduler. I have :

[mq-deadline] team29682972_kyber none

Then i run the command sudo bash -c ’echo team29682972_kyber>/sys/block/sda/queue/scheduler’ and the result is the same. I take [mq-deadline] again.

Can you help me?

Score: 0
Luciano Cavallo avatar
apt update failed to fetch
ru flag

I'm having an issue when running the command "sudo apt update" in Ubuntu 22.04, some repos give me the warning failed to fetch. Been trying for some days now, and keep getting the same error, here the output of the command:

Hit:1 https://download.docker.com/linux/ubuntu focal InRelease
Hit:2 https://dl.google.com/linux/chrome/deb stable InRelease                                     
Hit:3 https://b ...
Score: 0
Send email from command line with an image in the body (not as attachment)
cn flag
SEU

I have a setup where I am sending an email using mailx with an attachment and that works OK. I am trying to send an email with the image in the body. Is there a way to do this - I tried several methods I found on google/stackoverflow, but the image is not shown.

Score: 1
TThoye avatar
Error installing anaconda on Kubuntu
dm flag

I am trying to install anaconda on kubuntu but I keep getting this error in the attached picture.

What could be the issue?kubuntu terminal

Score: 1
geofisue avatar
Folder color not working
at flag

I've installed folder color in Ubuntu 20.04, GNOME using:

sudo add-apt-repository ppa:costales/folder-color
sudo apt install folder-color -y
nautilus -q

but it only allows me to change emblems, not color. When I right-click at a folder, the color submenu only shows five emblems to choose.

screenshot of the menu

Score: 0
chao gate avatar
Why after install ubuntu 22.04 alongside windows 10 neither windows 10 or ubuntu 22.04 boot
lc flag

A few days ago I try to install ubuntu 22.04 alongside windows 10 everything went fine until install end and then I try to boot normally into grub bootloader nothing show. The hardware boot return boot failed and direct me back to the boot menu My device is toshiba Satellite c660-a205 with BIOS-compatibility no uefi I burn the flash drive with gpt NTFS schama when I try to repair the boot using repair b ...

Score: 0
J247 avatar
External monitor not detected through HDMI. Ubuntu 22.10. AMD
fm flag

I have an external monitor that I'm connecting to my Huawei Laptop

Model: HUAWEI NBLK-WAX9X, 
RAM: 8.0 GiB, 
CPU: AMD Ryzen™ 5 3500U with Radeon™ Vega Mobile Gfx × 8
GPU: AMD Radeon™ Vega 8 Graphics,
OS: Ubuntu 22.10,
OS Type: 64 bit,
Gnome: 43.1,
Windowing System: X11

However, this monitor receives no signal when connected. I have tested this monitor and cable on my windows desktop computer a ...

Score: 0
Kristof Gergely avatar
Bluetooth device mutes itself as well as my browser while playing a video (REGULARLY)
nr flag

Do you know what can cause this? System sounds are working, I can play audio except in the browser which I just used with a JBL GO 2 to listen to a video. (Now, trying playing the same online content from another browser yields the same absurd result: perfect video, no sound. This time, neither a restart nor suspend and awake changed the error.) -- This particular instance was revealed as not a system e ...

Score: 4
R B avatar
su: user does not exist or the user entry does not contain all the required fields
lk flag
R B

In Ubuntu Studio 22.04 LTS I usually log in as a non-privileged domain user. If I need to perform an administrative task (in a terminal window), I have previously used "su" to change to a local or domain administrator account. This no longer works. Instead, "su" yields the error message:

su: user <user_name> does not exist or the user entry does not contain all the required fields

Something e ...

Score: 1
ilie alexandru avatar
Netdiscover output into a file
cg flag

I am trying to put the output of netdiscover into a file, I have been trying a lot of things, some examples:

sudo netdiscover -i eth0 > netwokdiscovery.txt
timeout 4s $(sudo netdiscover -i eth0)
echo -n "$(sudo netdiscover -i eth0)" > netwokdiscovery.txt
dd if=$(sudo netdiscover -i eth0) of=netwokdiscovery.txt

The only issue is I have all the output of netdiscover.

I want to run netdiscover for 2 m ...

Score: 0
sigmund avatar
Keyboard keys switch
az flag

A few months ago I switched right AlgGr key with Super_R. The reason for this was that I was using my Ubuntu laptop with an apple keyboard, and wanted the similar key placement as I was used to on a mac.

Now I use another keyboard and would like to switch these back. Only problem is that I've forgotten which file I edited to make this change. I remember using xev to find the key codes for the keys, and  ...

Score: 0
Darwin avatar
Installing SSL Certificate on Ubuntu 20.04.5 LTS
sa flag

I have uploaded my certificates in the folder /etc/ssl/Cert2023

The files are:

ca.pem certificate.key certificate.pem

I created them with open SSL

Now I just want to edit the config file, but I can't find it.

Thought it would be at: /etc/apache2/sites-enabled/000-default.conf

Already looked through https://ubuntu.com/server/docs and this forum, but can't find the solution.

Only did this once so fa ...

Score: 0
kore_rs avatar
Netplan for "passthru" to virtual router and make host OS part of the LAN
lu flag

I am trying to create a virtual router and have the host OS be part of the LAN - I cannot find an example out there close enough to this tweak to make it work.

I need to use netplan on Ubuntu for the underlying network setup.

The requirement is to (ON BOOT) passthru incoming WAN connection on a physical port labelled enp2s0 to guest OS running in KVM. There should be no interaction with WAN on host  ...

Score: 0
Philippe Prados avatar
I can't reorder favorite
cn flag

I can't reorder the favorite. When I move one, it finishes all the time in the first position. See picture

Impossible to reorder favorite

How can I reset/reinstall something to resolve this problem?

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.