Latest Ubuntu related questions

Score: 0
nobody special avatar
I have trashed my system so only see a xfce dexktop session instead of kde
sj flag

I managed to trash my Kubuntu system, by some silly apt removal and attempt to correct the mistake, so now at login all I get is a xfce session, which hangs after I enter my password.

I can switch out to a shell and login to the system, so how can I repair my gui login to get KDE back.

Score: 0
Senad Delic avatar
Cant upgrade linux kernel
nl flag

I have a fresh install of Ubuntu 22.04 and there is almost nothing I can do. If I want to install something via terminal, it will automatically try to update the kernel to linux-image-5.15.0-56-generic and get stuck there.

Output of sudo dpkg --configure -a is:

dpkg: dependency problems prevent configuration of linux-modules-5.15.0-56-generic:
 linux-modules-5.15.0-56-generic depends on linux-image-5.15. ...
Score: 0
Dominika Kadlečková avatar
Low CPU usage running multi threading software
br flag

I ran into a weird problem. While running some software (SPAdes, bwa-mem2; latest versions) with 16 threads I noticed that they slowed down, and CPU usage is around 0-2% during that. Since it would be strange coincidence that both softwares fail like this at the same computer it's probably Ubuntu related... Worked fine last month... Nothing major changed. It looks like at the beggining they are running  ...

Score: 0
joe avatar
Fresh Ubuntu installation with full disk encryption fails on dell XPS 13 9380 with 22.04 or 22.10 out of memory
cd flag
joe

I had Ubuntu running on the xps for years without problems. Then suddenly after an update it did not boot and halted with an error 'out of memory' before the luks password input.

