Latest Ubuntu related questions

Score: 0
newbie avatar
Minicom not responding for UART communication, Slow response Ubuntu 22.04
rs flag

I am trying to implement a UART communication using Raspberry Pi Pico (RP2040) board. I have run some demo codes which is provided in https://github.com/raspberrypi/pico-examples. I was able to establish UART communication.

#include <stdio.h>
#include "pico/stdlib.h"
#include <string.h>
#include "pico/bootrom.h"

const uint LED_PIN = PICO_DEFAULT_LED_PIN;

int main() {
    stdio_init_a ...
Score: 0
Matteo Pasini avatar
Ubuntu server doesn't keep a static ip address
id flag

I have a problem on a pc that has ubuntu server installed (v. 18.04) that needs to connect as a client to a different server that has softether vpn installed. My client needs to have a static ip address, softether has set the dhcp server to assign ip addresses between 10.10.10.10 to 10.10.12.255.

The network interface of my ubuntu client is as follows:

network:
    version: 2
    renderer: networkd
    e ...
Score: 0
no iam avatar
Cannot run sudo apt update
us flag

I cannot update my Ubuntu everything is broken and Err:8 has lnk but i removed http: from it as it was not letting me post it.

Ign:1 cdrom://Ubuntu 20.04.3 LTS _Focal Fossa_ - Release amd64 (20210819) focal InRelease
Err:2 cdrom://Ubuntu 20.04.3 LTS _Focal Fossa_ - Release amd64 (20210819) focal Release
  Please use apt-cdrom to make this CD-ROM recognized by APT. apt-get update cannot be used to add new  ...
Score: 5
Axel Boissier avatar
How do I replace multiple fields in multiple XML files?
hu flag

I have around 4000 XML files and I need to replace the value of both <filename> and <path> fields. I need to replace those fields dynamically. e.g. images0001.xml should have images0001 inside the two fields, images0002.xml should have images0002 inside the two fields, etc.

I've already used this command to rename the files sequentially:

rename 's/.+/our $i; sprintf("images%04d.jpg", 1+$i++) ...
Score: 0
Sen avatar
Trackpad stopped working suddenly on Ubuntu and Windows after installing Ubuntu 22.04 LTS
sa flag
Sen

So my problem is a bit weird. My trackpad and mouse was working perfectly. I dual booted my windows 11 with Ubuntu 22.04 and my touchpad became unresponsive. I connected my mouse and it didn’t work either. I tried a few solutions from the internet and it didn’t work.


sudo modprobe -r psmouse && sudo modprobe psmouse proto=imps

This command didn’t work and the below command says psmouse ...

Score: 1
Notepad++ all of a sudden very slow with high XOrg CPU usage
in flag

I started using Notepad++ years ago, probably when I was still on Ubuntu 14.04. It has been working perfectly until last October when, all of a sudden, the software became as slow as a snail. Opening it takes somewhere between 15 seconds and a minute. How long exactly varies.

Graphical components in the Notepad++ window load slowly, one-by-one. Especially the plugins manager window is very slow t ...

Score: 0
Ajit Singh avatar
Add virtual printer in ubuntu using cups
my flag

I want add printer on Ubuntu OS automatically , currently i can add printer using CUPS by navigating localhost:631. But i want to all this work automate . Like install cups and setup and after that Add Printer via script.

Thanks

Score: 0
Huy Nguyen avatar
frequent disconect wifi on ubuntu 22.04
re flag

Recently days, my laptop frequent disconect wifi about 5 minute/onece. I tried research and used many ways to resolve it but nothing happened:

Updated my kernel from 5.15 to 5.19 and 6.09

Disabled IPv6

Tried disable power save for Wifi

My OS: Ubuntu 22.04.1 LTS, 64bit

Machine: MSI-Modern-15-A5M

CPU: AMD Ryzen 5 5500U

GNOME: 42.5

Score: 0
Paul Jurczak avatar
Which Ubuntu flavors show `DISTRIB_ID=Ubuntu`?
pe flag

I'm looking for an Ubuntu 22.04 derivative, which has DISTRIB_ID=Ubuntu. I would like to be able to use software SDK, which require Ubuntu 22.04, e.g. OneAPI, ROS 2, Gazebo, CUDA, etc. I tried Linux Mint 21, but it has DISTRIB_ID=Mint. Do officially supported Ubuntu flavors have DISTRIB_ID=Ubuntu?


I checked Ubuntu Mate and it shows DISTRIB_ID=Ubuntu.

Score: 3
khatman avatar
Is it possible to mix Docker containers with LXC containers
co flag

One of the major challenges we're facing with dockerizing our apps is that there are a lot of dependencies that need to be installed. LXC has been great at that as they provide a "full linux system". However, we're faced with the need to add already prepared docker containers to the cluster that we're already running.

So is it possible to mix docker containers with LXC containers?

Score: 1
cagdasalagoz avatar
Monospace font is not recognized as a monospace font
mx flag

I'm using Ubuntu 20.04.5 LTS and installed a monospace font called mononoki which is defined as a monospace font on the website. http://madmalik.github.io/mononoki/

I can see the font is installed and I can view it on the Fonts app. The font is also available for other text editors like gedit and LibreOffice Writer.

However, I want to use this on my terminal emulator which doesn't show it as an opt ...

Score: 0
GuerillaRadio avatar
How to install and send emails with Postfix
ir flag

I am trying to install Postfix on a server and have it go through a relay. I would like to have the email with a custom domain, so I bought a domain and registered a A record to point to the relayHost's IP. Note: I am hosting all the servers (VPS’s) on Cloudzy. Here is the steps I do and configurations I have for it:

On server A, I do

apt-get install postfix

and

apt-get install mailutils

followed by ...

Score: 0
Brigadeiro avatar
How to install radian on Ubuntu 22.04?
im flag

I am trying to install the radian R terminal on Ubuntu 22.04. The instructions on the project's github page suggest to install it using pip, which I did:

pip3 install -U radian

The install was successful:

Defaulting to user installation because normal site-packages is not writeable
Collecting radian
  Using cached radian-0.6.4-py3-none-any.whl
Requirement already satisfied: rchitect<0.4.0,>=0 ...
Score: 1
Prashant Kumar avatar
Not able to use bluetooth in ubuntu 20.04 as well as 22.04
ru flag

I am not able to use (toggle) bluetooth with ubuntu since long time. I have dual booted my laptop with window 10 and ubuntu 22.04.1.
I was using 20.04 with same bluetooth issue so thought to upgrade ubuntu to 22.04.1 LTS, but after successfully upgrade bluetooth issue is still there.

When I click on bluetooth it shows:
no bluetooth found plug in a dongle to use bluetooth

lspci -knn | grep Net -A3; lsusb; ...

Score: 0
Linux Kid Inside avatar
How to prevent reverting fractional scaling to 100% when I turn off the screen of my laptop?
om flag

I'm running Ubuntu 22.04 LTS Desktop and set my laptop's fractional scaling to 150% to match my external monitor. When I turn off my laptop's screen, it reverts to 100%.

How can I fix this?

Score: 0
BlandCorporation avatar
How can the configuration for a monitor be saved and then applied to a different monitor?
cn flag

I have an old B&W CRT monitor connected to a Raspberry Pi via a HDMI to VGA adapter.

The CRT monitor works correctly (and not with a garbled output) only after booting the Raspberry Pi with another standard LCD monitor (connected directly via a HDMI cable) and then switching to the HDMI to VGA adapter of the CRT while running. If I boot with the CRT attached via the HDMI to VGA adapter, the o ...

Score: 0
Kaustubh Kulkarni avatar
How to Mount ReadOnly storage in Ubuntu
ca flag

I have ubuntu server & have one cpanel hosted website, I do want to mount my cpanel hosted storage to be mounted at my ubuntu drive, I do want it to be readonly.

or basically can we access files from IP directly?

Data available at 103.xx.xx.xx/Storage/ this location & accessible from my browser, But I do want to access it as external read only storage from my ubuntu server

Score: 0
Peter Smit avatar
What is the expected timeline on new cloud images for EKS? Can a random person help?
cn flag

We are using EKS-optimized Ubuntu cloud images in our Amazon EKS cluster. We wanted to upgrade to K8s 1.24 last week, and we noticed that those images are not available yet. I tried looking around, but I could not find any expected release date for these.

What is the expected release time for new Ubuntu EKS images?

Also, those EKS images are still 20.04 based. Same question there, what is the expect ...

Score: 0
YOGENDRAN MUDALIAR avatar
XRDP Gets Disconnected After Some Time Automatically in Ubuntu 22.04 LTS
py flag

While using XRDP, the connection gets disconnected automatically but the PC gets running; then I have to restart to get connected again. I can't figure out why its happening and how to resolve the problem.

Score: 0
novodias avatar
Mpv vaapi not working after updating to ubuntu 22.10
mz flag

I had vaapi working before on Ubuntu 22.04 (checked with intel_gpu_top) but after updating to 22.10, suddenly it stopped working.

Pressing the hotkey CTRL + H to activate hardware decoding, it freezes and then goes green or glitchy (audio is fine).

Here's information from vainfo and mpv log

libva info: VA-API version 1.15.0
libva info: User environment variable requested driver 'i965'
libva info: Tryin ...
Score: 0
Zainy avatar
apt-get upgrade fails when "running python rtupdate hooks for python3.10..."
mq flag

So I recently installed Ubunut 22.04.1 (dual boot with windows 10) and when running "apt-get upgrade" for the first time I get the following error that I am not able to find a solution to anywhere.

E: py3compile:212: cannot create directory /usr/share/ibus-table/engine/__pycache__: FileNotFoundError(2, 'No such file or directory')
[Errno 2] No such file or directory: '/usr/share/ibus-table/engine/f ...
Score: 0
Daniel Mayan Ventin Covre avatar
My External mic cannot be reconized anymore after I Installed Irium Webcam
eh flag

I tried to unstall to solve the problem but I didnt not work. I'm using Ubuntu 20.04.4 LTS I looked forward over the internet to reinstall the Audio Driver but I didnt found a clear answer. I'm pretty new at Linux.

Btw, It used to work well before Irium Webcam application. Thanks in advance

Score: 2
ttn1883 avatar
x2go login terminated immediately for one user only
gq flag

I was trying to use my x2go client on a pc to login into a ubuntu desktop.

After login, the session was terminated immediately. I have access to two other accounts and they both login find. Putty ssh of the problematic account and all other accounts worked fine as well.

Here is the .Xsession-error output:

      GNU nano 4.8                                                                                   ...
Score: 0
jamby avatar
Old laptop with 22.04 has video issues
bq flag

loaded 22.04 into a Acer Aspire 5520 with a Nvidia 7000 video card. The screen has vertical lines across but not as bad in favorites bar. Many of the small windows (date) show badly.

Anything I can do for this?

Thanks Jim

Score: 0
ThomasK avatar
ftp Connection refused over virtualbox
hm flag

I am running Ubuntu 22.04 (Computer A) as a host and Ubuntu 20.04 inside a virtualbox (Computer B). I want to be able to ftp from the host to the VB, but I get connection refused whenever I try to ftp or ssh.

I set up an ftp server using vsftpd using instructions online. I can manage to ftp into computer B from itself using ftp localhost, so I think the server is setup properly.

run@write:/etc$ ftp lo ...
Score: 1
mark avatar
shared clipboard (copy-paste) not working VirtualBox 7.0 and Ubuntu Server 20.04.5 focal
no flag

I am unable to copy and paste between Ubuntu Server 20.04 running inside VirtualBox 7.0.4 and my Mac OSX host 11.7.1. How can I make it work?

In order to paste I'm trying:

  • copy some text on my Mac
  • click inside my Ubuntu machine
  • press cmd+v, or ctrl+v, and nothing happens

What I've tried so far

  • Devices > Shared Clipboard > set to Bidirectional

  • Devices > Insert Guest Additions CD Image ... ...

Score: 0
MoonMoon avatar
Could not install LLVM11 in Dockerfile
cf flag

Here Is my Dockerfile

FROM nvidia/cuda:10.2-devel-ubuntu18.04
ENV LANG=C.UTF-8 LC_ALL=C.UTF-8
ENV PATH /opt/conda/bin:$PATH

#ENV DEBIAN_FRONTEND noninteractive 
ENV TZ=Asia/Shanghai
env http_proxy "h/ttp://59.69.112.40:808"
env https_proxy "h/ttp://59.69.112.40:808"
env ftp_proxy "h/ttp://59.69.112.40:808"
ADD sources.list /etc/apt
RUN ln -snf /usr/share/zoneinfo/$TZ /etc/localtime && echo ...
Score: 1
PlagTag avatar
How To setup epson ecotank printer in ubuntu without driver available from epson
cn flag

i got an ET-1810.

Just now figured out that there are no drivers from epsons side for linux available. So wanted to try ipp or raw to be able to use it over wifi. However, i have not figured out how to go. Any ideas? Each time i try generic drivers i just get wrong looking print results

Score: 1
Ivn Alfonso Pizarro Montenegro avatar
Random freeze of the desktop environment
ir flag

I have an old laptop running Ubuntu Mate 22.04 LTS that randomly freezes on the desktop environment. It happens most of the times while I am watching a movie or a video on YouTube, but no idea what is the trigger of it.

It is an old HP Laptop from around 2014 that has an Intel Pentium 3540 (2.4 ghz), 8 GB of RAM (2 dual channel), 500 GB HDD.

Any suggestions will be appreciated. Thanks.

Score: 1
lorddev avatar
How do I fix my broken .NET 6 installation?
cn flag

I have .NET 6 and .NET 7 on my Ubuntu system. When I try to execute a test in Rider it says dotnet 6 isn't installed. But it is. If I run dotnet --list-runtimes it shows only .NET 7.

Console output:

Reading state information... Done
aspnetcore-runtime-6.0 is already the newest version (6.0.110-0ubuntu1~22.04.1).
0 upgraded, 0 newly installed, 0 to remove and 10 not upgraded.
aaronlord@system76-pc:~ ...

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.