Latest Ubuntu related questions

Score: 0
Bluetail avatar
how to start mysql server on Ubuntu 20.04
in flag

I have Ubuntu installed via WSL 2 like so: Ubuntu 20.04.4 LTS (GNU/Linux 5.10.102.1-microsoft-standard-WSL2 x86_64)

I'm trying to install mysql-server with this command, 'sudo apt install mysql-server'

(https://ubuntu.com/server/docs/databases-mysql)

I get it installed with

mysql --version
mysql  Ver 8.0.31-0ubuntu0.20.04.1 for Linux on x86_64 ((Ubuntu))

but it does not start after that.

(base) bluetai ...
Score: 1
Alxender avatar
Which tool is best in your opinion to convert decimal to ascii?
im flag

I have a problem in converting decimal to ascii or ascii to decimal. I used to convert it manually but it takes a lot of time.Please suggest a tool.

Score: 1
ardoknow avatar
Opening a new terminal from python script and running commands
in flag

I've included my code below. I would like to be able to launch a bash script as part of this python script below which launches a new terminal at a specific directory. The command I'd like to run is 'ls' once the new terminal is launched.

import subprocess
cmd = "gnome-terminal --working-directory=/home/USERNAME/Documents/Scripts/"
subprocess.Popen(cmd, shell=True)

Any ideas on how I might do that?

Score: 1
Aryan Verma avatar
Printer prints blank pages Ubuntu 22.10
cv flag

I have a Konica Minolta Pagepro 1580MF ad recently i switched to Ubuntu 22.10 from WIndows 11 and i couldnt print a document sucessfully. Ubuntu automatically installed a driver for it but when I try to print it keeps on printing blank pages. Please help

Score: 0
Константин Комиссаров avatar
No internet access with Wireguard

I'm trying to configure VPN with wireguard.

My server config:

[Interface]
PrivateKey = <key>
Address = 10.0.0.1/24
ListenPort = 51830
PostUp = iptables -A FORWARD -i %i -j ACCEPT; iptables -t nat -A POSTROUTING -o eth0 -j MASQUERADE
PostDown = iptables -D FORWARD -i %i -j ACCEPT; iptables -t nat -D POSTROUTING -o eth0 -j MASQUERADE

[Peer]
PublicKey = <key>
AllowedIPs = 10.0.0.2/32

Client con ...

Score: 0
Vivek Patil avatar
WIN/SUPER + number doesn't work for apps that are not pinned to the Dock
US flag

Problem

Since the document viewer is not pinned, when i click win/super + 3, it should open that, but this does not happen. However, when i pin it to the Dock, it opens as intended.

How can I achieve the same when an app is not pinned ? This has worked forever previously, suddenly has stopped working after I installed ubuntu 22.10 on my system. Already tried solutions Super key not working in Ubuntu 20. ...

Score: 0
Rishon JR avatar
What's the difference between purge and remove in APT?
pl flag

I always loved to mess around with my Ubuntu system for fun, and after messing around with it for a while today(with the apt package manager), I found a command called "purge".

I did some research and it turns out it just removes stuff just like the sudo apt remove command. What is the difference between them? Is different from using sudo apt remove or is it some kind of duplicate command?

Score: 0
Fingolfin40 avatar
The same log messages on every startup. I need to understand what they mean
um flag

When I check my logs in the "important" tab, they are pretty much the same on every startup. Is there something concerning about them? For example, what are these issues labeled as "security"? Are they something usual or a potential security vulnerability?

Edit: Additional info about failed to start Application:

A start job for unit UNIT has finished with a failure.

The job identifier is 452 and the jo ...

Score: 1
Jesperson avatar
Latest update disabled all internet access
eu flag

I updated yesterday, and when I started my computer today the internet was not working. It's working on both my phone and my work laptop, so I know it's not a problem with the network itself.

When trying to connect to my wifi the access box where I type my password is gone within a second so that's no help.

I tried changing the kernel in grub when I restarted but it did not help.

uname -r : 5.15.0-52-g ...

Score: 0
Choo Jia Li avatar
Deleted Ubuntu from Window 10 and trying to retrieve files from UBUNTU root
cf flag

I've deleted the Ubuntu app from Windows 10, and now I'm trying to retrieve files from the deleted Ubuntu app. I'm only using Ubuntu as a compiler for my C code on VS studio and I permanently deleted the Ubuntu app and when I reinstall back Ubuntu all my files arent there as the files were stored in the root file of Ubuntu and can only access through the Network file. I did not save my files to the C dr ...

Score: 0
Dareth avatar
Kubuntu graphical visual crash
mk flag

Every once in awhile my screens suddenly go black, after 1-2 seconds they come back on and I receive this visual tearing graphical glitch on both my screens. It completely freezes my computer too and I cannot do anything, and would have to reset my computer. Think it has happen 5-6 times now since I started using my Kubuntu for the first time about a week ago.

I did install the latest 5.3 ROCM an ...

Score: 1
zahiruddin avatar
Cannot update volume group ubuntu-vg with duplicate PV devices
il flag

We have 2 x 4TB hdd on our server (hardware server). Raid 1 and use 1 hdd.

OS: Ubuntu 22.04.1 LTS (GNU/Linux 5.15.0-52-generic x86_64).

But our root space use only around 100 GB.

How to extend /dev/mapper/ubuntu--vg-ubuntu--lv to use 4TB ?

command df-h:

Filesystem                         Size  Used Avail Use% Mounted on
tmpfs                              1.6G  1.6M  1.6G   1% /run
/dev/mapper/ubuntu--vg ...
Score: 0
Zed avatar
Combine microphone audio and music from application to pipe to a Slack call
us flag
Zed

I wanted to do a little experiment, where I would be able to combine music running in one of my Chrome tabs with the microphone input on a slack call running in the Chrome browser as well, so basically everyone on the call would hear my voice over the background music.

I came across a very good tutorial that sort-of solved my problem but also introduced another one :)

