Latest Ubuntu related questions

Score: 1
furynerd avatar
how to check and confirm a right opengl version with vcxsrv (for using ros2 rviz2)
my flag

i have a remote-host (ubuntu 20.04),

and a local-host (win10 pc, with nv rtx3050ti gpu, updated driver), i started vcxsrv on local-host by(win\cmd):
vcxsrv.exe -multiwindow -clipboard -wgl -ac

then with win\cmd on local-host, i ssh to remote by:

set DISPLAY=localhost:0.0
ssh -Y username@remote-ip

i don't know why it first need set DISPLAY... in cmd then ssh -Y, but it works for the started vcxsr ...

Score: 2
sancho.s ReinstateMonicaCellio avatar
apt list upgradable only package names
pl flag

I can list packages for update with apt list --upgradable. But that gives a list of packages, with other details, one line per package. I want as an output a single line with the package names, so I can eventually copy-paste (parts of) that line to a sudo apt install line.

I did this with

apt list --upgradable | grep -v Listing | awk -F '/' '{ printf "%s ",$1 }'

(and I still have to remove the WARNING. ...

Score: 0
Helen Craigman avatar
Cannot set interface (NIC) up: Atheros ath9k_htc in Ubuntu 18, kernel 5.4.0-128
um flag

I am trying to use the wifi adaptor TP-Link TL-WN722N (which user Atheros ath9k_htc). But I can't have it go up.

 ~$ sudo ip link set wlxc4e9841384f9 up

returns with no error, but:

wlxc4e9841384f9: <NO-CARRIER,BROADCAST,MULTICAST,UP> mtu 1500 qdisc mq state DOWN group default qlen 1000

stays down.

The Ubuntu (Gnome) "Settings -> WiFi" window does not show it either.

Here is some more i ...

Score: -5
TechWizard avatar
Deleting files on Server
aw flag

I have some files on my folder , something like : 1244 , 1244.backup ,1264 , 1264.backup , 1346 , 1346.backup ...And new pair automaticly downloads from server after pull new build. How i can delete all files without last 2 files with neewest download date/time ?

Score: -4
KUMARI Neelima avatar
configure: error: 'no acceptable C compiler found in $PATH' while running ./configure when trying to install magic tool
ki flag

configure: error: 'no acceptable C compiler found in $PATH' while running ./configure when trying to install magic tool as shown in the below screenshots.

enter image description here

enter image description here

Score: 1
sudoer avatar
Stop apt from modifying file when upgrading package
kh flag

I got a package containing a program which got patched by me. After an update of the package, my modifications are gone. Can I keep my edits for that specific file?

Score: 0
Duncan avatar
Dissenter-browser won't download to Ubuntu 22.04
es flag

The Dissenter browser was working fine in my Ubuntu 20.04 LTS

I upgraded to Ubuntu 22.04 and now Dissenter will not open.

I uninstalled it, installed snapd but Dissenter will not download or install. Here are the commands used and the responses: "error: snap "dissenter-browser" not found"

I have installed snapd

Advice would be greatly appreciated. Thank you DB

Score: 0
Amritanshu Praveen avatar
Monitor Refresh Rate
kw flag

I have both a 60 hz monitor and a 75 hz monitor and I want to use my 75hz monitor at 75 hz and not 60. I am using amd integrated graphics and I am running ubuntu 22.04LTS. in the settings it shows the only option for my second monitor as 60hz Image of settings

Score: 0
Mr X avatar
How to download all videos of 1 account on Instagram
dz flag

In the past I used to use youtube-dl to download all videos of an instagram channel but today I use that channel again and it doesn't work.

youtube-dl -i -f mp4 -o %(uploader_id)s-%(id)s.mp4 -a 1.txt

Now how can I use youtube-dl to download the whole video

Score: 0
Ashish Bhowmick avatar
After installing nala in Ubuntu 22.04, I got a warning
br flag

I install nala in Ubuntu 22.04 today. After install I have a warning on my terminal when I run the command sudo apt update.

The warning is:

W: http://dl.openfoam.org/ubuntu/dists/jammy/InRelease: Key is stored in legacy trusted.gpg keyring (/etc/apt/trusted.gpg), see the DEPRECATION section in apt-key(8) for details.

I've done the following:

sudo apt-key list 

terminal shows so many pub file around  ...

Score: 1
omnalamwar avatar
Stuck in ubuntu during booting. It says "you are in emergency mode" and nothing is working
mg flag

I started my laptop booted into ubuntu then it shows

You are in emergency mode.After logging in, type "journalctl -xb" to view system logs,"systemctl reboot" to reboot, "systemctl default" or "exit" to boot into default mode.

I entered exit to boot into default mode but it again coming back to same window after checking my disk to 50%.

Here are steps that i followed

  1. sudo -i
  2. cd /
  3. ls
  4. cd etc
  5. ls

T ...

Score: 2
cbass avatar
Generate SSH key on Ubuntu Server or on own computer
pl flag

I installed Ubuntu Server (22.04) on an empty server and I am accessing it on my own computer through MobaXterm. For one of the applications I want to install on the server I need an SSH key. Since I am quite new to anything computer related, I was wondering if I need to generate the SSH key on the Ubuntu Server, on my own computer on which I am accessing the server through MobaXterm, or if I need to ge ...

Score: 0
Nan B avatar
qemu-kvm crash "Resource deadlock avoided"
om flag

I meet qemu-kvm crash with this:

terminate called after throwing an instance of 'std::system_error'
  what():  Resource deadlock avoided
2022-10-10 13:40:53.238+0000: shutting down, reason=crashed

HOST OS: ubuntu 20.04

/usr/bin/qemu-system-x86_64 --version

QEMU emulator version 4.2.1 (Debian 1:4.2-3ubuntu6.23)
Copyright (c) 2003-2019 Fabrice Bellard and the QEMU Project developers

Is there any b ...

Score: -1
How to fail command if zero or more than one line in output
id flag

Let's say I have a command like

git log --some-options

and I expect it to produce exactly one line so I could feed it to xargs, like git log --some-options | xargs git branch --all --contains

how do I make sure that, when git log command produces 0, or more than one, lines, then my command fails and git branch never gets called?

Score: 0
Sun Bear avatar
How to fix this apt update keyring issue relating to gh?
cn flag

I have this error associated with gh (github commandline).

$ sudo apt update
...                                                                                                            
Get:3 https://cli.github.com/packages stable InRelease [3,917 B]                                                                                                                     
Err:3 https://cli.github.com/packages ...
Score: 0
bomod838 avatar
Ubuntu 22.04 slow wifi with bluetooth earbud (RTL8821CE)
fi flag

I have a dual-boot system running Windows 10 and Ubuntu 22.04. In Ubuntu, my wifi becomes very slow when I connect my Bluetooth headphones to my laptop, but there are no issues in Windows 10.

I have a rtl8821ce adapter in my laptop.

Score: 1
Jamesbloke avatar
Ubuntu 20.04& 22.04 - Display signal lost when monitor switched off
ar flag

The problem is my Ubuntu box is connected to a TV. It used to wake up the screen whenever I changed to that HDMI channel. Recently it won't and I have to reboot to get the screen to come back. I don't know what has changed and I don't have the exact timeframe it started. My googling mostly points to nvidia issues, which this can't be.

I'm using standard desktop version of ubuntu on an ASRock J420 ...

Score: 0
Steve Zee avatar
Steam PlayOnLinux launches to black screen
lr flag

When I try to run Steam from PlayOnLinux (Wine) it launches to a black screen.

![enter image description here

I have no arguments being used in configuration:

enter image description here

and when I add -no-browser per this previous question.

enter image description here

I still get a black screen, but also this error:

enter image description here

How can I launch steam with Wine and get past the black screen?

Score: 0
Electronzy avatar
Ubuntu 22.04.1 LTS: DNS address could not be found DNS_PROBE_POSSIBLE
pg flag

so I am new to ubuntu and while trying to connect to any website or even do a simple search I get this error of DNS address could not be found DNS_PROBE_POSSIBLE. I was using proton vpn before but after disconnecting the issue remained. Unfortunately I uninstalled proton vpn and now am stuck.

Score: 1
biffmila avatar
Can't type accented letters in certain programs
er flag

I installed Ubuntu 22.04 last week and haven't been able to type accents in some programs.

For programs like Chrome, Terminal and the native folders it's working as intended (eg typing ´ followed by a gives you á, ~ followed by a gives you ã, etc).

But for programs like Firefox, Discord and Spotify typing ´ followed by a will either give you a regular a or no letter at all. Same goes for the other  ...

Score: 0
Agilox avatar
Postfix not working on AWS EC2 Ubuntu 22.04
cn flag

I've followed https://www.digitalocean.com/community/tutorials/how-to-install-and-configure-postfix-as-a-send-only-smtp-server-on-ubuntu-22-04 and configured postfix on Ubuntu 22.04. But, when I try to test with the following command:

echo "This is the body of the email" | mail -s "This is the subject line" myemail@yahoo.com

I get errors on /var/log/mail.log:

Oct 12 04:32:42 ip-172-31-2-101 postfix/an ...
Score: 0
padjee avatar
UBUNTU commands to find file in a folder
cf flag

I want to find files in a certain folder with certain extension, lets say finding ".sql" in "/backup-nfs". Later on, I will use this command on crontab to delete some files automatically.

I use 3 different methods and they give out different results :

Method 1 :

  • login as A USER.
  • go to /backup-nfs
  • type in ls -lah
  • Results are 14 files. Of course, this is correct.

Method 2 :

  • login as A USER.
  • go to
Score: 1
j ton avatar
downloading mongoDB with error "E: Unable to correct problems, you have held broken packages."
so flag

I'm downloading mongoDB on Linux Ubuntu Version 22.04.1 LTS, facing download error

I tried 3 solution from stack overflow discussion https://stackoverflow.com/questions/51417708/unable-to-install-mongodb-properly-on-ubuntu-18-04-lts, but still not work , keep facing

E: Unable to correct problems, you have held broken packages.

here are the 3 ways I tried:

(base) joy@joy-System-Product-Name:~$ sudo apt-g ...
Score: 1
jayphur avatar
Blender 3.3 does not recognize my GPU for HIP (on Ubuntu 20.04)
ml flag

My GPU (RX 5600 XT) does not appear as an option in Blender Render Devices menu. It reads:

No compatible GPUs found for Cycles. Requires AMD GPU with Vega or RDNA architecture and AMD driver version 22.10 or newer

My card does meet those requirements and I have Radeon™ Software for Linux® installer version 22.20 for Ubuntu 20.04.5 HWE installed. I have a similar issue with DaVinci Resolve.

The inter ...

Score: 0
Souvik Das avatar
Keys are not working in their proper manner
mg flag

I searched a lot on the internet and could not find anyone else with this problem.

My keyboards keys are not working correctly. I open the terminal and when I typed D on the keyboard it just beeps and nothing shows in the terminal, other keys have the same issue. enter Doesn't work. I reset the settings using Screen keyboard and writing dconf reset -f /. This doesn't doesn't work at all. No change. W ...

Score: 2
Bahareh Badiei avatar
Problems with MPI after upgrading to ubuntu 22.04
ru flag

I was working with mpi on the older version of ubuntu and everything was fine untill I upgraded to ubuntu 22.04. When I try to compile my program using the command mpicxx -o , it gives me a long list of errors which I am pasting at the end of my message.

In a desperate search to solve the problem, I have added this: /usr/lib/x86_64-linux-gnu to my PATH but didn't work. I am new to linux and I have a ...

Score: 0
Azeem Hameed avatar
What will this command do
tr flag
zcat -rf ~/dragon | sort | grep -iaE -A 5 'cpu[1-7].*(8[0-9]|9[0-9]|100)' | tee cpu.txt
  1. what will this command do?
  2. how do individual commands function?
Score: 1
con avatar
Mate IBus not accepting changes to "next input method"
sa flag
con

I'm on Ubuntu Mate, and when I change the "Next Input method" to "Alt Shift" so that I can switch input methods like I do on Windows.

However, even after restarting, typing "Alt shift" does not change the input method.

How can I get Mate's input method to change when typing "Alt shift"? iBus Preferences

Score: 1
Kris Ogirri avatar
Installing SCAP Security Guide for 22.04.1
pm flag

I am unable to install the scap-security-guide on Ubuntu 22.04.1

I followed the documentation on http://static.open-scap.org/ssg-guides/ssg-ubuntu2204-guide-index.html but it shows a package that can not be installed. The site it redirects me to (https://www.open-scap.org/security-policies/scap-security-guide/) asks to perform the install of the following packages for Ubuntu newer than 18.04:

apt instal ...
Score: 1
fixit7 avatar
Eliminate text for png files
kp flag

I dragged some small .png to my desktop.

I tried editing the background by pasting them in, but then you can not move them around etc.

Is there a way I can eliminate the text underneath them?

enter image description here

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.