Latest Ubuntu related questions

Score: 2
rocky rocky avatar
Why can't Ubuntu use the command-not-found command?
kn flag

I use Ubuntu 22.04, and I found that Ubuntu has preinstalled the command-not-found package, but the command-not-found command cannot be used.

Because Debian's command-not-found package provides the command-not-found command that looks up programs not currently installed but available from the repositories.

May I ask whether Ubuntu has modified this package?

Any answer is greatly appreciated

Score: 0
Hector Colon avatar
MIPS cross-compile package, libc6-dev-mips-cross, is missing libcrypt
zm flag

I am trying to cross-compile a program for the MIPS architecture that requires libcrypt.

It works on a machine that has the Ubuntu Focal release, and that make sense since I can find libcrypt in the libc6-dev-mips-cross package listing: https://packages.ubuntu.com/focal/all/libc6-dev-mips-cross/filelist

On my newer machine that has Jammy, the compile isn't working because it is missing libcrypt. I can see ...

Score: 0
James R Owens avatar
Ubuntu-Core Password
lc flag
  1. So, I believe I had done everything correctly as outlined in the following: ssh-keygen to create private and public keys in ~/user/.ssh, id-rsa and id_rsa.pub files created. Password was created for the public key id_rsa.pub. ssh_config has PasswordAuthentication yes and port 22 enabled. This file is also in ~/user/.ssh. Chown all files to my user name.

  2. Checked router to make sure port 22 TCP/U ...

Score: 0
DR4NKR1D3R avatar
How to configure VM to display graphics effectively?
ax flag

I have a laptop (Ryzen 5-4500/8GB/no GPU). I recently installed Ubuntu on my VirtualBox (rather standard installation, fullscreen settings applied). There is a problem with my setup; I have issues running graphical applications (VLC, OBS, Blender) and YouTube. VLC is causing my VM to use 100% of it's allocated resources, OBS and online screen recorders videos are laggy. YouTube videos are buffering and  ...

Score: 0
Cameron Freed avatar
Chrome launcher display open tabs
gs flag

Currently running Ubuntu 22.04.

I got my Chrome Launcher on panel to open new tab on left click, but I was wondering if there is a way to have the below functionality.

When left clicking launcher, if any instances of Chrome are open it will display them and allow me to select an instance, or else it will open a new tab, somewhat similar to this.

display open tabs of same program

I would just like to be able to quickly open any o ...

Score: 0
André A. avatar
My new Logitech MX KEYS keyboard STOPPED responding - I am using Ubuntu 22.04.2 LTS
mx flag

My new Logitech MX KEYS keyboard STOPPED responding - I am using Ubuntu 22.04.2 LTS .

Also: I tried the command : sudo dpkg-reconfigure keyboard-configuration I went through the prompts... and tried to chose my keyboard model but I did NOT see my Logitech MX KEYS on the shown database list .

Please help! Many Thanks in advance.

Score: 0
Leeroy Jenkins avatar
Issues setting up wireguard on an Ubuntu 22 machine
io flag

It's the first time I'm trying to set up a wireguard server on a Ubuntu 22 machine and I don't understand what exactly am I doing wrong. I'm using https://github.com/angristan/wireguard-install as an installer for wg, specifying my IP address during the installation and leaving everything as is. It should automatically port-forward and it seems to do it. Here's the wg0.conf file that got generated (I ...

Score: 0
ABHISHEK KUMAR avatar
Microsoft type-c speaker doesn't work when I'm connected via USB-C Hubs to Graphics Card
eh flag

I'm using Microsoft type-c speaker on Linux with USB-C Hubs. When I'm connected via USB-C Hub to Graphics card it is showing some error message.

https://i.stack.imgur.com/bgNjN.png

Do you know this issue? Or you have any similar?

Distribution: Ubuntu 22.04.2 LTS Architecture: amd64 Running kernel: linux-6.4.7 Kernel version: 6.4.7

Score: 1
Wireless internet not working with Kubuntu 22.04
US flag

I just installed Kubuntu 22.04 on my new HP laptop and the wireless internet doesn't work at all. I'm a newbie with this sort of thing so I'm not sure how to fix this (besides using USB tethering with my phone as a workaround for the time being).

I used sudo lshw -C network to find out the exact wireless adapter it's using:

*-network UNCLAIMED       
   description: Network controller  
   product: ...
Score: 1
Green绿色 avatar
Hardware Acceleration in Firefox not working after recent update
ng flag

I'm using the Firefox snap version 115.0.2 on Ubuntu 23.04 with Wayland and an Intel graphics card. Last week, I followed this article to activate hardware acceleration in Firefox and verified that it works successfully with intel_gpu_top afterwards.

However, this week I noticed that it's not working anymore. According to intel_gpu_top neither YouTube nor local MP4 videos are rendered by hardware - they a ...

