Latest Ubuntu related questions

Score: 0
art0rz avatar
Microphone stopped working after switching from NVIDIA to nouveau
ke flag

I was getting terrible performance from the proprietary NVIDIA drivers, so I switched to nouveau using software-properties-kde. Performance is much better, but my microphone stopped working.

It's a Realtek ALC256 sound card.

Output from lspci -v | grep Audio:

00:1f.3 Audio device: Intel Corporation Tiger Lake-LP Smart Sound Technology Audio Controller (rev 20) (prog-if 80)
    Subsystem: Lenovo Tiger  ...
Score: 1
Nameless avatar
How to add a specific path for FTP user home?
cn flag

I installed recently vsftpd and added a user called ftpuser. I created the /etc/vsftpd.conf file from scratch with the following info:

listen=YES
listen_ipv6=YES
anonymous_enable=NO
local_enable=YES
write_enable=YES
local_umask=022
dirmessage_enable=YES
use_localtime=YES
xferlog_enable=YES
connect_from_port_20=YES
chroot_local_user=YES
local_root=/mnt/md0
secure_chroot_dir=/mnt/md0
pam_service_name ...
Score: 0
Jhanvi avatar
Unable to install google chrome on Ubuntu
br flag

I've been trying to install .deb chrome file (google-chrome-stable_current_amd.64.deb) but unable to do. I only get the message saying that "It is not installable" and "Some packages could not be installed".

logs:

sudo apt install ./google-chrome-stable_current_amd.64.deb
Reading package lists... Done
Unsupported file ./google-chrome-stable_current_amd.64.deb given on commandline

Note, selecting 'google- ...

Score: 0
system won't boot into the kernel specfied in /boot
gb flag

On a machine with uEFI boot and ubuntu 21.04, I have a few kernels installed. I noticed that the system doesn't boot automatically into the kernel defined by the links in /boot (initrd.img -> initrd.img-5.11.0-25-generic vmlinuz -> vmlinuz-5.11.0-25-generic) :

$ ll /boot/
total 222012
drwxr-xr-x  5 root root     4096 Sep 20 11:47 ./
drwxr-xr-x 21 root root     4096 Sep 19 15:45 ../
-rw-r--r--  1  ...
Score: 1
lovelinux avatar
Cannot boot Xen: secureboot forbids loading multiboot2 module
ma flag

I've installed xen-hypervisor-4.11-amd64, now I wish to boot Xen.

I can't. When I choose corresponding entry from grub I receive following message:

Loading Xen 4.11-amd64    
error: Secure boot forbids loading module from .../grub/x86_64-efi/multiboot2.mod
Loading Linux ...
error: Secure boot forbids loading module from .../grub/x86_64-efi/multiboot2.mod
Loading initial ramdisk ...
error: Secure bo ...
Score: 0
Kracozebr avatar
NVIDIA-SMI has failed because it couldn't communicate with the NVIDIA driver. When having 2 gpu on the notebook
de flag

I'm trying to install nvidia drivers for my notebook Lenovo Legion. My GPU is NVIDIA GeForce RTX3060 and the last driver is 470. So I tried different ways to install the driver via downloading the driver (.run) from official NVIDIA site, from Software&Update, installing from terminal. But when try:

nvidia-smi

Got the error:

NVIDIA-SMI has failed because it couldn't communicate with the NVIDIA ...
Score: 0
tagsense avatar
Ubuntu 20.04 freezing on Dell Latitude 3410
tr flag

I have a Dell Latitude 3410 that contains 4-core Intel i7 processors, 16 GB RAM and integrated Intel graphics drivers. I have installed Ubuntu 20.04 LTS (with 5.4.0-84-generic kernel) on this machine. One thing I have noticed is that laptop is unable to wake up when it goes to sleep or suspend states. I have to reboot the machine to get it to work. Sometimes it hangs like with a black screen after 2 or  ...

Score: 0
Tan_R avatar
How to adjust sharpness and contrast in ubuntu?
in flag

I recently dual-booted my laptop with ubuntu 20.04.3, but the display colors are very sharp. I tried options like xrandr, redshift, xgamma etc, but none of them worked for adjusting the contrast and sharpness. Can anyone please suggest to me a better way to do it?

Score: 0
user6210457 avatar
Netconf Server Password Configuration
mx flag

I want to create a netconf server and client, by using yangcli. I use Ubuntu 20.04 LTS as a Windows Subsystem for Linux (WSL). I want to open two terminals on the same computer, one as server, the other as the client. I can create the netconf server, but when I want to connect to it by using yangcli it wants user, server and password as parameters. It wants password from me, but I didn't configure any p ...

Score: 4
Danny27 avatar
How to install .tar.gz lacking both ./configure and ./bin?
cn flag

I want to install Chaotica https://www.chaoticafractals.com/download on Ubuntu 20.04.2. It does not contain an installation instruction. There is a README, but it contains only license and thanks, nothing on installation or launching.

I've found several instructions for using tarballs with ./configure and make, but the unpacked folder does not contain a ./configure file. Then I found instructions u ...

Score: 0
mohammed jassem hlel avatar
Can't find the WebCam on VirtualBox Ubuntu
cn flag

I've tried to acces the webcam through virtual machine to stream the content of it to a Kinesis video stream in AWS as explained in this git repo : https://github.com/awslabs/amazon-kinesis-video-streams-producer-sdk-cpp But I can't the webcam. I did the following : I added the extension for the webcam

I'm not sure as to what is the problem ? do I need a USB camera to be able to access it through virtual ...

Score: 0
Faraz Durrani avatar
How to create a shortcut of a remote folder?
se flag

I have ubuntu-server running in VirtualBox. This VirtualBox is running on (L)ubuntu 20.04.

I want to create a shortcut for a folder present inside ubuntu-server within VirtualBox. I want to be able to access content of this folder from outside the virtual box (the host OS).

edit1: I was able to ssh into the folder via a GUI and also ssh-mount it using sshfs.

sshfs -p 3022 user@127.0.0.1:/var/www / ...
Score: 1
How to get if-up script run only when the cable is plugged?
cn flag

I'm using Ubuntu 18.04 in our embedded device. I followed https://netplan.io/faq by creating "/etc/networkd-dispatcher/routable.d/50-ifup-hooks":

#!/bin/sh

echo "Interface up"
# Do something

exit 0

When the network cable is plugged in the router, the script is called. The problem is, this script got called every 5 seconds after the cable connected. I'd like just "Do something" once the network cabled ...

Score: 0
Javad avatar
A slow parallel HTTP transfer of a large tar file between two machines ubuntu 20.04 server
de flag

I have 2 servers Ubuntu 20.04 server, running a service to transfer large tar files via HTTP (5 parallel) between server A to server B. Transfer rates sometimes dropped from x GiB/s to x MiB/s and a reboot was necessary to restore normal operation.

The network bandwidth is 25 GiB/s.

Normal State after reboot :

root@syd-7h1208-036:~# iperf3 -c xxx.xxx.6.50 
Connecting to host xxx.xxx.6.50, port 5201 
 ...
Score: 0
TheCeylann avatar
How to delete shared folder in Ubuntu Samba
cn flag

I created 3-4 folder for sharing and now ı want to delete one of them, I deleted folder from smb.conf file but still I can use this folder. How I delete?

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.