Latest Ubuntu related questions

Score: 2
PabPabPab avatar
Open a GUI in a Docker container running on a headless machine
in flag

I'm trying to open Firefox GUI on a Docker container. I'm avoiding most common solution which seems to use at one point /tmp/.X11-unix from host because I want the container to work on any host, including a headless host without X11.

The goal is just to use selenium to open Firefox GUI and take a screenshot. I'm not quite sure if it possible but I guess it is.

FROM ubuntu:latest

RUN DEBIAN_FRONTEN ...
Score: 2
Daniel avatar
Mouse pointer doesn't change shape depending on hovered elements
cn flag

Summary

For a few days now my mouse pointer does not change it's shape in Chrome, Firefox or PhpStorm anymore. For example when I hover a link it won't turn into a pointer. In Thunderbird it works just fine.

Setup

  • Ubuntu 20.04.2 LTS
  • Kernel 5.8.0-59-generic
  • x11
  • Chrome 91.0.4472.114
  • Firefox 89.0.2

Details

It seems to affect all mouse pointer shapes (pointer, cursor, etc.) in Chrome, Firefox and PhpStorm.  ...

Score: 1
Installing 21.04 on Gigabyte B560M DS3H with Intel Core i9 - Multiple problems
in flag

I have a brand new machine comprising

  • Motherboard: Gigabyte B560M DS3H
  • Processor: Intel Core i9-11900 2.5GHz (Rocket Lake)

After quite some troubleshooting I have managed to install Ubuntu 21.04 on this machine but I still have some problems. Skip to the end for the unresolved questions.

In order to get Ubuntu installed and booting I had to take the following unusual steps:

  • To avoid power-off duri ...
Score: 0
Heta Rikala avatar
How do I re-enable warning messages?
lk flag

Yesterday I got warning message that 'root has less than 1 GB of space left'. I clicked 'ignore' in mistake and now I want warning message features back. Is there easy way out? I use Focal Fossa.

Score: 0
Unable to log in after 20.04 upgrade
br flag

I upgraded from 18.04 to 20.04 on my Linux-only Thinkpad (after a great deal of hassle on account UEFI, and finally using boot-repair to update grub). The laptop now boots without a problem, but I'm still unable to get in.

The login screen shows my name, and when I enter my password, the screen blanks for a second and comes back to the same login screen with my name.

I am able to use my password to  ...

Score: 0
Kiminuo avatar
systemd-inhibit and prologing awake state
gf flag

I have read http://manpages.ubuntu.com/manpages/focal/man1/systemd-inhibit.1.html and I still wonder what the following command exactly does:

systemd-inhibit --what="idle:sleep" --mode=block sleep 3600

I understand that a computer cannot go to sleep for one hour (unless the associated process is killed). But then I'm not sure whether after that one hour period it may happen that the computer can g ...

Score: 0
iliya avatar
fsck.ext4 does not fix file system problems entirely
us flag

every now and then I fall into emergency mode and have to use command below to recover ubuntu:

fsck.ext4 /dev/sda3/

it works as expected and recover ubuntu. However, after using ubuntu once or twice and after restarting OS, I have to run fsck again. And it is also causing some problems when I'm using OS for example: read-write are too slow on HDD and all of a sudden everything turns to Read-only file ...

Score: 0
Nutan Panta avatar
Is there a way to get hdmi connected device port information like we can using xrandr?
ye flag

Using xrandr we can get information such as connected screen and if the HDMI port is connected or not but is there a way to get such information of the devices connected to my device. For example I am connected to my TV using HDMI cable and the TV has two HDMI port and I connected to the second port but is there a way to get that information that my device is connected to the TV using its second HDMI ...

Score: 0
Saurav Raj Joshi avatar
I accidentally removed everything from my base directory. Is there any way to recover these?
pk flag

After opening terminal I typed

sudo rm -rf * lampp

from my base directory srj@srj. So now I have lost everything in my Desktop and Downloads folder. Can it be recovered in any way. I was trying to remove xampp completely and messed up using the rm and rf.

Score: 8
Shiki Ryougi avatar
Ubuntu Software error message: Checksum failure
fr flag

Summary

Everything goes on well except 'Update' in Ubuntu Software:

Unable to get list of updates: Failed to update metadata for lvfs: checksum failure: failed to verify data, expected ab367e987025d2339a62fb40a400149f7dc7dc7def5

Process

Since yesterday, I cannot use the 'update' function in Ubuntu Software anymore, I don't know the exact reason.

Current and expected result

I remember that there are ...

Score: 0
DheerajK avatar
how to enable start/stop/restart for a newly added service in Ubuntu
ar flag

I have created a service which does some database connection and does some query. I want to know if I want to enable "service xyzservice start" or "service xyzservice stop" or restart where Do i need to make this service entry in Ubuntu? what are the steps.

Score: 0
Ubuntu 18.04 Microphone recognized but not working
us flag

I tried both headset and webcam and both microphones aren't working so I am confident the issue isn't the mic itself.

I looked up the setting and they are recognized as inputs. I also tried disabling one and running the other and nothing worked.

I also tried other solutions I found online (without really understanding tbh...) like running "sudo alsa force-reload" and "modprobe snd_usb_audio".

Any solut ...

Score: 3
RiquezJP avatar
Name USB devices to help identifying them
cn flag

When I connect USB devices such as mp3 player or bike computer, they mount right away but are given names like "46A1-4000" & "6132-6635"

When I have several devices connected it gets very confusing to know which is which, especially when they have inbuilt memory & removable SD. 3 or 4 drives show with random numbers & no way to easily know what is what.

I'd like a way to name these such  ...

Score: 0
user9839468 avatar
PPTP client fails under different ISP
us flag

I have setup a PPTP VPN connection to a service that successfully connects when I try to connect through the ISP that the service uses. When I try under the ISP I use in my work (which is the ISP I must work under regularly) the connection fails after some seconds. edit: After a request in the comments I added more information below:

Ιουλ 12 08:44:22 Desktop pppd[8923]: pppd 2.4.7 started by root, ...
Score: 0
Hadiuzzaman avatar
Do I need to refresh my Ubuntu laptop by pressing F5 as I do on Windows?
cn flag

I am using Ubuntu 20.04. My curious mind wants to know if I need to refresh my Ubuntu PC as I do on Windows after turning my PC on. By "refresh" I mean if I need to do something similar to pressing F5 or right-clicking and then clicking the Refresh button on Windows.

If yes, how do I do that? And if not, why?

Score: 0
Guddi avatar
Python3 cannot be downloaded result, after $sudo apt --reinstall install python3 command.ubuntu 18.04
sb flag

Whenever I try to update or upgrade anything,broken file

/usr/lib/python3/dist-packages/django/contrib/admin/widgets.py

is generating

SyntaxError:Generator expression must be parenthesized

How to upgrade this django ?

python 3.7.5
django 3.0

I tried to reinstall whole python3

$sudo apt --reinstall install python3

Result-

Python3 cannot be downloaded

How to fix this problem? I can't get into de ...

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.