Score: 1
Bastion avatar
Logins like [email protected] cause profile files to be owned by root
eg flag

The users at my school are used to logging in to email, windows etc with a login [email protected] (authenticated with Active Directory via LDAP). Unfortunately this is causing havoc and corrupting their user profile.

UPDATE - CAUSE: This was caused by some custom modifications in our setup that I didn't know about and were before my time. Was a bit difficult for me to find.

Custom code was in: /etc/pam.d ...

Score: -3
Ozkan Altas avatar
How can i restrict command line on ubuntu server
am flag

I want to restrict the command line Ubuntu for all users.

But if I write a super user command like "enable" or something like that. Ubuntu should ask for my superuser password and if I entered it correctly it has to open to normal unrestricted bash.

How can I do this?

I saw some examples with a QR code. They run the superuser command and the OS shows some random characters and QR code on the screen. Th ...

Score: 0
Run audio file at boot
ru flag

I've installed ubuntu server on a raspberry PI4. I would like this raspberry to run an audio file at boot (without me logging in). I have created an audio.sh file with the following:

#!/bin/sh
cvlc --loop --intf=dummy  /home/user/musica.mp3

then i created a service that starts (audio.service):

[Unit]
Description=Servizio Musica Showroom

[Service]
ExecStart=/home/user/audio.sh

[Install]
WantedBy ...
Score: 0
Yasha Akimov avatar
grub emulate vendor power-on keys with custom controller
hk flag

I want to add two buttons to my pc, one should boot windows and another one should boot ubuntu. I read about GRUB vendor power-on keys, but i dont understand how i can add custom buttons here. Should i use simple controller aka arduino to somehow communicate with grub or there is another way to do it ?

Score: 0
zeshanahmed nabin avatar
I had accidentally deleted the ubuntu kernel. How to regain it?
us flag

I am working on the kernel source code. So I compiled the linux core kernel and installed it. After that I removed all the generic kernels from the /boot partition. On the mainline kernel app it still shows the 6.2.0.26.26 Ubuntu kernel is installed on my pc. But I had tried sudo apt update-grub During boot I can't find the generic ubuntu kernel. Is there anyway to regain that? I can't reinstall whol ...

Score: 0
Wyatt Wang avatar
Ubuntu22.04 suddenly goes black
km flag

When I was programming with Goland, the following message suddenly appeared on the black screen:

bles libcrc32c nfnetlink br_netfilter bridge stp l1c snd_ens1371 intel_rapl_msr bnep snd_ac97_codec 
gameport ac97_bus snd_pcm intel_rapl_common overlay crct1odif_pclmul ghash_clmulni_intel vmw_balloon 
aesni_intel snd_seq_midi snd_seq_midi_event crypto_simd cryptd vsock_loopback vmw_vsock_virtio_tran ...
Score: 0
Pau Clavell-Revelles avatar
Upgradable packages preventing ubuntu 20 upgrade to 22
sr flag

I am using ubuntu 20.04 and I want to upgrade to 22.04. This requires to have upgraded all the packages. After apt update, two packages (r-core-base and r-core-dev) can be upgraded but the upgrade fails because these packages can not be installed:

 The following packages have unmet dependencies:
 r-base-core : Depends: libc6 (>= 2.35) but 2.31-0ubuntu9.9 is to be installed
               Depends ...
Score: 0
Dennis avatar
Bash: call a URL with lots of query parameters
cn flag

I make a GET call to an API in my bash script, which lets me specify an array of query parameters (e.g. items). So far I have successfully used curl as follows:

curl "https://my-fancy-api.com/api/query-items?items=abc1&items=def2&items=ghi3" -H "Accept: application/json" -H "Authorization: Bearer ${SOME_TOKEN}"

This outputs some JSON which I continue to process. So far, all works out well,  ...

Score: 0
Stuart avatar
Keyboard and mouse problems
lb flag

System is:

  • Operating System: Kubuntu 22.04.2
  • KDE Plasma Version: 5.25.5
  • KDE Frameworks Version: 5.98.0
  • Qt Version: 5.15.3
  • Kernel Version: 5.19.0-50-generic (64-bit)
  • Graphics Platform: X11

I have been having problems with my laptop's keyboard, and more lately the mouse as well, for some time. On doing a search of StackExchange I came across

Specific keys not working after the latest update on Kubun ...

Score: 1
Joe avatar
How to set gnome-system-monitor to stop dynamically scaling the y-axis?
in flag
Joe

I have gnome-system-monitor open on my screen. I'm looking at the 'Network' section.

In the last few minutes It has shown the following charts:

enter image description here enter image description here enter image description here

All of these only make sense after I check the axis - unlike the CPU and ram scores which have a defined maximum. Given that I know a rough maximum for the upload and download speeds, is it possible for me to set the network chart to some fixed maximum s ...

