Latest Ubuntu related questions

Score: 1
What is the reason that snapd is installed via apt and snap in Ubuntu?
cn flag

I see that snapd on Ubuntu 22.04 is installed via apt, but snap info also suggests that snapd is also installed as a snap package. Is there a good reason to keep it that way?

Score: 0
ChristopherMejia avatar
Why is linux used for IoT devices
na flag

I know that linux provides some benefits when it comes to security, and cost. But why is Linux used so much for embedded systems and IoT devices?

Score: 0
Z.J Hung avatar
Beelink SER6 Pro VEST Mini PC with GAN charger can only boot with acpi=off
pk flag

I bought a Beelink SER6 Pro VEST and installed Ubuntu Desktop 22.04 LTS with the original charger. It worked well without any problems. However, I'd like to use a light-weight GAN charger, so I try to use my 140W GaN charger but it doesn't boot.

I have tried acpi=ht, acpi=noirq, acpi=strict, pci=noacpi, noapic, nolapic but none of them can boot successfully. Only acpi=off works.

Is there other options I c ...

Score: 0
buntubuntubuntu avatar
"Error mounting (drive name/dir name): wrong fs type, bad option, bad superblock" 22.04.2 LTS
ky flag

I am suddenly unable to mount either of my NFTS drives. This is an example of the message from one of them.

The error message from the files GUI:

Screenshot

Both drives were plugged into another computer and appear to be working fine.

I ran sudo dmesg from another post on this site with this issue. The output where there are several errors:

el_lockdown.7
[   82.485364] rfkill: input handler disabled
[  103.9997 ...
Score: 0
david tober avatar
How do I copy firmware to /lib/firmware in Ubuntu Core 22 LTS?
sr flag

My problem is with Ubuntu Core 22 LTS. It's running on my rasp3b+ with tvheadend. My terratec h7 needs a firmware file that I have on hand. My problem is that I can't copy the firmware file to `/lib/firmware/.

cp dvb-usb-terratec-h7-az6007.fw /lib/firmware/
cp: cannot create regular file '/lib/firmware/dvb-usb-terratec-h7-az6007.fw': Read-only file system

How do I solve this problem?

Score: 0
Yokuho avatar
Ubuntu won't boot after kernel or AMD driver updates
si flag

I am using Ubuntu 22.10, and I am not using dual boot. I never used Linux or any variants before, so suffice to say I have no idea what I'm doing, after updating my AMD drivers, or so I thought, my laptop won't boot Ubuntu and Ctrl+Alt+F3 displays the login terminal for a while before returning to the image I sent. I thought it was some sort of chkdisk as I am accustomed to windows and I cannot find any ...

Score: 0
Augusto Lassen avatar
Why, even after changing boot priority on BIOS, USB device (Ubuntu) is ignored?
ng flag

I am currently using Windows 10 in my laptop and I would like to install Ubuntu 22.04 (Or Ubuntu 20.04) in dual boot.

My laptop is a Acer Aspire F5-573g and the BIOS Mode is UEFI. I have already shrinked the original partition and created a new unallocated volume of 80 Gb. I used the software BalenaEtcher to burn Ubuntu 22.04 ISO file into a 32 Gb USB stick (Kingston DataTraveler Exodia, to be sp ...

Score: 0
Xavi Montero avatar
Virtualization not available. Flag `vmx` not shown while VT-d active in Ubuntu 20.04 in WSL in Win10. Instead, shows on Ubuntu 22.04 in WSL2 in Win11
bd flag

I have 2 hardware-clone PCs. Both are a MSI GL75 9SEK, bought the very same day and identical hardware characteristics. Name them PC-A and PC-B.

CPU is Intel(R) Core(TM) i7-9750H CPU @ 2.60GHz in both cases as per lscpu.

OS installation history

Both had Windows 10.

  • PC-A has not updated to Win11 and still runs Win10 with an Ubuntu 20.04 inside the WSL2.
  • PC-B was updated to Win11 and then WSL2 was instal ...
Score: 1
CAN'T BOOT snd_hda_intel cannot probe codecs giving up
in flag

I have Ubuntu 22.04 and KDE. Recently it downloaded some updates and said I needed to restart. I restarted and I got this error:

 snd_hda_intel cannot probe codecs giving up

I was unable to boot!

After restarting again, I was able to roll back to kernel version 5.19.0-40-generic and it was able to boot. Apparently the kernel version that creates the error above is 6.1.0-1008-oem.

I am very new to Linux  ...

Score: 0
mohamad sadeghi avatar
How can I limit download data traffic for a specific user?
yt flag

I want to limit download data traffic to 50GB per user on Ubuntu.

The restriction should be based on user ID or group ID or similar. It cannot be based on IP or port or application. I am trying to set a limit for SSH DIRECT users who all use the same port.

Score: 1
killed_by_bugs avatar
My Ubuntu's GUI doesn't show things properly. How can I fix it?
mm flag

What happened: I installed adb and putty by using: $apt install adb and $sudo apt install Putty. Then, I started Putty and then I found out the configuration GUI of Putty doesn't show anything. After reboot, my Ubuntu's GUI doesn't show things properly. All the GUI of Ubuntu are enclosed by black blocks ( as the image shows.) Some GUIs even don't show any words. Also, my input method (Sogou input m ...

Score: 0
Mhmoud Njedeen avatar
how can i find the average of data in a column in a txt file?
ee flag

I need to write a script that can find the average of numbers in a column and then print out the value when run. I am quite new to Linux commands, and I've tried my best, but I don't even know how to begin. I thought I need to make a counter somehow and use the awk command, but I don't know how to make it read the data in the column or to then divide over the number of entries. it might sound simple to  ...

Score: 1
How to disable updates available message in Discover?
us flag

I am running Kubuntu 22.04.

Sometimes, right after startup, Discover shows "Update available" in its tray icon.

I update my system regularly from the command line, and don't want to see this "Update available" message. How to disable it?

Score: 0
truera1n avatar
Ubuntu autosuspends when CPU/GPU temperature reached 90°-92° C
ph flag

I've been using Ubuntu for 2 days, and when I want to play Overwatch through Lutris, I can't. When I'm playing, the temperature is very high (~94° C on the GPU), and Ubuntu is suspending my laptop. I checked dmesg and it's just entering suspend (deep) without any warnings. Is there any way to solve it? Solve autosuspend, not overheating. And Arch-based distros aren't doing this, only Ubuntu and Ubun ...

Score: -2
Alakananda S avatar
Why do `ls` and `du` commands show a different size for the same file?
cw flag

I am currently using Ubuntu 20.04.

When I check a file's size using the du command, I get the following output:

ubuntu@ip-172-31-49-39:/myxfs$ du -h newquota
4.0K    newquota

With the ls -la command, I get the following:

ubuntu@ip-172-31-49-39:/myxfs$ ls -la
total 8
drwxr-xr-x  2 ubuntu ubuntu   22 Apr 18 19:17 .
drwxr-xr-x 22 root   root   4096 Apr 17 12:05 ..
-rw-r--r--  1 ubuntu ubuntu 1024 Apr 18 19 ...
Score: 0
user422005 avatar
Login to another machine inside firewall
tr flag

we are a small company working with laptops in a shared office setting. We are inside a shared firewall managed by the company renting out office space, and we can not configure this in any way.

For normal laptop-work with connection to cloud services this works nicely, but we now have a on-prem build server (setup as a GitHub runner), and I would like to ssh to the build server. I guess I need s ...

Score: 0
Hiro Daryanani avatar
Trying to get Internet working on a new W11 VM installed with QEMU and Virtio
im flag

I'm a slightly more experienced Linux noobie :-) So I have

  1. a new Ubuntu 22.04 server I installed XFCE4 and the ubuntu desktop
  2. Installed QEMU/KVM virtmanager
  3. Installed Win11 with virtio drivers using this video

All finally installed fine and network does get assigned an address, but there is no Internet!

Some information that may help QEMU Virtual Network details

<network>
  <name>def ...
Score: 0
rooot_999 avatar
setting up reverse proxy nginx with Radarr - lubuntu
br flag

I am facing an error 403 Forbidden when I try to access Radarr.

Here is my block setup for nginx in the site-available folder:

server {
listen 80;
server_name radarr.mydomian www.radarr.mydomian;

location / {
proxy_set_header   Host $host;
proxy_set_header   X-Real-IP $remote_addr;
proxy_set_header   X-Forwarded-For $proxy_add_x_forwarded_for;
proxy_set_header   X-Forwarded-Proto $scheme;
proxy_pass  ...
Score: 0
Kris avatar
How to build Snap including multiple directories and files in Snapcraft.yaml
uz flag

Is there a example in https://github.com/snapcrafters that would show how to add multiple directories and files as part of the snapcraft build?

I have an entire directory tree that would need to be packaged up. There is 6 top level directories with subdirectories and files. I am wanting to create a Snap app out of a binary application. The main reason for this is because I don't have the source  ...

Score: 0
Ishan Hegde avatar
No WiFi or Bluetooth on 22.04 Fresh Install on ROG Strix G17 (2022)
bg flag

I was previously using Pop!_OS 22.04 before WiFi, bluetooth, graphics were becoming unstable. I decided to clean install Ubuntu 22.04 LTS and now both WiFi and Bluetooth are not working at all. From the lspci command, the network device is a MEDIATEK Corp. Device 7922. I chose to install Ubuntu with proprietary drivers.

Laptop Specs:

  • 140W 6GB RTX 3060
  • Ryzen 6900HX
  • 16 GB DDR5 RAM
  • 1 TB SSD

Edit:

Score: 1
Hans Van Den Broek avatar
Virtualbox VBoxManage show only results with sudo many info inside what I already tried in other post?
ge flag

When I run this als normal user :

VBoxManage list runningvms

No results, also no error output, its compleet empty ....

When I run this with sudo : sudo VBoxManage list runningvms

is see my VM is running "homeassistant" {5e97e033-e726-41ec-a3aa-3f8e6b4bf448}

The normal user is

  • a member of vboxusers
  • remove this folder rm -r ~/.config/VirtualBox
  • set the folder permission with sudo chmod -R 752 ~/.conf ...
Score: 1
cocomac avatar
What's the best way to forward a local port to a port on a remote machine that minimizes latency?
cn flag

For this question, assume all computers involved are running the most-recent Ubuntu LTS release (or similar, such as Ubuntu Server).

I have a computer on my LAN. Let's call it "Local Server", and we'll say it has an IP of 192.168.1.2. I also have a cloud VPS, called "Public Server" Let's also say we have a DNS A record that says that server.example.com goes to the public IP address of my VPS. For sim ...

Score: 0
Bunyk avatar
Formatting USB drive is disabled in gnome-disks
ng flag

I got a new USB stick I could not use. gnome-disks app shows that it's not formatted, but does not allow me to format it even when running it with superuser.

What could be the problem here, and how could I fix it? Are there other ways to format it?

Disks app with Format Disk... menu disabled

P.S.

After searching more, I runned killall nautilus, and after getting comment to this question I runned

$ sudo dmesg | grep usb
[16529.465186] usb 1- ...
Score: 0
Mr. Spock avatar
How do I use the speaker from my monitor in ubuntu 22.04?
mc flag

The speaker from my Philips monitor doesn't show in the devices availiable for selection, but the monitor is connected to my Ubuntu PC through the HDMI cable. The image works, the sound is not recognized

Score: 0
Paulo Cunha avatar
Problem with PID - Zabbix Server on Ubuntu (WSL2)
de flag

I'm having trouble trying to start Zabbix Server (6.4) on WSL2. When I try the following command:

service zabbix-server restart:

I received the following message:

 * Stopping Zabbix server zabbix_server
No process in pidfile '/var/run/zabbix/zabbix_server.pid' found running; none killed.   [ OK ]
 * Starting Zabbix server zabbix_server   

And Zabbix Server does not start:

service zabbix-server status

Score: 0
Romek avatar
Can connect to Droplet only using root user
uy flag

I'm trying to set up a Digital Ocean Droplet, and i have created a new user to follow best practices and also so that i can run the code command, because it isn't allowed as the root user. I can login using ssh -i ~/.ssh/id_rsa root@droplet_ip but running ssh -i ~/.ssh/id_rsa my_user@droplet_ip returns my_user@droplet_ip: Permission denied (publickey).
Why is this issue occuring? I also have managed  ...

Score: 0
Arcturus avatar
glxgears doesn't work
tw flag

I have just started using Ubuntu 18.04 in command prompt. During the initial installation in Windows 11, I could get glxgears to work. Now when I type, nothing happens. It just goes to the next line and nothing opens up.

Score: 0
llesh avatar
Same IP but for two different interfaces netplan
au flag

I have an ubuntu server 22.04 installation on a laptop with two interfaces wlp3s0 (wireless) and enp3s0 (ethernet). Wireless connection is used at home, ethernet connection is used at the office.

The scenario is this. Office has to be static ip where gateway is 192.168.80.1. I have to add dns nameserver to connect to the internet. Home has to be also the same static ip. Where gateway is 192.168.80.32 ( ...

Score: 0
Windows Sucks avatar
Static noise when using echo cancellation module
kz flag

I tried all the suggested solutions here and nothing worked for me,I also tried Cadmus but it has a delay problem

Score: 0
Kris avatar
How to perform unattended install of Ubuntu Core from USB flash drive
uz flag

There is a way to setup Ubuntu Server unattended install by creating a custom ISO file with instructions in preseed and programming this on a USB flash drive to install Ubuntu Server on a industrial PC for example.

Is there a way to do with Ubuntu Core? I thought that maybe writing the image on a USB flash drive (using the command below) and booting from it might do it, but it just installs Ubun ...

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.