Latest Ubuntu related questions

Score: 0
Friedrich Merza avatar
How to route traffic between vms on different kvm networks?
ss flag

I have the following szenario:

Hypervisor 192.168.178.10 KVM Network net1 (192.168.100.0/24) with vm1 (192.168.100.5) KVM Network net2 (192.168.200.0/24) with vm2 (192.168.200.5)

What do i have to do to allow vm1 to access vm2? The default route of vm1 for 192.168.200.5 is the default gateway 192.168.100.1 When i ping vm2 from vm1 i always get

From 192.168.100.1 icmp_seq=1 Destination Port Unreac ...

Score: 1
tbhaxor avatar
Unable to play the audio in different device when HDMI is connected
ve flag

I have connected the second monitor with the HDMI but the audio plays on that device only. I have connected Bluetooth headphones, but on switching from Settings -> Audio, it is still playing on that monitor.

When I remove the HDMI cable, it switches to laptop integrated speaker, then I go back to settings and change to Headphone, and it works.

As soon as I plug the HDMI back, it forcefully redire ...

Score: 0
Uwe Fechner avatar
Boot repair failed, what shall I do?
us flag

I have a pastbin URL: pastbin

I have two physical hard drives, Ubuntu 20.04 is installed on the second HD on a LUKS encrypted drive. The bootloader was on the first drive. I deleted the first drive (it had windows installed, I don't need that anymore). But now I cannot boot anymore.

I was asked if I also deleted the uefi partition. I do not know. I used gparted to delete the windows partition. How can ...

Score: 0
001121100 avatar
Resolving the API Certificate Verification Failure in Python
gs flag

I am running several applications that use Python. No matter which application is used (and even if I execute the script directly within Python itself), certificate verification always fails, with code like this:

File "/usr/local/lib/python3.11/urllib/request.py", line 1348, in do_open
    h.request(req.get_method(), req.selector, req.data, headers,
  File "/usr/local/lib/python3.11/http/client.py" ...
Score: 0
gaoblai avatar
Ubuntu 20.04 Wifi Not connecting on Specific Router
in flag

I have a laptop that has run Ubuntu 20.04 for a few years and so far no problems. Installed a new home router a few days ago and the laptop won't connect to the router. Every other device in the house connects. I am currently using the wifi via my phone as a hotspot to my laptop.

I've been searching for an answer or at least somewhere that points me in the right direction here, but coming up shor ...

Score: 0
PouJa avatar
How do we do autorestart for a freezing python daemon?
km flag

I have a Python daemon running on my Ubuntu 20.04 server. The daemon performs as a telegram bot which sends requests to the telegram server every the other second in a loop.

My daemon configuration telebot.service is as bellow:

[Unit]
Description=my telegram bot

[Service]
WorkingDirectory=/etc/telebot/dev
Environment=PYTHONPATH=/etc/telebot/dev
ExecStart=/etc/telebot/dev/venv/bin/telebot.py
Timeou ...
Score: 2
Harald avatar
What is the Cntrl-. (Control and dot/period character) key binding?
jp flag

On a new laptop with 22.04 installed I have a weird key binding on Ctrl-. (Control and dot/period character). If I use it in any text window, be it gedit, emacs, firefox or chromium text input box, even with the text input tool in a gimp image, I get a lowercase e underscored. If I then type more characters, these appear underscored. If I type Ctrl-. again, the typed sequence disappears, yet with ...

Score: 3
Louise avatar
How to match flatpak themes with GNOME dark theme?
cv flag

I'm a beginner with Linux and I think I messed up the command lines when I tried to match flatpak apps with ubuntu's dark theme because not only it didn't work but now flatpak apps look ugly (a bit as if they came from 2010).

I tried to reset flatpak permissions and to delete/reinstall flatpak packages but it doesn't seem to work.

I would like flatpak apps to use the Yaru theme again.

About this pictur ...

Score: 0
ubuntu_newbie avatar
USB 3.0 ports not working after suspend, ubuntu 22.04
sd flag

I have installed Ubuntu 22.04 on HP victus 16, and encountered problem that after suspend mode all USB 3 ports stop working (i dont have usb 2.0 ports). Consequently cant use mouse. After suspend if i use "lsusb" command it doesnt show mouse, it only shows Linux Foundation 3.0 (2.0) root hub. Answers from same problems didnt work out for me: changing line

GRUB_CMDLINE_LINUX_DEFAULT="quiet splash us ...
Score: 0
Omid Shojaee avatar
Forward OpenVPN traffic through server
jm flag

Here's my setup:

-------------------      -----------------------      -----------------------
| OpenVPN Client  |      | Ubuntu Server 22.04 |      | Ubuntu Server 22.04 |
| Windows 10      |----->| Local Datacenter    |----->| Linode Datacenter   |
| OpenVPN Connect |      | IP: a.b.c.d (1xNIC) |      | IP: w.x.y.z (1xNIC) |
|                 |      |                     |      | OpenVPN Se ...
Score: 0
Fau avatar
Display only recognized in recovery mode in Ubuntu 22.04.1 LTS
sz flag
Fau

I have a 2014 Macmini with the original OS removed and replaced by Ubuntu. It is connected by the Thunderbolt port with an VGA adpater to a LG FLATRON L1953S 5:4 monitor.

When trying normal boot, the monitor enters into sleep mode, not reaching to show the login screen.

When booting from recovery mode, it works OK.

After checking related questions, here are some outputs from the terminal:

~$ xrand ...
Score: 1
diggidre avatar
Prevent sort from sorting filenames instead of greped content
br flag

In a script, I want to get a variable from find grep and sort to display it with echo on screen. The variable looks like:

OUTPUT="$(find . -maxdepth 2 -type f -name 'filename' | xargs grep -o -m 1 "string" | sort -r)"

Find should search for some files with the same name in folder xyz. Pipe them to grep to search these files for every first matching string in it. Then sort should sort descending. ...

Score: 2
nobody avatar
replace uuid in a grub.cfg with sed
gh flag

How can I replace a UUID in a /boot/grub/grub.cfg with sed?

For some reason I have to replace string 88411b09-1aaa-4775-9fc7-f60041049d6c with f210c829-2c04-4963-9a78-d61cf8ebbd48 in a /boot/grub/grub.cfg I found this but I'm unable to adapt it to my situation. And I found also this but I get an error.

grep -q 88411b09-1aaa-4775-9fc7-f60041049d6c /media/alex/f210c829-2c04-4963-9a78-d61cf8ebbd48/b ...
Score: 1
kepler-22 avatar
Bluetooth hci0 is not detected corretcly
sr flag

I know that MEDIATEK MT7922 should be able to handle bluetooth, yet I can not turn it on. I tried everything from reinstalling bluez, btusb, etc...

Just now I dicovered that the system seems to think my bluetooth is Foxconn of USB type, even though MT7922 is PCIe.

kepler-22b@Horizon-A082:/etc/modprobe.d$ lsusb
Bus 009 Device 002: ID 145f:01e5 Trust Keyboard [GXT 830]
Bus 009 Device 001: ID 1d6b:0002 L ...
Score: 0
Ishdho Ggur avatar
After timeshift ubuntu cant find which touch
af flag

Long story short. I tried something yesterday in my ubuntu. It messed up my system a bit so i decide to timeshift to just one day before when everything was good. After the timeshift the system was not booting and after i tried a bit it did. But trying to timeshift again gave me this message you can see in the picture. I tried to reinstall coreutils but that does not work as well. less 0enter image descri ...

Score: 0
DevAbdoTolba avatar
Change location of the Dash icon to the top of the panel
la flag
No LSB modules are available.
Distributor ID: Ubuntu
Description:    Ubuntu 22.04.1 LTS
Release:    22.04
Codename:   jammy

Wondering if there is a way to change the location of the Dash icon AKA start menu, from the bottom side to be at the top side of the Dock panel.

Score: 0
Gigolito avatar
Multiple interface / Multiple IPV4?
ba flag

I'm so sorry i'm french. I will try to translate

So i have a problem. I have 3 connections, one classic with cable in my box and 2 modem 4G (Huawei E3372H)

I want to make proxy with that (like with squid or something like that). Actually my problem is i can have only one IPV4 in same time.

debian ifconfig

I want to have multiple address IPV4 like on my windows windows ipconfig

Thanks for you help

 ...

Score: -1
Tahir Dev avatar
Cant turn on Wifi!
za flag

When i try to enable my wifi in linux os, the wifi automaticly disables. And i cant turn off the airplane mode. It says that the wifi is disabled and i have no idea to fix it. I was just writing code in VS code. Please help.

Score: 1
cytsunny avatar
Droicam working on Firefox but not on Chromium browser
cn flag

Following this guide, I have installed droidcam and connected my phone camera to my PC on Ubuntu 22.02. I use https://webcamtests.com/ to test my camera and it is working on Firefox. However, using the same site, the camera is not detected on Chrome and Brave. It is also not detected on my Signal desktop client.

I suspect it is related to some sandboxing that both Chromium and Signal desktop are ...

Score: 0
Juan avatar
Internet connection doesn't work after VPN hangup
jm flag

My VPN server is restarting every 8 hours if I'm connected while the server is restarting something weird happens, lost my internet connection but my netplan is properly configurated.

I'm using openfortivpn and this is the connection log:

No response to 4 echo-request
serial link appears to be disconnected.
Connect time 400 minutes.
Connection terminated.
Modem hangup
ERROR: read: Input/output error
I ...
Score: 1
shelby avatar
USB’s randomly aren’t being detected
au flag

Hi so I had been messing around with commands in the terminal pretty much all day and I wound up in a bit of a jam. So I decided since I don't have much to lose on here yet I'm going to start over using a bootable USB. I plugged in my USB (Sandisk 32GB), the same one that was working earlier, and it's just not showing up. I've tried everything I could find on here and the rest of the internet. I know th ...

Score: 0
Ubuntu 22.04 chose themes for the terminal that automatically switch between clear and dark
cn flag

I have Ubuntu 22.04 with Gnome. When I switch between light and dark themes every app switches fine and so it does the terminal, which is nice. However I really dislike the dark violet theme that comes by default with the terminals in Ubuntu, I prefer something more in the line of the Tango Light theme, or similar. I can choose this theme in the settings, but if I do this then it does not change to dark ...

Score: 2
Handsome Jack avatar
Intel 12 gen and Ubuntu 22.10 - abysmal battery life, any solution?
vn flag

I have Lenovo T14 Gen 3 with Intel i7 1260p (no dedicated GPU, only intel one's) and running Ubuntu 22.10 The performance is great (laptop is faster than 2-3 years old desktop with the most powerful i7 at the time) but battery life is a joke.

Youtube playback - 2 hours, general software development - 2-4 hours, internet browsing - 3-4 hours, running some heavy processes (tests, compiling) - 1-1.5 ...

Score: 0
Baragu avatar
connecting a ps3 controller on ubuntu22.10
be flag

I have a wireless ps3 controller that I wish to connect on my laptop, but I cant get it right, I have tried connecting it with a usb cable and bluetooth but have failed a couple of times , how can I go about it

Score: 1
stic-lab avatar
DIsplay problem with ubuntu 22.04 on Virtualbox
bi flag

Recently I created Ubuntu virtual machine. The problem is that, there is a problem with display. There are blurred part when I open almost all of installed software. I have already followed some solution proposed by this threads and here but it was not helpful for me.

My problem is similar to this one but with different Ubuntu version.

Here are my config:

  • Physical configuration:
    • Laptop mark : De ...
Score: 4
Fatemeh motlagh avatar
How to mass change many files names using find and mv
mn flag

I have a lot of files in many directories that are wrongly spelled.

They are spelled Localisation.json and I want to change them to Localization.json.

I tried this, but it does not work:

find -type f -name Localis* | xargs mv Localization.json
Score: 1
Tim avatar
[Hardware]How to Fix pulseaudio Failed to set switch of Headphone: Input/Output error?
pa flag
Tim

I'm a students from China.I have a problem.Please help me.Thanks

I tried use

systemctl --user restart pulseaudio.service

Now I can find my device,but it still heve no sound.
There are some logs https://paste.debian.net/1265027 ksystemlog.

my computer's information

You can find more informations on https://forums.debiancn.org/t/topic/3518/7

I tried a lots of ways to fix it.But nothing work.

Score: 0
Aung Myat Moe avatar
My ubuntu-22.10 lost animations and brightness control
bz flag

I am super curious to fix my problem, but I cannot solve that out. Transition animation between virtual desktop was not found. And also I found new one, I cannot use my brightness control. I googled and I cannot fix that out event changing grub to their specific recommdention.

Score: 0
kate avatar
Logitech ERGO Mouse M575 disconnecting after connection during boot
US flag

I have logitech ergo ERGO M575 connected thru bluetooth. every time after bootup,it gets connected, then it disconnects after a minute or so, and then it connects again. 'udevadm monitor' shows it gets removed after the initial add and then it gets added again.

once that happens, it works without any further issues. if it gets disconnected because of idle (for few hours), sometimes it connects st ...

Score: -1
pellicle avatar
how to mount a device and make sub directories on it it available under $home
pk flag

there is a 1TB disc drive and a 128GB SSD on a system I am setting up. I'd like to mount parts of it over the $home of the log in user so that the smaller SSD doesn't get used up with files.

Presently I'm stuck at an entry on /etc/fstab like:

/dev/disk/by-uuid/999blahblahblah /home/rod/Storage auto nosuid,nodev,nofail,x-gvfs-show 0 0

this puts the contents of the entire disk mounted in the directory $h ...

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.