Latest Ubuntu related questions

Score: 2
What causes the error code: Wsl/Service/CreateInstance/CreateVm/0x8007000d and how to fix it?
cn flag

I have a bunch of wsl ubuntu distributions installed on my Windows 11 box and they all used to work. Now, when I attempt to boot (run them from wsl) any of them, they all fail with "The data is invalid" and the above error code. The same thing happens if I attempt to install new copies of Ubuntu.

e.g.

wsl -d u20.04 -u cfclark
The data is invalid.
Error code: Wsl/Service/CreateInstance/CreateVM/0x800 ...
Score: 0
Zaf avatar
Speaker output doesn't work on Ubuntu 20.04 while headphones are also plugged in
ss flag
Zaf

I have my speakers plugged in through audio jack on the back of my computer, and my headphones plugged in through the audio jack in the front.

Both are working fine on windows. The issue is, on Ubuntu, while they are both connected, and I choose to use my speakers, there is no audio. In the same settings, if i just disconnect the headphones by removing the audio jack, the audio from the speakers  ...

Score: 0
Utz avatar
Autoinstall local repository
mh flag
Utz

I have my own ISO based on Ubuntu 22.04 that I generated myself. Here is my Autoinstall -

#cloud-config
autoinstall:
  version: 1
  identity:
    hostname: foo-ubuntu
    password: "ToReplace"
    username: abcabc
  source:
    id: ubuntu-server-minimal
  early-commands:
  - cat /cdrom/casper/install-sources.yaml | awk 'NR>1 && /^-/{exit};1' > /run/my-sources.yaml
  - mount -o ro,bind ...
Score: 0
Benj avatar
Ubuntu 20.04.4 LTS randomly freezes
ng flag

The freeze happens regardless of what I'm doing, whenever I'm using the computer or I'm away. The keyboard is not responsive and the screens go to power-saving mode.

However, I can access it through SSH from another computer. Sadly I don't know how to diagnose the issue. Any help or hint would be greatly appreciated!

