Latest Ubuntu related questions

Score: 0
Moonlight avatar
kernel 5.15.0-67 breaks monitor resolution after suspend
ar flag

After installing kernel update 5.15.0-67 (in Ubuntu 22.04) mi laptop is unable to recognize after being suspended the highest possible resolution (2560x1440) of an external monitor connected through HDMI. The resolution is OK when the computer starts fresh, but after suspending end resuming the session a lower resolution of (1920x1080) is detected. The maximum resolution is not available in Settings.

Score: 1
SinisterMJ avatar
Ubuntu 18.04, dozens of 403 errors
cn flag

We have a Ubuntu 18.04 Server, and someone reported issues with cloning from git (I checked, was not able to clone my own repositories), and I wanted to run an apt update, and even there ran into tons of issues:

sudo apt-get update
Get:1 file:/var/cuda-repo-ubuntu1804-11-0-local  InRelease
Ign:1 file:/var/cuda-repo-ubuntu1804-11-0-local  InRelease
Get:2 file:/var/cuda-repo-ubuntu1804-11-0-local  Re ...
Score: 0
Yu Jhen Wang avatar
The same iptables NAT commands works in ubuntu 18.04 and 22.04 but not in 20.04
zm flag

My layout is:

layout

My goal is to ping the Internet from eth0 through enp45s0 and wlo1. The commands below works well in ubuntu 18.04, 22.04 but not in 20.04(unable ping the Internet like google.com, DNS).

$ sudo sysctl net.ipv4.ip_forward=1  
$ sudo iptables --table nat --append POSTROUTING --out-interface wlo1 -j MASQUERADE   
$ sudo iptables --append FORWARD --in-interface enp45s0 -j ACCEPT

Instea ...

Score: 1
London Smith avatar
PipeWire no sound on TV via HDMI
jp flag

On Ubuntu 22.10 I have a strange bug for sound on HDMI, the sound is working fine on my LG monitor plugged via HDMI but not on my Continental Edison TV (HDMI as well).

So I tried with a live CD of Ubuntu 22.04 and the sound is working fine on the TV, so I tried a live CD of Ubuntu 22.10 and no sound on TV.

On 20.04, it uses pulseaudio:

pactl info
Server String: /run/user/999/pulse/native
Library Protocol ...
Score: 1
goku_goku avatar
Windows-Ubuntu Dual boot does not show grub screent
pe flag

I have a dual boot with Windows and Ubuntu. Earlier I could boot into both Ubuntu and Windows. But I have been using only Ubuntu for last 10 months or so. Now the grub screen does not show up and it only loads into Ubuntu directly. If I press Del/F12/F10, it stays stuck on a black screen. If I stop pressing, only then the black screen disappears and Ubuntu loads up.

I have tried to update-grub bu ...

Score: 6
Joseph avatar
Firefox very distorted, unusable
pk flag

Out of apparently nowhere, I now find that the Firefox app (running as a snap on Ubuntu) is very distorted when launched. And it experiences further strangeness (like imprints of previous content) as I proceed to use it.

Aside from the regular system updates, I haven't made any config changes recently. Also, every other app (including other snaps) is working properly.

Here are some screenshots showi ...

Score: 2
Jorge Playán avatar
Bash script launching background process breaks terminal output and kills background process
bt flag

Problem

Hello! After moving some code from Ubuntu 20 to Ubuntu 22 I've realized some odd behavior from some of the bash scripts that I was launching. The first noticeable problem being that after running the script, the terminal starts to print the text following a staircase pattern as follows:

line1
     line2
          line3
               ...
                   lin
eN

Furthermore, any text that you  ...

Score: 1
KVM Guest on Ubuntu 22.04 doesn't pass traffic over bridged connection
in flag

I have a relatively straightforward setup for KVM guests using libvirt on Ubuntu 22.04. (All packages updated today). I want a bridged network so I can reach the guests from other machines on the LAN. However traffic is not passed to or from the guest.

My bridge config:

$ sudo brctl show
bridge name bridge id       STP enabled interfaces
vmbr0       8000.8690c059a7cf   yes     eno1
                    ...
Score: 1
CaosWT avatar
appending variable to end of file with sed
so flag

I have dates on the last line in files like this:

20230220

and I want to add hours like this:

2023022000

The hours are continuously assigned to a variable i in a loop.

How to use sed inside the loop to append that variable to the end of files.

I tried with:

sed '$a|$i|>end>' file.txt

But couldn't append to file.

Score: 0
wiwit avatar
disk usage full 100% but there is 112M available
is flag

I already delete the large record backup but my disk is still full.

this image directory is /datadrive/backups/project_name#

enter image description here

when I run df -h

