Latest Ubuntu related questions

Score: 0
Grub error not an assignment
ca flag

I have an Ubuntu 20.04 on a desktop with 1 hard disk. For the last 2 or 3 months, the boot has slowed down and during bootup, there is an "error: not an assignment" message that flashes and disappears. I checked the questions in this forum from the past, and have checked the syntax of the /etc/grub.d/default file.. it is a very standard file and i don't see any syntax changes.. I have also downloaded gr ...

Score: 0
Vinod Suthar avatar
Cloud-init doesn't run as first boot for instance launched from an AMI created from another instance
ru flag

We configure AWS EC2 instances (Ubuntu 20.04) with cloud-init using user-data scripts. We're noticing the user-data scripts don't execute if they are run on instance which is launched from a custom AMI created from another launched instance.

We create an intermediate AMI which has common tools & frameworks and reuse it for specific needs -

  1. First, we launch an instance from a published AMI. The user- ...
Score: 2
Ubuntu 20.04 wakes up to pixelated static screen
us flag

Issue:
When I wake up my computer after suspending it, I can only see a pixelated static screen. I cannot go further from this screen, so I always end up rebooting the computer. This issue only happens after sleep, never after reboot or when turning on the computer.

System:
Model: ThinkPad E14 Gen 2 (14”) AMD Laptop
Processor: AMD® Ryzen 5 4500u with radeon graphics × 6
Graphics: AMD® Renoir
OS: ...

Score: 0
Jiří Nový avatar
Fan speed 0 after upddate from ubuntu 21.04 to 21.10
br flag

I update ubuntu from 21.04 to 21.10, and then not working laptop fan (Lenovo P15s gen 2). Laptop is very hot, but fan not started. Any idea, what i must repair, instal or update?

Score: 0
Closed ports in ubuntu server 20.04
za flag

I have a Ubuntu server 20.04 machine with 2 ethernet interfaces (and I use it also as a router). A made some ufw rules to open some ports, but... they open only on the internal interface (enp4s0), and not on an external one (enp3s0)?!?!

Even when I disable the ufw and did not load iptables rules it is the same. I use ssh on a specific port 2096, I can connect from internal network, but can not co ...

Score: 0
colide avatar
Can't install KDE destop on ubuntu 20.04 WSL
in flag

I am using Ubuntu 20.04 just installed from Microsoft Store in Windows 11.

I ran this command:

sudo apt install kde-full

default display manager selection in dialog, sddm and gdm3 available

After a long time installing, I clicked the sddm option as the tutorial said. But instead of the pretty interface of KDE, I can only see the simple black frame as before. As if nothing happened.

I don't know how to try to launch the KDE that is seemingly installed.

What can I do  ...

Score: 0
echo command breaks lines, being used in loops
br flag

In my file 'foo' there is a first line: 'a b', and the second line: 'c d':

$ cat foo
a b 
c d

I want to print in terminal in loop these two lines: one after another:

$ for i in $(cat foo); do echo $i; done

But in the output 'echo' command breaks the order, so instead of having:

a b
c d

I actually have:

a
b
c
d
Score: 0
Sugam Karki avatar
How to install Canon LBP6000 in Ubuntu 20.04?
de flag

I have tried most of the tutorials but none of those work. I can see my printer on CUPS and on Printers but am unable to print. Can someone guide me in the right direction?

Score: 0
MojixCoder avatar
Error on apt-get update
us flag

When I run sudo apt-get update I get these errors:

E: The repository 'http://old-releases.ubuntu.com/ubuntu focal 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 configuration details.
E: The repository 'http://old-releases.ubuntu.com/ubuntu focal-updates Re ...
Score: 0
Zinix avatar
Custom login screen with screenfetch and glances
us flag

I have a home Ubuntu server installation with Lubuntu desktop (sddm display manager), and I would like to make a custom login screen that shows:

  • The prompt to log in with the user on the left
  • 2 terminal applications on the right:
    • glances
    • screenfetch

I imagine it like this:

image.

Is it possible to add terminal applications to the sddm login screen, and if so, any guidance on how?

Score: 0
AlexSwamp avatar
I want to multi DHCP server
in flag

I want to use multiple subnet with multi interfaces.

-> trunk.102 10.20.1.0/24
-> trunk.103 10.30.1.0/24

... etc

Does it works well or need more something? How can i order to trunk.102 use 10.20.1.0/24 subnet or trunk.103 use 10.30.1.0/24 subnet?

/etc/dhcp/dhcpd.conf:

default-lease-time 600;
max-lease-time 7200;
ddns-update-style none;
authoritative;

#trunk.102
subnet 10.20.1.0 netmask 25 ...
Score: 0
John Roberts avatar
Cron not running a command properly
de flag

I have HP ProLiant Utilities installed on my Ubuntu Server. Using the following shell command I am able to save the output of the RAID status to a log file:

sudo ssacli ctrl all show config > /var/logs/raid.log

I then tried to create a cron job so that on a daily basis the log file is overwritten with the status. My cron job looks like this:

30 15 * * * ssacli ctrl all show config > /var/lo ...

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.