Latest Ubuntu related questions

Score: 0
Benjamin Knodel avatar
Are kernel modules (in this case: NVM Express) capable of completely disabling devices in bios on BMC-based systems, so that they seem to be vanished?
sz flag

I am having an argument with one of our suppliers about a "vanished" NVMe.

Server has two NVMe, running with in raid-1 via mdadm.

syslog:

Nov 20 01:31:21 server kernel: [4638997.424557] md/raid1:md0: Disk failure on nvme1n1p1, disabling device.
Nov 20 01:31:21 server kernel: [4638997.424557] md/raid1:md0: Operation continuing on 1 devices.
Nov 20 01:31:21 server udisksd[2123]: Unable to resolve /sys/devi ...
Score: 0
amit avatar
Unable to connect dual/second/external monitor on ubuntu 20.04 with KDE plasma desktop (Dell precision 7770 system)?
sl flag

I was unable to connect a second monitor to my Dell laptop with Kubuntu (Ubuntu 20.04 + KDE).

Solution: I downgraded the driver from 520 to 515, then restarted. Please tune the external monitor's refresh rate and resolution, if it blinks.

Click here to see the setup image

Cheers.

Score: 0
Milano avatar
GUI suddenly slow - GPU utilization 100% - what to do?
be flag

Sometimes my Ubuntu 22.04 gets noticeably slower. I can see the cursor is moving slower, hovering over icons takes a second or two etc...

I checked all the possible causes that I can think of:

  1. CPU load is small
  2. 30GB RAM is free
  3. Disk load almost 0%
  4. NVIDIA Settings shows GPU Utilization 100%

I guess that's the issue (4).

top output:

enter image description here

Right now as I'm writing this, only Intellij Ide / PyCharm is r ...

Score: 0
Tomanecs avatar
Ubunto GUI on Dell Inspiron 660 not working
cr flag

I am new to Linux and just installed Ubuntu on an old dell inspiron 660 it has i5-3340 processer and the graphics, and network interface are integrated in the mother board. all the online examples of install show some sort of gui, but my install did not have that. just straight up terminal screen. Doing some onlilne searches I found gnome is the default. correct me if I misunderstood. In trying to g ...

Score: 0
Remove a list of manually marked packages skipping those on which a package outside of this list depends
US flag

I've a file called installs.txt which is a list of package names one-per-line. I would like to remove as many of those packages as possible without removing any package that's not mentioned in that file.

If I do,

apt remove `cat installs.txt`

APT tells me that a bunch of other packages will be removed as well since they depend on some of the packages requested for removal.

apt autoremove will not

Score: 0
sudo avatar
Exit from bash script while it's running
mn flag

How can I exit a bash script without interrupting its running state? Say that I've launched the bash script and then realized that it's going to run longer than I initially thought, so I want to leave it in the background and do other stuff.

There are options like:

  • CTRL-C -> Doesn't work, because I want the script to run in the background.
  • exit 0/1 -> Doesn't work, because I have to edit the script ...
Score: 0
Mahdi Hasan avatar
How to install Gnome for Ubuntu 22.04.1 on WSL2 on Windows 11 with built-in Systemd support?
ng flag

I've installed Ubuntu 22.04.1 from the Microsoft Store on WSL2 on my Windows 11 machine which now supports Systemd, and I'm trying to install Gnome. All the instructions I've found show how to install Gnome by enabling Systemd. I'm looking for instructions like this based on Gnome which doesn't require enabling Systemd.

Score: 0
TANJIRO KAMADO avatar
Can't simulate key presses in python
tj flag

I am using python to simulate key presses, the Pyautogui library is working fine for windows, but When I use it for linux, It only executes in the IDE in which it is running not other applications, how to fix this problem?

Here is my code:

import pyautogui #pip install pyautogui
import time

time.sleep(1)

pyautogui.keyDown('w') #press W key
Score: 0
Manjunath Swamy avatar
Software Package Installation in Ubuntu 20.04
nu flag

We have developed our in house billing software which support both Ubuntu and Windows. We need to install this billing software for 2000 Ubuntu desktop system. I need to install Mongodb, NodeJS, ReactJS ,python and certain bunch of batch files to run our billing software. I need the help how to install this software through package.

Score: 0
Ingolf007 avatar
8K Resolution works only in 30 Hz - How change clock Resolution
nr flag