Filesystem      Size  Used Avail Use% Mounted on
/dev/root        29G   29G  112M 100% /
devtmpfs        3.9G     0  3.9G   0% /dev
tmpfs           3.9G     0  3.9G   0% /dev/shm
tmpfs           796M  1.6M  794M   1% /run
tmpfs           5.0M     0  5.0M   0%  ...
Score: 0
Tim Dang avatar
My Postgres always shutdown in a while (around 1 hour)
ky flag

I have a problem about Postgres and Ubuntu VPS. My service always shutdown without no reason. Below is Postgres's log. Could anyone take a look at this situation please?

Image
(Click image to enlarge)

Score: 0
snape15 avatar
Hard drive icon disappears when mounted on Ubuntu 22.04
st flag

I have done a fresh install of Ubuntu 22.04 on a new SSD in a desktop PC. Due to being an older PC, I had to install 18.04 first then upgrade from there. I have then added 4 internal hard drives. All 4 appeared, ready to mount with icons. I then mounted each drive, but when one of the HDDs mounted the icon disappeared/went blank, but the drive is still there and clickable to open on the dock. Do you hav ...

Score: 1
crmpicco avatar
Using /usr/bin/env python3 to point to virtual environment in 22.04
jm flag

I have a script that begins with

#!/usr/bin/env python3

Should it use the "python3" virtual environment with it having to be explicitly activated? I'm pretty sure this used to work on previous versions of Ubuntu.

I am calling the script from the crontab, but it can't find the Python dependencies (which are definitely installed).

57 10 * * * root /opt/cleanup.py >> /var/log/cleanup.log