Here are a few details I hope will help (taken from an SSH session, while the compu ...

Score: 0
Woask avatar
Ubuntu 22.04 LTS Server Xen server doesn't boot after upgrades
in flag

Yesterday I did some regular patches on my Xen hypervisor running Ubuntu 22.04 Server. After the apt update / apt upgrade the server didn't boot into Xen anymore. It's stuck trying to mount my root partition device (I think).

Screenshot of error message:

Screenshot of error message

Content of /boot :

content of /boot

When I boot into rescue mode and execute apt purge xen* and reboot the server everything works fine again, but I would like  ...

Score: 0
archangeltred avatar
MOK manangment/enroll key
do flag

Do I require secure boot by adding a MOK management/enroll key. I was given a tablet and long story short. There was porn(XXX). I didn't know and I logged into my gmail account. Then every device I had...even Ubuntu Unity had it because the market targeted it as one of my likes even though it wasn't even my device.

All I did was look up Pokémon Go and it pulled up XXX. It's repulsive. Anyone I d ...

Score: 0
AimanT avatar
Is there a way to recover data from a drive that was an LVM partition?
tl flag

I'm a bit new to ubuntu, apologies upfront for gaps in my understanding.

One of our device broke down recently and needed to be RMA.

The device had 2 drives, an internal 30gb drive and a 1 tb ssd. The device had been setup to combine it as 1 drive (which I would guess is from LVM? We have another device that's the same model and it has the same setup).

I have the ssd, but the internal memory was taken  ...

Score: 0
Abdullah Shahab avatar
Apache, PHP7 Error script '/var/www/html/ftc_portal/users' not found or unable to stat
sn flag

I am working on Ubuntu 18.04. I am getting errors when I hit on my project. info.php file and PHPMyAdmin is working on localhost but my project giving a 404 error.

[Mon Jan 16 13:19:17.620674 2023] [php7:error] [pid 13175] [client ::1:39174] script '/var/www/html/ftc_portal/users' not found or unable to stat

I tried many solution but didn't work

Score: 0
Jason Hayes avatar
Symlink race condition vulnerability Support for cPanel
ph flag

How can I fix this issue in WHM/Cpanel with Ubuntu 20.04? The documentation says to use the BlueHost fix but that it's not optimal for fixing the issue. Cloudlinux has several methods to fix it. There's no way--at present--to patch it with Ubuntu 20.04.

Score: 0
Roman Tanvir avatar
Ubuntu 22.04 click installed from the cyberpanel imagen is unable to boot from server
us flag

I manage cyberpanel based on Ubuntu 22.04. My web server disk space got 100%, so I went to clear some cache and some log files.

This is what I did.

Before this I checked which files were taking so much space with the df -H command, however after restarting the server I'm unable to boot to Ubuntu. The SSH is giving me this error:

enter image description here

I can't access anything since the OS is not booting.

Starting the Ubuntu ...

Score: 4
Julian Camilleri avatar
WIFI - Intermittently disconnects
na flag

Not too sure about the issue causing the wifi to intermittently cut off and reconnect - seems like there's an issue with the queue but can't make sense of the rest of the information provided by dmesg.

Ubuntu 18.04.6

Kernel: 5.6.17-050617-generic

lspci dump:

00:00.0 Host bridge: Intel Corporation Device 9b44 (rev 02)
00:01.0 PCI bridge: Intel Corporation Xeon E3-1200 v5/E3-1500 v5/6th Gen Core Processor  ...
Score: 0
askd avatar
How to recover the - Accidently selected "No" option for "open recent files" in Mousepad text editor
sj flag

I've been using mousepad text editor for simple tasks in my Xubuntu 22.10. And I've 2 important tabs

  1. notes.txt (has some unsaved data)
  2. A file (not created in disk)

I often save my data before shutdown the pc but even if I didn't during the next power on when I open the mousepad will prompt the option to open the recent files and my unsaved data is gotten back, unfortunately this time I accidentall ...

Score: 1
Ubuntu Server 22.10 on Virtualbox - host-only network and NAT can't coexist together?
be flag

I'm trying to create a Virtualbox VM (running Ubuntu Server 22.10) which has NAT (for internet access) and host-only adapter with static IP. It seems that I can get only one of both working. Optimally I'd configure the whole setup with automation tools like vagrant and ansible, but for now I am using netplan to debug directly in the VM.

(I'm new to networking, so any additional explanations are we ...

Score: 0
tauqeerahmad24 avatar
Why I am not able to connect Ubuntu server with SSH key?
cc flag

I have Ubuntu server 22.4 and I it had SSH server installed. Time to time SSH connection was doping even while I was working. I update the SSH by using command sudo apt-get update ssh. After the update, I am not able to connect to my server via SSH.

What I have done so far?

  • I restart the Server

  • I re-install the ssh

  • I switched off the firewall.

  • when run ps -ef | grep ssh I see the following result ...

Score: 1
Stefan avatar
Why does `/usr/bin/time` report the wrong exit status with format `%x` in case of SIGABRT?
bi flag

I'm using /usr/bin/time to report information about a set of benchmarks I'm running. The interesting data points are runtime, memory usage and the exit status. This works fine except when the application fails with an uncaught exception, in which case /usr/bin/time reports a 0 exit code instead of the actual 134.

Let me illustrate the problem with a toy example for the app:

#include <stdexcept&gt ...
Score: 0
mLstudent33 avatar
WSL2 I was able to cd into a non-existent folder, how is that possible?
ph flag
(base) nyck33@LAPTOP-EEVJTJJ4:~$ cd $gatech
(base) nyck33@LAPTOP-EEVJTJJ4:/mnt/f/1_gatechSpring2023$ cd Infosec
(base) nyck33@LAPTOP-EEVJTJJ4:/mnt/f/1_gatechSpring2023/Infosec$ cd ..
(base) nyck33@LAPTOP-EEVJTJJ4:/mnt/f/1_gatechSpring2023$ ls
CN  InfoSec  Loans  ML  ML4T  NetworkSecurity6262  RL  gameAI  renumberVideos.py
(base) nyck33@LAPTOP-EEVJTJJ4:/mnt/f/1_gatechSpring2023$ cd InfoSec
(base) nyck33@LA ...
Score: -3
Samuel avatar
Delete all Ubuntu themed things and install default Adwaita for everything?
ye flag

I dislilke the default Ubuntu theme. I dont like the GTK3=4 Theme. I dont like the shell theme. I dont like the icon theme.

Is it possible to rip all of that out and replace it with the new Adwaita theme? I highlight new because there is for example an Adwaita icon theme installed but those are still the old brown icons.

I know https://github.com/lassekongo83/adw-gtk3 exists. But this ist just for gtk3 th ...

Score: 0
user227495 avatar
Unable to switch " Application " themes using Tweaks in 22.04
us flag

I am not sure whether it has anything to do with installing the Orchis theme. But around that time, this issue started. I am able to switch icons, cursors and shell themes using theTweaks tool in 22.04. But even though I am able to change the " Application " theme to Adwaita or even Yaru Dark in the Tweaks tool, it won't change in real.

I tried logout and login, shutdown and start, without success.

Score: 1
Loukas Douros avatar
Unmet dependencies in Sagemath installation at Ubuntu 22.04 : python3-pyr2 : Depends: python3 (< 3.9) but 3.10.6-1~22.04 is to be installed
om flag

I have just installed Ubuntu 22.04 and tried to install Sagemath from

https://sagemanifolds.obspm.fr/install_ubuntu.html

with the following commands: sudo apt install sagemath-jupyter

Unfortunately a message with writing I have unmet dependencies appeared:

sudo apt-get install  sagemath 
Reading package lists... Done
Building dependency tree... Done
Reading state information... Done
Some packages cou ...
Score: 2
Anirudh Salgundi avatar
Need gcc and g++ 4.8 in Ubuntu 22.04.1
bi flag

I am currently in Ubuntu 22.04.1 version, but I use a software which strictly needs gcc 4.8 (as per installation guide). How can I install it?

sudo apt-get install g++-4.8

Reading package lists... Done
Building dependency tree... Done
Reading state information... Done
E: Unable to locate package g++-4.8
E: Couldn't find any package by glob 'g++-4.8'
E: Couldn't find any package by regex 'g++-4.8'
 ...
Score: 0
42degreesS avatar
Problems installing uBuntu from memory stick on 2011 MacBook
kn flag

I finally thought that I had installed Ubuntu 22.04.1 successfully on a memory stick on a 2011 MacBook Pro but the installation has been made on the Mac itself not the memory stick. I didn't intend this to happen so I hadn't partitioned the drive. Has Linux overwritten the OSX? Thanks for any advice or suggestions anyone might be able to offer.

Score: 0
RedHand avatar
Ubuntu 22.04, After Update, Audio and Video Devices Don't Work
gb flag

After a recent update, Ubuntu gives me USB errors on startup and won't recognize my Logitech C270 USB webcam, Logitech H570e USB headset, or AMD Family 17h stereo speakers connected to the audio line out port. My user account has been added to the audio and video groups and all of the devices work on my other computer.

dmesg errors:

[    1.758723] hub 1-6:1.0: hub_ext_port_status failed (err = -71)

[ ...
Score: 0
mixmax avatar
How to mount an external hard drive when it disappeared after formatting it to ext4 with parted?
mo flag

I have a 'My passport' external hard drive that I wanted to format to EXT4 to use for Linux Ubuntu 22.04.

The drive is almost empty but has a few files by default that I didn't mind keeping, so I tried to create a partition from about 1GB until the end of the disk. After running the formatting, my disk doesn't appear in my /media/username/ anymore. How can I cd into this disk, and how can I check if  ...

Score: 0
elkde532 avatar
No bootable device during Windows 11 failed upgrade on a Windows / Ubuntu 22.04 dual boot
gw flag

Before the crash I had a Ubuntu 22.04 and Windows 10 dual boot on the same SSDSCKKW480H6 Intel 480GB hard drive.

I intended to make a Windows bootable recovery image and then wipe everything and go single boot Ubuntu, however I had some Windows updates, saw I could upgrade to Windows 11, and tried that. During the Windows 11 download/upgrade, I got a blue screen error and the computer rebooted,  ...

Score: 0
S Square avatar
Setting up secondary interface with netplan using DHCP - both interfaces in same subnet
vn flag

I am trying to configure two Network interfaces on an EC2 instance using Netplan. These interfaces have the same subnet. When the cloud-init configures it, the netplan configuration looks as follows:

network:
ethernets:
    eth0:
        dhcp4: true
        dhcp4-overrides:
            route-metric: 100
        dhcp6: false
        match:
            macaddress: xx:xx:xx:xx:xx:xx
        set-name:  ...
Score: 0
damnthissucks avatar
How do I programmatically mount zfs at boot?
pk flag

I encrypted my hard drive with zfs, running ubuntu 22.04.

I'm an idiot and forgot my password. However, I'm pretty confident that it is contained in a list of ~300 passwords that I know.

When I boot, I see a field to enter password, with text under it saying "Please unlock disk keystore-rpool"

Problem is, I only get 3 attempts at the password before the maximum number of attempts is reached. After I fa ...

Score: 0
Concrete avatar
How to establish a LAN peripheral device connection to the internet using my laptop's wireless internet connection? U22.04
ba flag

I recently was able to establish a LAN device connection to the internet using my laptop's wireless connection to the internet in Windows 10. It was easy. I am now trying to do the same using the UBUNTU OS 22.04, which is installed on the same laptop in a dual boot configuration.

VOIP DEVICE -->>LAN CABLE -->> LAN-to-USB C adptr--->>laptop (new dell inspiron with U 22.04) ---& ...

Score: 2
Carol Eisen avatar
IPSec VPN Client on Ubuntu 22.04 LTS
cn flag

I am trying to connect to a IPSec VPN on Ubuntu 22.04 LTS. In the past this worked, but after upgrading from 20.04 it didnt. I deleted the configuration and trying to add it again using the UI.

My connection uses a IPSec group name and shared secret. Where do I enter the IPSec group name?

I followed this: https://github.com/hwdsl2/setup-ipsec-vpn/blob/master/docs/clients.md#linux I tried this: 22.04 l ...

Score: 0
BsdbX3D avatar
No GUI on Kubuntu
ua flag

I have installed the LTS version of Kubuntu. After installing there is nothing displaying but the wallpaper. Note, that system is functional, but I seem to not have the Terminal, Browser, etc.

I have tried changing my video drivers but it didn’t help.

What would be the solution for this problem?

Score: 1
onedumbquestion avatar
How do I install m4a codec on ubuntu 22.04
ph flag

I've seen a lot of answers to this question varying from release to release so I'm asking for my specific version 22.04 because neither vlc or audacity can open m4a files

VLC media player 3.0.16 Vetinari (revision 3.0.13-8-g41878ff4f2)
[mov,mp4,m4a,3gp,3g2,mj2 @ 0x7f4cb8c75a00] moov atom not found
[mov,mp4,m4a,3gp,3g2,mj2 @ 0x55e4724c6c80] moov atom not found

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.