I have a question. I use my Computer at a Samsung 8k Television. I use Dual-Boot. In Windows 8k with 60 Hz on HDMI-2.1 is no Problem. In Ubuntu 22.04 with Nvidia 510 driver it is only possible to use 30 Hz at 8k resolution. The command "xrandr -q" shows me only 8k at 29.997 Hz Resolution. Can anybody explain me, who to add the 8k - 60 Hz resolution in Ubuntu 22.04 to the screes settings. (I use the Nvid ...

Score: 0
raimannma avatar
How to control my Laptop camera cover?
pa flag

I am running Ubuntu 20.04 on my new laptop.

The laptop has a camera cover for privacy. The Cover can be controlled with Fn+F10 in Windows, but when running Ubuntu I can't control that cover.

I tried to get information about that with: v4l2-ctl -d /dev/video0 --all But that gives me this, and I don't see any control for the cover:

Driver Info:
      Driver name      : uvcvideo
    â ...
Score: 1
zweiHuehner avatar
Why do the windows on the secondary monitor dissapear when I change workspace on the primary one?
us flag

I use Ubuntu 22.04 with Wayland and intel graphics.

When I connect a secondary screen and choose "Workspaces on primary display only" I encounter an annoying behavior. When I have windows open on the secondary screen and change the workspace on the primary screen, the windows on the secondary monitor disappear (including the home folder icon).

The windows can only be recovered by switching back to t ...

Score: 1
Arjun Tripathi avatar
Why my ubuntu 22.04 only charge my phone when it connect with usb?
ma flag

When i connect my android phone with usb to my ubuntu 22.04 laptop it charge my phone only not showing option of transfer file in my phone.

Score: 0
Lev Slinsen avatar
22.04: language indicator doesn't represent currently selected language
sg flag

I have 3 languages in my system. The language icon in the top right corner should represent the currently selected one. Instead, it keeps being "EN" despite me switching the language; and the layout language actually switches, I just can't tell which it is based on the menu icon.

Score: 4
Screen recorder now only records 1-2s of motion, rest is static, in Ubuntu 22.04.1LTS
bt flag

The built-in screen recorder used to be solid! But at some point over the last few months it's become really unreliable; I don't know what changed.

I'm on Wayland, which is singularly responsible for most of my Ubuntu woes, but it did previously work. Which was amazing because pretty much every other screenshot/screencapture app has given up on wayland.

Two things seem to be noticably weird:

  1. no errors;  ...

Score: 0
xRef avatar
Setup additional interface
in flag

I have a dedicated server with Ubuntu Server 18.04. I need an additional IP-address so I leased a cheap VDS, then I've setup pptpd on VDS and pptp on dedicated server. Then I configured a VPN-connection on both machines. Then I've setup a static local IP-address for my dedicated server as a PPTP-client. Local IP-address of PPTP-server is 192.168.0.1, local IP-address of PPTP-client is 192.168.0.10 ...

Score: 0
ali alhasan avatar
Stuck in Emergency mode after update
mk flag

my system is stuck in Emergency mode and giving me this error, i have Ubuntu on ssd drive and windows on hdd drive. enter image description here

Score: 0
centurian avatar
How to install Kazam 1.5.3 in Ubuntu 22.04?
tr flag

My version is Kazam 1.4.5.

I tried this link to update but I can't add ppa to my sources list due to this error:

E: The repository 'https://ppa.launchpadcontent.net/sylvain-pineau/kazam/ubuntu jammy Release' does not have a Release file.
N: Updating from such a repository can't be done securely, and is therefore disabled by default.
N: See apt-secure(8) manpage for repository creation and user conf ...
Score: 0
jifitailu avatar
access drive owned by windows in linux
mp flag

I dual boot windows and linux, one one drive I have linux and in the other I split it in to two partitions one for windows and other for games, I intend to use windows just to play games on since linux dose not support games I like to play, I want to have the partition for games be shared between the two systems, I can mount the partition no problem but when I what to delete or make files I don't have p ...

Score: 1
galleon avatar
chkrootkit says "grep --color=auto INFECTED," what should I do?
um flag

I just installed and ran chkrootkit for the first time and when I ran sudo chkrootkit | grep INFECTED, it returned ![user] 21342 pts/0 grep --color=auto INFECTED

I'm a complete novice at this and have no idea what that means or what I should do. Any explanation or help would be very welcome!

My OS is Ubuntu 22.04.1 (Jammy) and as far as I know everything's up to date. I have dual boot with Windows 10 b ...

Score: 1
ygini avatar
sssd do not use corporate domain in PTR record when deployed with vSphere
US flag

We have a workflow that deploy Ubuntu 20.04.5 LTS in vSphere VM with automatic AD integration using the following commands:

#!/bin/bash
if [ x$1 == x"precustomization" ]; then
    rm -v /home/sysadmin/.bash_history /root/.bash_history
    rm -v /etc/ssh/ssh_host_*
    dpkg-reconfigure openssh-server
elif [ x$1 == x"postcustomization" ]; then
    echo "P@ssw0rd" | realm join --user "svc.vm.enroll" - ...
Score: 2
shravan avatar
mke2fs command creating a ext2 FS on a partition when -t type option is set to ext4
cn flag

I ran the following command on a newly created partition

 mke2fs -v -t ext4 -i 32768 -b 4096 -O 'extents,^has_journal,dir_index,flex_bg' -I 128 -G 64 /dev/sdf1

Post this when i check the details using parted command i see its a ext2 File system

parted /dev/sdf print
Model: ATA ST2000NM0033-9ZM (scsi)
Disk /dev/sdf: 2000GB
Sector size (logical/physical): 512B/512B
Partition Table: msdos
Disk Flags ...
Score: 0
how to get internet on qemu + cloudimg?
cn flag

trying to run a cloudimg in qemu, and i haven't found a way to get internet access, help? i've set up the cloudimg with

wget 'https://cloud-images.ubuntu.com/jammy/current/jammy-server-cloudimg-amd64-disk-kvm.img';
mkdir -p ./mnt;
sudo guestmount -a jammy-server-cloudimg-amd64-disk-kvm.img -i --rw ./mnt;
sudo chroot ./mnt /bin/passwd --delete root;
sudo umount mnt;

and i'm starting qemu with

sud ...
Score: 2
codeKiller avatar
bluetooth music choppy and cuts
um flag

Running Ubuntu 22.04.

No LSB modules are available.
Distributor ID: Ubuntu
Description:    Ubuntu 22.04.1 LTS
Release:    22.04
Codename:   jammy

Using device Sony WF-1000XM4, device is paired and connected without any problem, but when music starts it gets micro cuts, it is choppy and even sometimes sound quality falls. The BT device works without problems with other mobile phones and laptops, so I g ...

Score: 1
Mahesh Avula avatar
Coudn't able to read data from USB CDC-ACM port using cat command on ubuntu20.04 version
ir flag

I was working on USB2.0 version and i was given support for USB device as CDC-ACM and it's working fine when I read data from USB serial port as CDC-ACM using cat command(cat /dev/ttyACM0) on ubuntu version 18.04, but same thing if i read data on ubuntu version 20.04 couldn't able to see any data on serial port as /dev/ttyACM0.

But, When i read data through minicom rather than reading data using  ...

Score: 0
Roei Nahmany avatar
Ubuntu cant turn on dev/sda2 and also diamonds
re flag

When I boot the computer it says:

/dev/sda2 contains file system with errors

And when I try to type, I see white diamonds instead of characters:

IMAGE OF THE PROBLEM

How can I fix this?

Score: 0
kais laila avatar
cuda version 8.0 on ubuntu 20.04
sj flag

im trying to install cuda version 8. on ubuntu 20.04 nevertheless i have some difficulties to install it correctly is there any manual to help to install oldest version of cuda on ubuntu 20.04 many thanks in advance

Score: 0
Emil Memmedzade avatar
Error C++ compiling Ubuntu 20.04 LTS
kr flag
c++: error: unrecognized command line option ‘-GR’; did you mean ‘-R’?
c++: error: unrecognized command line option ‘-EHsc’
c++: error: unrecognized command line option ‘-Zm200’
c++: error: unrecognized command line option ‘-nologo’
c++: error: unrecognized command line option ‘-std:c++17’; did you mean ‘-std=c++17’?

From Comments:


c++: error: unrecognized command lin ...
Score: 0
Thinkpad and Wayland: Disable trackpoint cursor but preserve buttons
in flag

Similar to How do i turn off the trackpoint within wayland?, I'd like to disable the trackpoint functionality on my Thinkpad under Wayland. HOWEVER I want to keep the buttons enabled. Basically I just want to turn off the "move the cursor" part, not the whole "mouse"/"input" part. Can this be done?

Score: 0
Sandeep Acharya avatar
Cannot boot Ubuntu 22.04
sa flag

Suddenly Google chrome stopped working and when running again from terminal threw some Process Singleton error. It'd been days since I last restarted my laptop. So I restarted it only to find the following error message.

My laptop is Dell Inspiron 3443 with a SSD and HDD dual booted with windows 10 and Ubuntu both boot files in SSD and some HDD space allocated for both

Error Image 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.