Latest Ubuntu related questions

Score: 0
W Lewis avatar
Cannot enable ssh service on Ubuntu 20.04
td flag

I am trying to remote connet my desktop(Ubuntu 20.04.2 LTS) via MacBook. But my request is rejected. So I check my ssh status on Ubuntu.

sightvanish@SVPC:~$ sudo systemctl status ssh
● ssh.service - OpenBSD Secure Shell server
     Loaded: loaded (/lib/systemd/system/ssh.service; disabled; vendor preset: enabled)
     Active: inactive (dead)
       Docs: man:sshd(8)
             man:sshd_config(5 ...
Score: 3
RrR- avatar
Laptop freezing after Ubuntu kernel 5.11.0-34-generic
de flag

I have a Lenovo Thinkpad X1 Carbon 7th gen with Ubuntu 20.04 installed. The current kernel version installed is 5.11.0-34-generic. Few days ago, my laptop froze completely and after a forced shutdown the laptop was stuck at the Ubuntu logo. This didn't get solved no matter how many times I force restarted the laptop.

Later I enabled Secure Boot and was able to login without freezing. But now my CPU core ...

Score: 0
Leandro Mana avatar
Reading Files with LOOP in Bash Script?
ad flag

I hope someone can explain to me what's happening in this situation and how to solve it.

I am trying a simple thing: to read each row from a text file with loop.

This is the text file content that I am working on:

aaaa   aaaa a aa
bb bbbbb bbbbb    b
cccccccc          c                              c      c

NOTE: This is a simple file, just to test the concept. The main text file I am working have ar ...

Score: 1
Having Trouble running VS Code and Chrome Simultaneously
id flag

I'm having trouble running Chrome and VS Code simultaneously.

I am running 20.04.3 LTS on Oracle VM Virtualbox.

I have allocated 1 CPU out of 4, 8GB of RAM out of 16, and 64MB of video memory out of 128.

Chrome is up to date and so is VS Code.

Currently I am trying to get through The Odin Project and constantly switching between Chrome and VS Code. After a few minutes of doing this they both visually star ...

Score: 1
Why turning off kwin compositor fixed my different refresh rates problem?
cn flag

Kubuntu X11 (I think) x64 RTX 2080 i9 9900k.

So I have 3 monitors @ 60hz and 1 @ 240hz, Everyone 1080p.

I always had the problem that the refresh rate was limited by the most weak monitor, this is 60hz in the 240hz monitor.

I found in a forum that if I turn off kwin this could be resolved.

So I have some questions.

What is KWin compositor and why turning off with shift+alt+F12 fixed my desktop diff ...

Score: 1
川田侑彌 avatar
ubuntu20.04 does not recognize my built-in webcam
bd flag

How do I install the webcam driver? Also my pc responds like this.

lsusb
Bus 002 Device 001: ID 1d6b:0003 Linux Foundation 3.0 root hub
Bus 001 Device 005: ID 27c6:55b4 Shenzhen Goodix Technology Co.,Ltd. Fingerprint Reader
Bus 001 Device 006: ID 8087:0aaa Intel Corp. 
Bus 001 Device 001: ID 1d6b:0002 Linux Foundation 2.0 root hub
lsusb -t
/:  Bus 02.Port 1: Dev 1, Class=root_hub, Driver=xhci_hcd/6p, 10 ...
Score: -1
nl34 avatar
How do I write a bash script that prints every line of one file also in second file
us flag

for example, I have 2 text files :

file1 consists of:

a 
b

file2 consists of:

a
ab
bc 
c 

output should be:

$p1.sh file1 file2 
a
ab
bc

how exactly would I code this in Linux?

Score: 0
how to remove python package installed by distutils
in flag

When trying to install the TensorFlow Python package on Ubuntu 20.04, the install script failed because it couldn't remove the existing Python package 'wrapt'. Error msg said the reason was it was installed by distutils, and couldn't determine its components to remove.

I tried sudo pip3 uninstall wrapt, and got the same error message.

How can I remove the wrapt package?

Score: 0
Jesús Hernández avatar
The “.” it is written without me pressing it
tr flag

I don't know why it happens but the (.) is written in any application without me doing something

I do not think it is my keyboard because in windows this did not happen to me and with an application that shows me on the screen the keys that I operate the (.) button does not appear as if it were activated

.................................................. ............................................. ...

Score: 0
Juan Esteban Naranjo avatar
Ubuntu release update packages
pk flag

How often does Ubuntu release update packages, is there a procedure or stipulated time to release these updates? My question is focused on if the manufacturer (Ubuntu) has any policy to release updates or if updates are generated as required and there are no defined times for them.

How do users find out about the updates released by the manufacturer? are there newsletters? or is there a rule that ...

Score: 0
Disk Backup with both Linux and Windows Partitions
in flag

If I make a backup of my entire disk, which has both Ubuntu and Windows partitions (i.e. dual boot) using the Gnome Disk Utility (or eventually other utility), will I be able to restore both OSes? Are there any particular caveats I should be aware of? Otherwise, should I just backup the Linux partitions (I am more concerned with these than the Windows one)?

Score: 1
sarabi avatar
Ubuntu 20.04 - No wifi adapter found (DELL Precision 7760)
cn flag

I have been tested all the solutions that I could found online so far, non of them worked for me. The laptop connects to the wired internet but not wifi.

Laptop info:

saeed@saeed-Precision-7760:~$ uname -r
5.11.0-34-generic
saeed@saeed-Precision-7760:~$ sudo lshw -short
H/W path       Device          Class          Description
=========================================================
                ...
Score: 0
ralvento avatar
Sound not working when used by a normal user and the root user
in flag

I'm not able to play a sound as a normal user and as root user at the same time. Example:

  • I launch Firefox on Youtube to play a video: it works, I can hear the sound of the video.
  • While the video is playing, I launch my audio player as root (sudo) and I get the following error:

AL lib: (EE) ALCplaybackAlsa_open: Could not open playback device 'default': Device or resource busy

I'm able to repr ...

Score: 0
teUnable to mount NTFS partition
gm flag

I have an SSD with Windows 10 installed. I have been able to mount the partition in the past.

However, now, when I mount the partition with Windows on it, I get an error message complaining about a wrong file system type.

I have already disabled fast startup. I am using Ubuntu bionic. The output when I tried ntfsfix:

sudo ntfsfix /dev/nvme0

Mounting volume... Error reading bootsector: Invalid argument ...

Score: 1
WiFi "device not ready" but `iwlist scan` works
fr flag

Running Ubuntu 20.04 on a ASUS ZenBook.

I installed the routine system updates and suddenly the WiFi dropdown says "device not ready". Strangely though, if I run iwlist wlan0 scan it correctly lists available WiFi networks.

A bit of info:

sudo lshw -C network
  *-network                 
       description: Wireless interface
       product: Cannon Point-LP CNVi [Wireless-AC]
       vendor: Intel Corp ...

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.