By following the steps describe ...

Score: 0
Sam avatar
PC unresponsive after clamscan
in flag
Sam

I ran clamscan -r -i without specifying the drive, because I have multiple and wanted it to check all of them. My entire PC is now unresponsive. What do I do?

  • Ubuntu 20.04.5 LTS, 64-bit
  • AMD Fx-8320 eight-core processort x 8
  • NVIDIA GK208B [GeForce GT 730]
  • 23.5 GiB RAM, 580.1 GB HDD (500 GB main partition, 401 GB free)
Score: 0
Mr Gameboy avatar
How to run xdotool in the background
gu flag

I've been using xdotool as a macro for a game. Is there any way to have it run in a minimized window without it affecting my other active windows and still looping? The script below is the one I've been using for the past few days to run as the macro. Basically jumps, then clicks and does it again

while true; do xdotool key space; sleep 2; xdotool click 1; done
Score: 0
Rafael Zasas avatar
High battery usage and heat when hibernating on lid close
it flag

I am using ubuntu 22.10 with kernel 5.19.15-051915-generic on a Razer Blade 15 2022.

When I close the lid, my laptop is still drawing a lot of power, outputting a lot of heat and the fans stay on.

I have un-commented the lines for handleLidSwitch in my etc/systemd/logind.conf to hibernate when not connected to power and suspend when connected to power:

[Login]
#NAutoVTs=6
#ReserveVT=6
#KillUserPr ...
Score: 0
Falcon27 avatar
Clamscan cannot remove 'Read Only' viruses in /media/user/Windows
vi flag

I ran a clamscan -r -i --remove / on my Ubuntu 22.04, which is installed alongside Windows 10 on my computer, and it gave me the following results:

/media/<me>/Windows/Program Files/Common Files/Adobe/Microsoft/EdgeWebView/PlayReadyCdm/_platform_specific/win_x64/playreadycdm.dll: Win.Ransomware.Generic-9977355-0 FOUND
traverse_unlink: Failed to unlink: /media/<me>/Windows/Program Files/Common  ...
Score: 0
Robert Pearson avatar
How do I report a bug when launchpad does not work?
sy flag

I found a bug in engrampa. When I tried to report it I got to https://bugs.launchpad.net/ubuntu/+source/engrampa/+filebug/d65ee956-654a-11ed-99a1-40a8f0305cb4.

After an hour, the bug data was still not processed.

I tried a second time. Same results.

This is what happens when children try to code.

P.S. The engrampa bug is that when I try to open a .txt file, it checks to see if a Pluma window is open. I ...

Score: 0
Swapon avatar
Can't able to upgrade command "apt upgrade"
us flag

enter image description here

If I try to install those dependencies it shows

enter image description here

Force install shows following error: sudo apt install -f

(Reading database ... 92 files and directories currently installed.)
Preparing to unpack .../systemd_245.4-4ubuntu3.18_amd64.deb ...
Unpacking systemd (245.4-4ubuntu3.18) ...
dpkg: error processing archive /var/cache/apt/archives/systemd_245.4-4ubuntu3.18_amd64.deb (--unpack):
 unable to cre ...
Score: 0
larakikato avatar
Can anyone help me with the this tutorial for a custom maintenance free grub menu screen?
gi flag

I was trying to follow the instructions here: https://help.ubuntu.com/community/MaintenanceFreeCustomGrub2Screen

I've got it showing my chosen image and colors etc, but for some reason my custom menu entries never show up.

I run sudo update-grub, but it's like my 06_custom file does not exist, and I have checked that it is definitely saved in /etc/grub.d

I have no idea what I missed, seems like i've ...