Traceback (mo ...
Score: 1
wryan avatar
enable unbuntu pro asks to check internet connection, but the system is connected
is flag

When trying to enable Ubuntu pro on Ubuntu-server 22.04, it's stating that it unable to connect Ubuntu pro servers and to check the internet connection. My internet connection is fine, I've been able to install apps and browse using Firefox.

Since I've been getting the error all day, I'm assuming there's something wrong with the GUI program. I've even checked online and I have 5 free slots on my ...

Score: 2
Bruno Rijsman avatar
Ubuntu 22.04 and 22.10 report unrecoverable system error when installing in Parallels 17.1.6 on macOS Big Sur
id flag

When I try to create a virtual machine for either Ubuntu 22.04.2 or 22.10 from the ISO image using Parallels 17.1.6 on a MacBook Air (2020, Intel, 16GB) running macOS Big Sur (11.7.3), the installation fails 100% reproducibly reporting "the installer encountered an unrecoverable error".

Steps to reproduce (these are the steps for 22.10; the exact same problem occurs for 22.04.2):

  1. Download the ISO fro ...

Score: 3
How can I tell if Ubuntu driver is using integrated graphics GPU to hardware decode HEVC when playing videos using VLC?
cn flag

I've found that VLC uses ~17% CPU for x264 FHD videos, ~28% for HEVC FHD videos, and ~80% for HEVC 4k videos.

sudo lshw -c video

produces..

  *-display                 
       description: VGA compatible controller
       product: Cezanne
       vendor: Advanced Micro Devices, Inc. [AMD/ATI]
       physical id: 0
       bus info: pci@0000:04:00.0
       logical name: /dev/fb0
       version: c3
  ...
Score: 4
Sadraw avatar
Can't add a Public Key to Ubuntu 22.04
sm flag

I'm getting an error while trying to update ubuntu. I tried to manually add the key mentioned in the errors to my system by using:

sudo apt-key adv --keyserver hkp://keyserver.ubuntu.com:80 --recv-keys 871920D1991BC93C

But it doesn't make any changes and I still get the same error. And I am a bit concerned about my repositories as well. I kinda think I'm missing something here.

    sudo apt-get u ...
Score: 0
How to upgrade from an interim release after the maintenance period is over?
in flag

I have come back to a computer that hadn't been switched on since March 2022 (1 year), it has Ubuntu 21.10 installed and I'm having difficulty upgrading it to 22.04.

I know 21.10 was an interim release and I'm guessing it's 9 month maintenance period is over.

I have tried both:

sudo apt update
and 
sudo apt upgrade

I'm not too surprised the update doesn't work but I'm a little disappointed if this ...

Score: 0
Szerry avatar
still unable to load gr-gsm on Ubuntu 22.04
kp flag

I am having a similar problem as in How to install the program gr-gsm?, and so I tried the bkerler fork as suggested there,

When I go to the bkerler fork and type the URL in my terminal window, https://github.com/bkerler/gr-gsm.git, the response is No such file or directory.

When I type gh repo clone bkerler/gr-gsm, the response is warning: templates not found /usr/share/git-core/templates

Before going t ...

Score: 1
RAG74 avatar
Force audio through internal speaker (and headphones)
rs flag

Im installing ubuntu 22.04 on my laptop, the problem is that I damaged the headphone socket and it thinks there is always headphones plugged in. I know how to solve it in windows so I can force audio to play from both the speakers and the headphones at the same time.

Is this possible in ubuntu/linux ?

Thanks!

Score: 0
TKingu avatar
Dual boot Windows 10 and Ubuntu onto 2 different SSD, with an ESP already present in the system. Ubuntu won't boot
cv flag

I have an SSD with Windows 10 installed. Some time ago I installed Linux Mint 21-Cinnamon on an SD card and during the installation, I selected the SSD as the device on which to install the boot partition. It worked fine.

Now I bought a new SSD to replace the DVD drive and decided to install Linux on it.

I installed Ubuntu 22.04 Desktop, but on reboot it was not recognized in the boot menu. I then r ...

Score: 1
Betzalel Maor avatar
Audio playback issues and GUI programs crashing randomly
nc flag

I'm having some issues with audio playback and program crashes on Ubuntu 22.04, Pulse Audio.

I've uninstalled some random stuff that I have installed recently off of my disk (some python stuff and flatpak stuff:

Flatpak list:

  • org.freedesktop.LinuxAudio.Plugins.MDA,
  • freedesktop.LinuxAudio.Plugins.Calf,
  • org.freedesktop.LinuxAudio.Plugins.ZamPlugins,
  • org.freedesktop.LinuxAudio.Plugins.ZamPlugin,
  • org.freed ...
Score: 0
Bettina avatar
How to import a custom keyboard layout from macOS ukelele into ubuntu?
ge flag

I am a total beginner with ubuntu. I costumized a keyboard layout with the software ukelele in macOS Sierra. I am trying out ubuntu in a virtualbox and would like to import my costum keyboard layout into ubuntu.

Score: 0
Muhammet miraç Yüzaklı avatar
How to change the alternate row color of Nautilus file manager in Ubuntu?
sh flag

I'm using the Nautilus file manager in Ubuntu and I want to change the alternate row color of the listed items. I'm using the Mojave-Dark theme, and I want to change the background color of the alternate rows to a different color. I tried modifying the gtk-dark.css file in the Mojave-Dark theme folder, but it didn't work. Can someone please help me with this?

Score: -1
Sam Ethernet avatar
Usb Ethernet adaptor won't work. Mounted as storage
my flag

Already tried unmounting

Already tried Usb modeswitch

Already tried modprobe sr9700

echo "efe6 9702" | sudo tee /sys/bus/usb/drivers/sr9700/new_id

Doesn't show on ifconfig

inxi -nxxx output:

Device: usb Ethernet adaptor Type Usb; Driver Usb storage Chipid 0fe6:9702 Classid 0806

Score: 1
Matviiuk Sviatoslav avatar
Can`t launch anaconda3 on ubuntu
zm flag

I`m just trying to launch anaconda with command anaconda-navigator and terminal printing out this:

matviiuk@matviiuk-desktop:/media/matviiuk/DiskD/WorkPrograms/anaconda3/bin$ anaconda-navigator
2023-03-12 20:27:26,385 - WARNING linux_scaling.get_scaling_factor_using_dbus:44
Can't detect system scaling factor settings for primary monitor.

Warning: Ignoring XDG_SESSION_TYPE=wayland on Gnome. Use QT_ ...
Score: 1
Jonathan avatar
Using files in /etc/environment.d
cn flag

I am trying to setup a brand new installation of Ubuntu 22.10. I need to make some environment variables globally available. I have read in the Man pages that the correct way to do this is to provide a file in the /etc/environment.d directory with a name like 90-myfile.conf. When I try this, the environment variables are not established. If, instead, I put the variable definition into /etc/environment i ...

Score: 0
gatorback avatar
How to install without USB stick
in flag

I have burned the ubuntu .iso to a USB with Balena etcher and installed Ubuntu to a new SSD with the USB installer.

Now that I have an Ubuntu machine. Is it possible to install to a new SSD from the Ubuntu, without the USB stick? It would be nice not to have to burn a USB stick and be able to outfit a new SSD from an OS (Mac, Windows, or Ubuntu) with an Ubuntu install .iso

Score: 0
dbart avatar
I can't connect to my web server on the same network
lr flag

I am running apache2 on my machine. How do I connect to my machine from another machine on the same home network?

Score: 0
Amish Charmander avatar
Can't run apt update
jp flag

I just installed Kali alongside Ubuntu 22.04 with no problem and can boot into both fine although I’ve not yet run an update in Kali (will do that soon).

When I tried to update Ubuntu I get this error

Syntax error /etc/apt/apt.conf.d/00trustcdrom:1: Extra junk at end of file

Any help would be greatly appreciated. I tried to cat the file but it’s unreadable - I think encrypted as it’s just  ...

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.