Latest Ubuntu related questions

Score: 0
Shu Shang avatar
Cannot start mysql service: Unit mysql.service is masked
cw flag

I am trying to install phpMyAdmin and it complained about not able to connect to MySQL server. It seems that the relevant services are not started but I cannot start it.

Here is the results of some commands I run.

# mysql -v
ERROR 2002 (HY000): Can't connect to local MySQL server through socket '/var/run/mysqld/mysqld.sock' (2)
# service mysql stop
# service mysql start
Failed to start mysql.service:  ...
Score: 0
nevidev avatar
Monitor displays black screen after start PC
ng flag

I have an Ubuntu on ryzen APU system.

Here is the problem: I start my desktop pc and see my monitor is blinking, I tried the monitor on another pc and see the monitor has a problem.

Then I use another monitor for my pc which I know it's working. But when I start the pc, it only shows me the motherboard logo and then black screen. When I expect to see ubuntu login screen.

What could be the issue? I know ...

Score: 0
nugie avatar
Constant Close/Crash on Several Occasions in Ubuntu 20.04
fr flag

I have Ubuntu 20.04, ever since I installed an RTX 2060 Super graphic card I'm facing annoying crash/close on several occasions as follows:

  1. I cannot open the "Show Applications", it closes as soon as I click it
  2. I cannot install any .deb package, the PC log me out and force me to the Ubuntu login page as soon as I double click it.
  3. I cannot rename any file and folder using left-click --> rename, it cl ...
Score: 0
Majeed Ahmed avatar
Ubuntu Virtual Disk: Failed to start login service
tk flag

My Ubuntu (version 18.04) was working fine and very important work was there. It got out of space that's why I added a new virtual disk in vmware and updated that new one to version 20.04. When I turned on my previous virtual disk, I got this error (shown below); Error Shown on Startup

Please help me in getting through this issue.

Score: 0
Buket avatar
E: Re-installation of package `st-stlink-udev-rules` is required, but the required archive file cannot be found
in flag

I just started using Ubuntu and I got an error like this after downloading a program. I can't fix this error. I can't update or when I want to do any download I am getting this:

Reading package lists... Done
Creating dependency tree... Done
Reading status info... Done
E: The package st-stlink-udev-rules needs to be reinstalled, but the required archive file cannot be found. 

I think I also corrupted t ...

Score: 0
Mediateri avatar
Bluetooth Can't be found by any bluetooth devise and vice versa on ubuntu 18.02
bw flag

When I run this Command: dmesg | egrep -i 'blue|firm', I get this result:

[    1.191428] Spectre V2 : Enabling Restricted Speculation for firmware calls
[    2.305017] battery: [Firmware Bug]: battery: (dis)charge rate invalid.
[   33.326025] Bluetooth: Core ver 2.22
[   33.326063] Bluetooth: HCI device and connection manager initialized
[   33.326067] Bluetooth: HCI socket layer initialized
[   33.326070 ...
Score: 0
nakbi avatar
How to prevent ssh client to access/view a specific folder
de flag

Using the SSH opened port, it was possible to verify the folders and the files present, under the directory /usr/share/SecretFolder They are exposed without authentication. My question it's possible to forbid interaction with them. or to hide this folder. It's possible to configure that in the Makefile of OpenSSH. Anyway, I need a solution.

Score: 3
Mohammad javad avatar
Configure GNOME and KDE differently
it flag

I have Ubuntu 21.04 and recently installed KDE.

I need to configure the theme to be different o each environment.

  • use Plank only on GNOME : solved
  • different fonts
  • different icons and theme

I installed Plank and removed the default GNOME dock. KDE has a nice dock that I want to use, but every time I log in KDE, Plank starts because I have put Plank in startup applications.

I don't want to use differ ...

Score: 0
username avatar
How to downgrade package to the version form previous release of Ubuntu?
ng flag

I've stuck with a specific issue in Mozc package on the latest Ubuntu 21.04, that is of 2.26.4220.100 version. So I figured out I can solve it by downgrading Mozc package to the 2.23.2815.102 version that was working great on 20.04LTS Ubuntu. Still, when I try to get list of available versions enter image description here

it shows the only 2.26.4220.100 version available.

But if we look at the complete list, we can see there a ...

Score: 0
Difference between packages libxml2-dev and libxml2
us flag

I have simple C++ application that uses libxml2 library. For this purpose I need to install it. But which package I need to install:

sudo apt-get install libxml2

System still complains regarding missing libxml header file.

sudo apt-get install libxml2-dev

Builds fine.

What is difference between libxml2 and libxml2-dev packages?

Score: 0
Christophe Lavaysse avatar
several issues with zoom and related to the docking station
cn flag

Sorry, maybe the errors are unrelated, but everything was fine until (maybe) a plugging/unplugging at the docking station I use on daily basis. I've been having problems since then: Zoom no longer works (a window opens but then disappears and nothing happens. I uninstalled and reinstalled the software with no effect. Associated (or not) with this problem, I have several problems with the sound (no sound ...

Score: 1
Stav Alfi avatar
How to open links from terminal-logs in vs-code?
cn flag

How can I configure the default ubuntu terminal to identify file locations in the logs (for example: stack-traces) and be able to open them in my current opened VSCode instance?

In MacOS, I configured Iterm2 to do that. I'm not sure how to do it on Ubuntu.

If it's not possible, is there other terminal that can do that on Ubuntu?

Score: 1
Setting readonly on a USB stick
jp flag

I want to create a USB stick with a tool to scan for viruses. I installed the software and after that I set:

hdparm -r1 /dev/sdc1

When I check the USB stick I get this:

hdparm -r /dev/sdc1 /dev/sdc1: readonly = 1 (on)

When I unplug the USB stick and plug it back in I get this:

hdparm -r /dev/sdc1 /dev/sdc1: readonly = 0 (off)

The write protection seems not to be not working.

How can I make the settin ...

Score: 0
Problem with Sound changed after merging two video askubuntu
cn flag

I am trying to merge two video by lossless-cut, openshut video app and below codes from here:

ffmpeg -f concat -safe 0 -i /home/so/Videos/files.txt -c copy  '/home/so/Videos/s-۲۰۲۱-۰۹-۲۸_۱۰.۳۷.۵۰-low.mp4'

with files.txt content like:

# this is a comment
file '/home/so/Videos/Colorful Illustration Social and Emotional Learning SEL Feelings Check In Weather Education Presentation (2).mp4' ...
Score: 0
Jules Gallardo avatar
getting errors when using apt update and when runnin g the software updater get failed to download repository information check internet connection
gr flag

updating from 20 to 21 and i get failed to download repository so tried in terminal and it gave me this error

sudo apt update
[sudo] password for jules: 
Ign:1 cdrom://Ubuntu 20.04.2.0 LTS _Focal Fossa_ - Release amd64 (20210209.1) focal InRelease
Err:2 cdrom://Ubuntu 20.04.2.0 LTS _Focal Fossa_ - Release amd64 (20210209.1) focal Release
  Please use apt-cdrom to make this CD-ROM recognized by APT. apt-g ...

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.