I tried to fix it and finally decided to do a fresh install with full disk encryption. It turns out it is still not booting after fresh installation with full disk encryption option (standard installation boots flawlessl ...

Score: 0
Terra Home avatar
Number of hits in activities search field
pf flag

I have created seven .desktop files for a task XYZ. All files contain "XYZ" as a keyword in the "Keywords=" field. My idea was that I could show these .desktop files by clicking on "Activities" and entering "XYZ" in the search field. The only problem is that only a maximum of 6 search hits appear when "XYZ" is entered. Is the number of search hits limited to 6? Is this a desired behaviour? Is it a feat ...

Score: 0
Claude Mutela avatar
Ubuntu 20.04 temporary failure in name resolution
bh flag

I am having this issue when trying to connect to the internet. The real problem is that I want to update my system and then I realized that I can't access the internet. I modified my resolv.conf file by putting the nameserver 8.8.8.8 but during the ping I always have the same error. I really need your help, I've been on it for days.

Score: 0
Steven DeVerteuil avatar
xconsole causing rsyslog to fail startup
vn flag

I am trying to verify that a cronjob ran on WSL2. Sources have told me to check /var/log/syslog. When I navigated there, syslog did not exist. Sources then told me to run service rsyslog start to start the service. When I do so, I get this error message:

deverteuils@:~$ service rsyslog start
 * Starting enhanced syslogd rsyslogd                                                                         ...
Score: 0
TkqiQvGx avatar
Did I reformat my drive to LUKS correctly?
mf flag

I reinstalled/upgraded Ubuntu LTS (22.04.1) from a thumb drive and chose the option to encrypt my drive, LUKS format. Later on, I restored some of my old files via Backup (f/k/a dejadup).

When I look at my drives, I see that my main 120GB HD appears to only have a small sliver of it encrypted (2GB), but the rest not. See screenshot below. Is this the expected outcome? I was not expecting it to be  ...

Score: 0
Eric Quevedo Carles avatar
Script example for .profile, bashrc and bash_logout
mo flag

I'm an IT student and I was asked to explore some of the functionalities of the .profile, bashrc and bash_logout files. The thing is I'm new to Ubuntu and Linux and I'm having trouble to find some example scripts to implement in those files. So far I know that: .profile: every change here applies to all users profiles. .bashrc: a script that's executed everytime I log in and also provide aliases. .bash_ ...

Score: 0
Jules Betfien avatar
Permission denied inside a container
gf flag

I am trying to build Django app container with the following dockerfile and docker compose, but I have permission denied. Since a week I am looking how to solve this error.

Dockerfile-prod

FROM python:3.9-alpine3.13
LABEL maintainer="jbetfien@gmail.com"

ENV PYTHONDONTWRITEBYTECODE 1
ENV PYTHONUNBUFFERED 1

COPY ./requirements.txt /tmp/requirements.txt
COPY ./requirements.dev.txt /tmp/requirements.dev ...
Score: 0
Alejandro avatar
Compiler mismatch, can't upgrade Ubuntu
mz flag

Let me give you a brief introduction:

I use a really old and tiny netbook (11 years) to play around with new tools, try out different OS and so on, kind of a little (and portable) lab. Hardware specs are low, as expected (Old Intel Atom, 2 GB RAM and a 500GB HDD). Recently, I updated it with lubuntu which uses LXQt, works decent.

Now with the problem:

While sudo apt update'ing in the couple days bef ...

Score: 0
Abhinav Dharmesh avatar
System broke, most things aren't opening
pl flag

In my system many apps are not working the terminal fails to start and Settings disappeared from app menu. I tried searching for the settings app in file explorer and there's only one option in it.

enter image description here

I also tried Alt+F2 gnome-control-center but it's showing that command not found.

Also ethernet is connected but unable to access the internet

Edit: https://i.stack.imgur.com/vMK82.png Also why do these  ...

Score: 1
danik56 avatar
Can't login from console after 22.04 upgrade
cn flag

After upgrading to 22.04 LTS, I can no longer login from the console to the user who did the upgrade. I can login to another user. I also can login to that user from SSH. no error message appears on the console. It just sends me back to the initial screen where all users are listed. No clue what the issue is.

Score: 0
d1w3  avatar
Ubuntu Studio: HP Laptop does not boot anymore after patch installation
tt flag

When turning on the Laptop, the initial screen with the HP Logo (with the message press Esc for setup) will go into a loop. After the timeout for entering the Bios setup, it reset the system and it start over again. The System will not boot the EFI Partition. My workaround is to press F9 for Boot device, choose Ubuntu EFI and it start up without an issue. There is only Ubuntu Studio installed, no other  ...

Score: 5
Anthony Forwood avatar
why does VLC no longer work as well after I upgraded to Ubuntu 22.04.1 LTS?
pg flag

VLC no longer handles high resolution 4k videos very well compared to before I upgraded from Ubuntu 20.04.

Other software programs were also upgraded to newer versions without my knowledge until after the upgrade when I went to use them.

Is there any way to fix this?

Score: 1
khgasd652k avatar
Failed to Add Public IP to KVM Virtual Machine on Ubuntu 22.04.1 Server Host or Problem on Networking
br flag

Background Problems

I have a Dedicated Server (Ubuntu 22.04.1 LTS) with five Public IPs as below:

  1. xxx.xxx.51.20 (Main Ip)
  2. xxx.xxx.198.104
  3. xxx.xxx.198.105
  4. xxx.xxx.198.106
  5. xxx.xxx.198.107

I want to hosts several KVM VM inside this server and assign some of the VM a public IP from the host, or simply imagine creating several Virtual Private Servers (VPS) with each having Public IP.

If I am not wron ...

Score: 0
3088 K avatar
Does the ubuntu 22.04 use the fast installation algorithm, like 20.04?
au flag

Compared to Ubuntu 18.04, it takes less time to install Ubuntu 20.04 due to new compression algorithms.

I wander weather 22.04 still use the same algorithm. I couldn't find any post explaining this.

Score: 1
stackbiz avatar
How to find out the program from iptables log
bw flag

Testing the ping on ubuntu 22.04:

Host A IPv6: 1111:1111:1111:1111:1111:1111:1111:1111
Host B IPv6: 2222:2222:2222:2222:2222:2222:2222:2222

Host A:

Now execute a ping from Host A with the following bash command:

root@host_a:~# ping -6 2222:2222:2222:2222:2222:2222:2222:2222

Host B:

The iptables dropped some packets and log it to the file:

Dec 7 18:21:52 host_b kernel: [ 988.996335] dropped ou ...

Score: 0
Amirhossein eidy avatar
Jfrog artifactory gpg key error
bj flag

I have a remote repository in jfrog artifactory that is connected to internet and downloads my apt ubuntu packages with address of 192.168.102.52:8082/apt I have added deb [trusted=yes] http://192.168.102.52:8082/artifactory/apt trusty main to my /etc/apt/sources.list and it get connected

but I get an error about gpg key when I type apt-get update: W: GPG error: http://192.168.102.52:8082/artifactory/apt

Score: 0
Alien avatar
How to detect if device is charging via command line?
jp flag

I'm using ubuntu 20.04 how do I know if a device is plugged into AC?

Is there a command built in?

Score: 0
eDonkey avatar
Temporarily add multiple ip addresses to interface in 22.04
ss flag

I need to temporarily, dynamically add and remove ip addresses from the netplan.conf (/etc/netplan/myNetplanConfig.conf).

In earlier versions the ip command could be used to temporarily add ip addresses to an interface, but I can't seem to find a replacement for it in Ubuntu 22.04 and I can't find any information on it in man netplan or in the netplan documentation.

I've thought about generating t ...

Score: 0
ManoTech avatar
How to copy a file from remote to local (from within remote)?
gr flag

I have a linux VM, and I want to copy files from the VM to my local machine (Windows). I realize that it is possible with scp running in a local MobaXterm terminal (for example) to do that. But is there any way to do that from within the VM? Use case: I want to write a script that runs in the VM and copies some files to my local machine.

Thanks in advance

Score: 0
vss avatar
How do I read Power statistics graph? Laptop switches off around 60%. New battery required?
cn flag
vss

My laptop over the last week automatically turns off around 60% charge, without any warnings. Is this a software problem or do I need a battery replacement? (Had been using this Ubuntu version(22.04) for a few months without any problem earlier) I checked Power Statistics but I do not understand the graphs.

I am using Ubuntu 22 on HP Pavilion i7, 7th gen.

Power statistics one week rate history

Power statistics one week Time to Empty History

Power Statistics Statistics

Score: 0
lordZ3d avatar
Updated Chrome and now ubuntu freezes
ve flag

This morning Software centered launched and required some updates (nothing unusual there) but it updated Chrome to version 108 and now when i launch chrome Ubuntu completely freezes (pc needs a hard restart).

I've "solved" the issue by downgrading Chrome to stable 104 but that's not really a solution. Any ideas why this issue is happening or how I can troubleshoot it?

Ubuntu 20.04 lts

Score: 0
Simone avatar
QCA9565 / AR9565 Wireless Network Adapter ASUS vivomini un62
sn flag

I've installed ubuntu server on my asus vivomini un62, after i've installed also gnome with tasksel. The wifi is working but if i go into the settings i can't see anything for the wifi.screen screen2

As you can see from the screenshot from the GUI i can't see anything.

 lspci -knn |grep -i -A2 net 
03:00.0 Ethernet controller [0200]: Realtek Semiconductor Co., Ltd. RTL8111/8168/8411 PCI Express Gi ...
Score: 4
Artur Meinild avatar
How can I correctly calculate the sum of memory used by all processes?
vn flag

There recently was a couple of questions asking why Ubuntu is seemingly using more memory than accounted for by processes/services - here and here.

However, I have the exact opposite situation. On my server, the memory used by all processes seems to be higher than the total memory used. Let me provide the evidence.

Output of free -m:

               total        used        free      shared  buff/cache   a ...
Score: 0
Ali Dehkhodaei avatar
Identify Onboard USB3 in Ubuntu 22.04
pa flag

I have a P61A-D3 gigabyte motherboard with just 2 onboard USB3 ports. But they don't work and when I connect a USB memory, mouse or ... computer doesn't identify them.
Also in the USB setting, there isn't any usb3 root hub.
what should I do?

I had this problem with windows 10 and after I installed the driver, I could use ports, should I install anything like a driver in ubuntu 22.04 LTS?

When i c ...

Score: 0
Luiz Carlos avatar
How to disable specific pci communication controller intel me
hm flag

How to avoid/disable intel ME communication controller very very early... I tried udev with no success...

After i ran: sudo dmesg |grep -i 0000:00:16.0

I am still getting:

pci 0000:00:16.0: [8086:a360] type 00 class 0x078000

pci 0000:00:16.0: reg 0x10: [mem 0xed5a8000-0xed5a8fff 64bit]

pci 0000:00:16.0: PME# supported from D3hot
Score: 0
Alex16 avatar
Attempting to create partition in parted gives Error: Can't have the end before the start!
cn flag

This is a server without a GUI and I need to create a partition with the command line.

Here is the output of fdisk to show the disk structure:

Disk /dev/sdd: 447.13 GiB, 480103981056 bytes, 937703088 sectors
Disk model: SAMSUNG MZ7LM480
Units: sectors of 1 * 512 = 512 bytes
Sector size (logical/physical): 512 bytes / 512 bytes
I/O size (minimum/optimal): 512 bytes / 512 bytes
Disklabel type: gpt
Di ...
Score: 0
jeseem avatar
Can't install Jenkins in Ubuntu
eg flag
 jenkins.service - Jenkins Continuous Integration Server
     Loaded: loaded (/lib/systemd/system/jenkins.service; enabled; vendor preset: enabled)
     Active: activating (auto-restart) (Result: exit-code) since Wed 2022-12-07 13:51:44 IST; 20ms ago
    Process: 8229 ExecStart=/usr/bin/jenkins (code=exited, status=1/FAILURE)
   Main PID: 8229 (code=exited, status=1/FAILURE)
        CPU: 37ms
dpkg: error  ...

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.