Score: 0
Dokalozu avatar
Compiling with make gives me the error: cc1plus: error: unrecognized argument to ‘-flto=’ option: ‘auto -ffat-lto-objects -flto=auto’
um flag

I'm trying to compile this code whith the procedure that apears in the site. I make a new "build" folder and i use the command "cmake .." after i enter the folder, but when i use the "make" command it gives me the error. I have Ubuntu version 22.04, gcc version 11.3.0, make version 4.3 and already installed mpi. The whole error is this:

cc1plus: error: unrecognized argument to ‘-flto=’ option: ‘au ...
Score: 0
Cliff Hill avatar
Sound Blaster Audigy FX stopped working in 22.10
za flag

Since upgrading to Kinetic (22.10), and the change in the sound from pulseaudio to pipewire, my sound has stopped working. alsamixer shows it, as does lspci, it just seems that pipewire is blind. I fiddled once and had it show up briefly in my sound options, and then it disappeared again. Does anyone know how to correct this?

lspci shows:

04:00.0 Audio device: Creative Labs Sound Core3D [Sound Blaster ...
Score: 1
Matt avatar
Batch convert multiple, specific images spread across dozens of folders
bm flag

I have a list of JPG files, each located in different folders on my command line only server, that I need converted to PNG.

I know the simple command to convert them one-by-one using mogrify. But I have around 300 images of different names spread across all different folders like so:

/home/user/dfp/app/roundtable/wp-content/uploads/2022/06/play.jpg
/home/user/dfp/app/roundtable/wp-content/uploads/2021 ...
Score: 1
Idiotahahan avatar
Unable to reformat an SSD from Ext4 to any other filesystem
me flag

Any attempt to reformat said SSD just doesn't work. I used to run Linux Mint on it but a couple months ago the OS crashed and wouldn't open past the mint logo screen then some error messages.

I'm now trying to reformat that SSD externally and nothing works. In Windows, diskpart and disk management don't do anything. When I try formatting it to NTFS it turns right back to Ext4 after the process is ...

Score: 1
Primo-uomo avatar
Network controller unclaimed only in Recovery
de flag

An update to the Nvidia drivers causes my Ubuntu 22.04.1 (Kernel 5.15.0-53) to not boot beyond a black screen with a blinking cursor, and most suggestions to resuscitate this involve purging and installing a different driver from the recovery (or using Ctrl Alt F1-7 on the black screen).

However, I am not able to connect to the internet at all.

lspci shows my WiFi adapter, but

nmcli dev status on ...

Score: 1
jhaagsma avatar
Slow USB ports (losing keyboard keystrokes) sometimes on Ubuntu 22.04
in flag

I recently upgraded to 22.04, and have since experienced extremely laggy USB ports, to the point where I lose keystrokes and much/most of the mouse movement input. I am using a USB switch primarily, as this is a server in a rack around the corner.

The baffling thing is that I occasionally get perfect connectivity after physically unplugging/replugging the switch on some ports, but this is not ent ...

Score: 0
Sayantan Mandal avatar
pyo python module installation failure (Ubuntu 22.10)
fr flag

I am trying to install [pyo][1] on Ubuntu 22.10, and I keep getting this legacy-install-failure error. There doesn't seem to be any documentation that I can find. I have already updated pip, setuptools and wheels. Any suggestions will be highly appreciated.

         Collecting pyo
      Using cached pyo-1.0.4.tar.gz (6.1 MB)
      Preparing metadata (setup.py) ... done
    Building wheels for colle ...
Score: 0
Paul Coene avatar
Want to replace mdadm raid (with only 1 working drive left) with a new single - non raid drive
mr flag

I setup a brand new system a few months ago and chose to make it use a RAID. That consisted of a boot drive, and two identical drives for the raid.

The second of the identical raid drives died, so now my system is basically a single drive raid.

I want to move to keeping the boot drive (sda1) but replacing the other drive with a solid state drive.

My problem is that I just don't understand how the raid ...

Score: 0
DJ Zio avatar
Windows 10 and Ubuntu Studio dual boot configuration
la flag

I have 3x identical HP 6300 Pro SSFs with 2x 240GB SSDs and 16BG RAM in each. All three had Windows 10 installed, but later I added the 2nd SSD with the intent to install Ubuntu Studio.

My original intent wasn't to make them dual boot. I was going to do a "BIOS Boot", i.e. I'd just hit the 'Boot Menu' key and pick a drive.

On one, os-probe found the Windows volume and set up the GRUB menu. On the 2n ...

Score: 0
milevel avatar
Touchscreen in Ubuntu 22.04 MATE on Chuwi Hi10 Plus
uy flag

I'm using a Ubuntu 22.04 MATE on a Chuwi Hi10 plus, all works fine; the sound, the wi-fi, the battery... etc

But the touchscreen isn't works, I tried to install a driver but nothing has been changed. Do you know a solution?? A driver to install or something like that?

Thanks!!

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.