Latest Ubuntu related questions

Score: 0
Rushi Kaneria avatar
Grub Rescue Error. I can boot but need to enter commands again and again
gy flag

When I installed Ubuntu I had only windows. So I had the GRUB MENU showing all the options. Now recently I thought of downloading POP_OS! but after downloading I found that I cannot get the Grub Menu. It just loaded POP_OS/1 directly. After pressing SHIFT key I got the MENU but there were options for POP_OS! only. I had Ubuntu live disk so I loaded from the usb and deleted the partition of the POP_OS ...

Score: 0
kill process without inputting password
ru flag

EDIT
I ran the following:

$ echo $USER
goldy
$ hostname
goldy-ThinkPad-X1-Carbon-6th

$ sudo visudo -f /etc/sudoers.d/kill and added goldy goldy-ThinkPad-X1-Carbon-6th = (root) NOPASSWD: /bin/kill

And tried rebooting. Still what I run kill I'm asked for a password.

Tho I notice this:

$ sudo cat /etc/sudoers | grep includedir 
#includedir /etc/sudoers.d

I didn't want to remove # without being sure I'm no ...

Score: 0
Ali Ebadi avatar
Socks5 3 proxy problem
de flag

So I Have 2 servers that run Ubuntu 20.4

One of them I can easily make socks5 proxy without any problem.

The other one I can't, even if I allow ports in the firewall with ufw allow [port], I use 3proxy that works great on the other server.

I check proxies with Proxy checker (Proxifier) checker error:

[19:33] Starting: Test 1: Connection to the Proxy Server
[19:33] IP Address: my IP
[19:33] Connection est ...
Score: 2
Trying to understand errors from tpm2-tools
vn flag

I'm trying to follow this tutorial but I'm using Ubuntu 21.04: https://run.tournament.org.il/ubuntu-20-04-and-tpm2-encrypted-system-disk/

When I run the second command:

sudo tpm2_nvdefine -s 64 0x1500016

I get the error:

WARNING:esys:src/tss2-esys/api/Esys_NV_DefineSpace.c:337:Esys_NV_DefineSpace_Finish() Received TPM Error 
ERROR:esys:src/tss2-esys/api/Esys_NV_DefineSpace.c:122:Esys_NV_DefineSpace() Es ...
Score: 2
Jaquarh avatar
I am seeing something strange running the w command and need help understanding it
cn flag

So I was checking around the server after a while of not looking on it and ran the w command:

 01:10:46 up 11 days,  2:53,  2 users,  load average: 0.00, 0.05, 0.05
USER     TTY      FROM             LOGIN@   IDLE   JCPU   PCPU WHAT
root     tty1     -                Tue21    2days  0.74s  0.60s -bash
root     pts/0    86.x.xxx.xx      22:18    0.00s  0.28s  0.00s w

I should be the only one on the  ...

Score: 0
Josef Řehák avatar
Ubuntu 20.04, autolock without blank screen
cn flag

Im struggeling to set up Ubuntu 20.04 to autolock screen after some delay, but without having a blank screen.

It seems like start locking timer requires to trigger from blank screen timer before and i cant get a rid of it.

Is there any solution?

Score: 1
DrHell avatar
Unable to locate emscripten
in flag

I know, it's plenty of similar questions, yet...

I want to try emscripten, just out of curiosity, to see if it makes C++ a viable alternative/complement to JavaScript/TypeScript in a webapp.

Trying to install it, this is the result:

   sudo apt-get install emscripten
   Reading package lists... Done
   Building dependency tree       
   Reading state information... Done
   E: Unable to locate package ems ...
Score: 0
Davyd avatar
PC Shutdowns when playing games with wine
at flag

Whenever I play/run games with wine, my pc shuts down, and when I start it up again it shuts down again. ¿what can I do?

Score: 0
How do I get the words I copied yesterday in ubuntu
in flag

I use copyQ to capture the words I copy and paste into ubuntu, but I'm trying to find a word I copied and pasted yesterday but I can't find it in the copyQ interface, is there a way to capture everything I copied and pasted yesterday?

Score: 0
Ubuntu 20.04 wifi not available
in flag

My wifi adapter seems to have randomly dropped off with the last update. Has anyone else experienced this/know how it might be fixed?

Score: 1
biyinan221 avatar
SSH won't ask me for password AND then 2FA OTP (QR)
ht flag

I've being trying to set up my first ever (minimal?) Ubuntu 20 VPS and I have reached a learning point where I can secure and tune control for other users. I have being trying so far to setup 2FA from google with the QR code. But I don't want to create public keys for every computer that I will have to connect to the vps and just scan the QR code to login. libpam-google-authenticator (OTP for android ...

Score: 1
kurtadsheh avatar
can't sign in to newly created account
in flag

I have created a new account to change my username. I have used the following to create the account sudo useradd -c "other" other and then sudo passwd other then I put my new account in the sudoers using visudo to be able to use the sudo command.

When I logged out of my main account to log in to the other account, after I put my password it reloads the login page to select an account.

I am able to lo ...

Score: 0
Doug avatar
MaaS: Problems with enlisting nodes
bw flag

I recently started using MaaS 3.0.0 (up from 2.4). I was able to enlist, commission, and deploy nodes up until today when I started getting the following when I tried to enlist some nodes:

Can not apply stage config, no datasource found! Likely bad things to come!

I eventually traced it down to the enlist-preseed URL (http://x.x.x.1:5240/MAAS/metadata/latest/enlist-preseed/?op=get_enlist_preseed) ...

Score: 3
tombert avatar
Ubuntu Focal Server with Desktop
gb flag

I used a Focal Server Image and then installed:

apt-get install --yes --no-install-recommends ubuntu-unity-desktop ttf-ubuntu-font-family gnome-shell-extensions

but the desktop still looks different to the original desktop from the desktop version. I then tried several packages like gnome-shell-extension-desktop-icons but without success.

Does someone know what exactly needs to be done to get the same ic ...

Score: 0
grep date from 2nd line of a text file
ng flag

I have text file named (document_determinationv1.txt). This text file contains two lines which is mentioned below. I want to get the date(20210805) from the second line and want to store in a variable using shell script commands. I am new to Linux. Thanks in advance.

[DOCUMENT_DETERMINATION]
#REVISION:v1;DATE:20210805

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.