Score: 1
Sachith Muhandiram avatar
USB keyboard and mouse dont work after upgrade to 22.04
cd flag

Today I upgraded from 20.04 to 22.04. There were no errors in upgrade process and rebooted.

When I logged into Ubuntu I can insert my password to gnome using my usb-keyboard and mouse pointer also working. But after few seconds both stop working (specially after desktop is loaded)

lsusb shows

Bus 001 Device 003: ID 413c:2113 Dell Computer Corp. KB216 Wired Keyboard
Bus 001 Device 002: ID 413c:250e Dell ...

Score: 0
ibnahmadbello avatar
Ubuntu OS 22.04 would not boot
ru flag

My default and only OS on my system is Ubuntu 22.04, but just a few days back it doesn't boot into the Ubuntu environment.

How it started:
I shut down the system correctly, but when I tried to put it on, it shows

No boot devices found.

I was able to boot into the system using live USB and I tried the "boot-repair" option but it came with an error of

NVram is locked (Ubuntu not found in efibootmgr).

Score: 0
Abdul Sadik Yalcin avatar
Checking tsp logs via ssh
in flag

I'm using task spooler to run a process on my server. Is there a way I can check the logs via ssh? It seems that the commands are run by user/session, so I when ssh via terminal, I don't see anything that was run by the server.

  • An API call to a PHP file
  • PHP files executes the bash script
...
$command = 'sh ./generate.sh "' . $url_to_capture . '" "' . $thumbnail_to_create . '" "' . $webpage_size . '" "' ...
Score: 0
zaiac avatar
Networking is fundamentally broken
ch flag

I'm running 22.04 and I have troubles connecting to a WiFi network. The problems manifest differently every time, but right now it's in a state where Network manager says connected, but I cannot ping a server. My WiFi quality is pretty bad, but that is not the culprit as connecting on Android and on Ubuntu an live USB works just fine.

I've even tried reinstalling network manager in case it's its  ...

Score: -2
Ms Tommy avatar
Ubuntu 22.04.2 LTS windowing system
th flag

Hello everyone help me please.Ubuntu 22.04.2 lts is x11 default in windowing system?Because it shows as x11 on setting > about.

Score: 0
Mohammad Taha avatar
unable to launch virtualbox using SSH (Qt FATAL: This application failed to start because no Qt platform plugin could be initialized)
pg flag

I have a Home Assistant virtual machine in Virtual Box. I typically access it using GUI, but now i'm using the device in a headless setup, so i'm trying to open it using ssh access.

The issue I encountered while opening virtualbox ($ virtualbox) with a headless setup:

Qt FATAL: This application failed to start because no Qt platform plugin could be initialized. Reinstalling the application may fix this ...

Score: 0
influentialeliot avatar
Add Second Existing LUKS Encrypted Ubuntu Install To Grub (OS on Separate Physical Drive)
bn flag

Summary

I need to have two GRUB options to choose which LUKS encrypted Ubuntu is started, the install on my first drive, or the install on my second drive.

Details

I have two existing, all ready, installed, LUKS encrypted Ubuntu installs on two separate drives in the system.

How do I add a second option to GRUB to boot to the second OS?

I must use these two separately installed OS, I cannot use any other ...

Score: 0
TalESid avatar
Gave up waiting for root file system device in ubuntu 22.04
pl flag

My laptop has ubuntu 22 and windows OS installed. Ubuntu was logged in. Mistakenly, I forgot to plug the charger and battery drained. When I tried to restart, I can see grub menu, but then it loads for a bit longer than usual then this screen appears...

Gave up waiting for suspend/resume device
Gave up waiting for root file system device. Common problems:
- Boot args (cat /proc/cmdline)
   -  Check ...
Score: 0
Nobilis avatar
Firefox snap very slow after migrating from 22.04 to 23.04
cn flag

Another Ubuntu release, another slow firefox snap complaint. I've uninstalled firefox, purged its settings under ~/snap/firefox, removed any saved firefox snapshots, but it now takes up to 2 minutes for firefox to boot, cold or warm, makes no difference. Tried installing with --classic but the flag gets ignored since the snap is configured not to work unconfined.

I've monitored io with iotop and cpu/ ...

Score: 0
Artillery avatar
Ubuntu 23.04 MySQL Workbench CTD - Gtk-CRITICAL Errors
gu flag

System Information

Operating System: Kubuntu 23.04 GTK 3.24.37-1ubuntu1

KDE Plasma Version: 5.27.4 KDE Frameworks Version: 5.104.0 Qt Version: 5.15.8 Kernel Version: 6.2.0-26-generic (64-bit) Graphics Platform: X11


I have Installed latest Mysql and is working

Downloaded and Installed Latest MySQL Workbench community_8.0.34-1ubuntu23.04_amd64.deb (Also crashes with SNAP version)

MySQL Launches and ...

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.