Latest Ubuntu related questions

Score: 0
TheGeeko61 avatar
Why do I have a plethora of mysqld instances running?
au flag

I am running Ubuntu 22.04, which I recently installed from scratch. I use eclipse, apache2 primarily, browser. For the past few days, eclipse runs out of memory and halts. enter image description here When investigating, I discovered 30+ instances of mysqld running. I cannot filter a mysqld instance using ps aux but I can observe them using htop (see image).

30 instances seems out of order to me. Why should there be so m ...

Score: 0
S.Baner avatar
Ubuntu not detecting drives inside ssd while installation alongside Windows
do flag

I have a HP laptop with windows pre installed. It has a 512gb uefi, gpt ssd with 3 drives C:, D: and E:. I want to install ubuntu in E: drive and along with the applications of ubuntu. But ubuntu does not recognize the partitions C:,D: or E: while installation, which is why I need help.

Here are the partition details in windows:

Disk Management.exe

Ubuntu installation only shows:

  • /dev/nvme0n1
  • /dev/nvme1n1

Also I wan ...

Score: 0
Tien Dung Tran avatar
tar change permission of parent directory to 775
cn flag

I tried to untar file with below command

sudo -u ubuntu tar -xzf tar.tgz -C "$(dirname "/home/ubuntu/deploy/")"

The tar log looks like

./
./deploy/deploy_scy.yml
./deploy/rollback_app.yml
./deploy/deploy_haproxy_single.yml

But the problem is that tar changed permission of /home/ubuntu from 750 to 775

root@ip-10-10-78-205:/home/ubuntu# ll
total 7016
drwxrwxr-x  7 ubuntu ubuntu    4096 Mar 21 07: ...
Score: 0
Akash Anand ganesh avatar
Recover Ubuntu files
lt flag

I have deleted Ubuntu 18.04 files and cleared it from the trash. Is it possible to recover these files?

Please advise.

Score: 1
spacegarbage avatar
Can't for the life of me get internal speakers working (2017 Intel i5 MacBook)
kh flag

I've tried running Fedora 38, Nobara 37, Kubuntu 22.10 and now Ubuntu 22.10 on my 2017 Macbook (Intel i5). In all cases, internal speakers simply will not work. Wired and Bluetooth audio work fine. Pulse Audio appears to recognize the Built-In Audio device in Volume Control, but no sound comes out.

What am I missing? TIA

Score: 0
focus zheng avatar
what is difference between bionic-updates and bionic in apt source?
mp flag

Is bionic-updates more stable and secure than the regular bionic when managing apt source records?

Rencently,I upgrade my server from 16 to 18 using apt-get upgrade.But I do not know how to take care of the apt source list.what I did is append the below items in the /etc/apt/sources.list.Is it enough for managing apt resources after upgrading ubuntu.

  1. deb http://security.ubuntu.com/ubuntu bionic-security ...
Score: 1
launch failed: Remote "snapcraft" is unknown or unreachable - multipass returned exit code 2
bj flag

I was learning how to create snaps by following tutorial on Ubuntu's website. The first three steps went great but just as I was going to get to the forth I needed to go somewhere. The next day I'm trying to continue and nothing works.

When trying to run snapcraft I'm getting

❯ snapcraft -v
Starting Snapcraft 7.3.1                                                                                          ...
Score: 0
Nirzum avatar
Windows 10 broken after setting up dual boot with Ubuntu, Ubuntu itself running slow
sl flag

I have had only windows 10 on my desktop for years and today tried to set up a dual boot so I could also use Ubuntu (specifically Ubuntu Desktop 22.04.2 LTS). Now when I try and launch into windows, I get stuck in a 'loading automatic repair tool' loop (I tried using a bootable USB with windows 10 iso to repair to no avail). I can launch Ubuntu however it runs really slow. While Ubuntu was installing, I ...

Score: 0
Earnest Vellacott avatar
Issues with startup
de flag

my computer won't start up. It gets stuck part way and gives this message in terminal:

[   0.197384] x86/cpu: VMX (outside TXT) disabled by BIOS

BusyBox v1.30.1 (Ubuntu 1:1.30.1-7ubuntu3) built-in shell (ash) Enter 'help' for a list of built-in commands.

(initramfs)

It might be related to the fact that I recently tried to upgrade my audio drivers, and in doing so tried to enroll an mok, which I hav ...

Score: 0
Centering a string in another
jp flag

I am using Ubuntu 18.04

I have a string of length N which I want to center in another string.

Thus setting some string of length N

old_string="***"

I want a new string (length 55) with the old string centered in it.

new_string="     ***     "

How can I do this in bash ?

Although in actual fact the trailing spaces are redundant, so I can-simply have

new_string="     ***"
Score: 0
Alexandre Gravel-Ménard avatar
Can't install any Nvidia driver
de flag

When i run:

sudo ubuntu-drivers devices
== /sys/devices/pci0000:00/0000:00:01.0/0000:01:00.0 ==
modalias : pci:v000010DEd00002520sv00001025sd00001547bc03sc00i00
vendor   : NVIDIA Corporation  
model    : GA106M [GeForce RTX 3060 Mobile / Max-Q]  
driver   : nvidia-driver-525-open - third-party non-free recommended  
driver   : nvidia-driver-515-server - distro non-free  
driver   : nvidia-driver-51 ...
Score: 0
test.netwokring avatar
Error in Ubuntu Server for service bind9
bh flag

Error in service bind9 when I'm starting

enter image description here

root@ServerRedes:~# service binder status  
  named.service - BIND Domain Name Server 
    Loaded: loaded (/lib/systemd/system/named.service; enabled; vendor preset: enabled)  
    Active: failed (Result: exit-code) since Tue 2023-03-21 23:13:37 UTC; 13s ago 
      Docs: man: named (8) 
   Process: 784 ExecStart=/usr/sbin/named $OPTIONS (code=exited, status ...
Score: 0
MX-Steveweis avatar
USN-5931-1 Why is this security patch only for ESM/ Ubuntu Pro
bv flag

18.04 LTS still has general support until April 2023, the patch for USN-5931-1 was released March 7th 2023. As march is before April, and this is a security patch, this should have been included in support offered via LTS. Why was this decided to be only offered for ESM?

Score: 1
Samuel Kobida avatar
Project not working after moving to WSL directory
na flag

My dockerized Lumen project had slow response time so according to advices I moved my project from my classic path C:\Mgr\lumen_laravel\lumenmysql to \ \wsl.localhost\Ubuntu\home\samo\lumenmysql, then created Z:\ drive so I can open terminal in that location and run "docker-compose up -d". In previous adress it was working.I didnt change any code and have got error. Any advices? Thank you.

error in ...

Score: 0
learntheropes avatar
AppImage .desktop file not showing on dock
bv flag

I'm on Ubuntu 22.04.2 LTS.
I have two .desktop executable files for the Keet AppImage in my .local/share/applications folder, with the AppImage located in /home/giovanni/snap as listed in the Desktop Entry under Exec property.
I didn´t create them they have been created by the app I suppose.
However they are both not showing on my dock (I have Dash to Dock installed).
All the others AppImages are  ...

Score: 0
Nicholas Saunders avatar
Is there a Wayland diagnostic to check for supported display resolutions?
mx flag

So far as I can tell, the listed resolutions:

nicholas@mordor:~$ 
nicholas@mordor:~$ cat /sys/class/drm/card0/card0-VGA-1/modes 
1024x768
800x600
800x600
848x480
640x480
nicholas@mordor:~$ 
nicholas@mordor:~$ lsb_release -a
No LSB modules are available.
Distributor ID: Ubuntu
Description:    Ubuntu 22.04 LTS
Release:    22.04
Codename:   jammy
nicholas@mordor:~$ 

match what is shown in setting exactly.  ...

Score: 0
woelfchen42 avatar
Xubuntu freeze on lightdm login after upgrade to 22.04/22.10
ca flag

I think it's the first time, that I ask a question here, since I found an answer for all previous issues. I upgraded my xubuntu 20.04 to 22.04 (and then on commandline to 22.10, because I hoped, the problem will solve itself. But it remains). I can login from a text terminal but never more from lightdm. I enter my credentials, and then I see the background-image, the mouse-pointer can be moved, but noth ...

Score: 0
Nicholas Saunders avatar
where are monitor settings for jammy?
mx flag

I've looked in ~/.config/ but see no monitor settings.

resolution

Just looking to change the resolution as it's quite squished after using loginctl to logout a user.

Score: 1
ghostanime2001 avatar
How to copy date created to date modified ubuntu 22.04
im flag

I am using ubuntu 22.04 LTS and I want to know if the date created on ubuntu can be copied to date modified? I think I've read that the date created on ubuntu isn't actually the date created even though the label 'date created' is in Nautilus, rather it's the ctime (date changed). Is this correct ? How can I copy the date changed or 'date created' into date modified?

Thanks!!

Score: 0
NickW avatar
Unattended-upgrades working correctly?
td flag

First off - I'm new to both ubuntu and the forum so please go easy on me this time!

I know questions about unattended-upgrades are often asked, and this one here looks possibly identical to my question - but I'm trying to confirm that the package is actually running on and updating my server correctly

As in the above thread, on logging on I'm getting the message:

28 updates can be applied immediately ...
Score: -3
david avatar
symbolic link command in Ubuntu
ba flag

I wish to know about usage of Symbolic Link please. I saw it in "The Linux Command Line" Fifth Internet Edition

Sincerely, Davood

Score: 0
Chookitypok avatar
I cannot find the file /var/lib/mlocate.db
io flag

I have Ubuntu 22.04.2 LTS installed on my Raspberry Pi and I try to find/open the file /var/lib/mlocate.db but I cannot find it.

I installed locate package.

It's because I'm doing an online course from Linux Professional Institute (LPI) and I read this passage:

One problem with locate is that it only shows entries present in the database generated by updatedb (located in /var/lib/mlocate.db). If the ...

Score: 0
natalie schuman avatar
How to disable private browsing for firefox and google on Linux
ma flag

Already tried /usr/lib/firefox/distribution. Would not allow. Tried mkdir distribution because it said I already had firefox. It then made a distribution folder. Entered sudo touch policies.json and that was okay but then when entering sudo nano policies.json and pasted in a stream like: {"policies":{DisablePrivateBrowsing": true}} it would not let me save or exit after that for it was in read only ...

Score: 0
Mike984 avatar
Disable Suspend
cn flag

If I accidentally choose Suspend when I want to restart or shut down, it takes a long time and often causes problems for me. I find suspend to be absolutely no use to me.

Is there a way to remove the item from the selection list?

Or

Is there a way to remove this function from Ubuntu so it doesn't do anything?

Thanks

Score: 0
Marco Guerrera avatar
Wine app breaks gnome switching workspaces
lt flag

The visible presence of the gui of an application built with wine on a desktop causes gnome to break itself when switching workspaces in activity view.

Attempting to switch workspace causes glitch visible in gif, everything freezes, and you can only click on a window and exit from activity view.

The gui representing the wine app becomes the target of the glitch.

Specs:

Asus N56VZ

Dual monitor 1 HD ...

Score: 0
Reset Ubuntu back to ubuntu-server pristine?
in flag

I've got an Ubuntu box that was running Ubuntu Desktop, and has been upgraded from 18.04 to 20.04 to 22.04.

I want to convert it into an Ubuntu Server.

What commands can I run to reset it (package-wise) to a pristine Ubuntu Server?

Note that this is not the same as simply uninstalling ubuntu-desktop (for which there are many answers on this site), since that leaves a load of other packages behind. For e ...

Score: 0
Zupi avatar
Freshly installed 22.04.2, got 2 errors
gp flag

Yesterday i installed ubuntu 22.04.2, and i noticed first error after enabling Ubuntu Pro, i got that red icon at top, and second day every 5 minutes or so i get this pop up, what could be a problem?

enter image description here

enter image description here

Score: 0
Nakul Kumar Tiwari avatar
Setting option is missing in Ubuntu 22 after few days
mq flag

The setting menu was available for few days in Ubuntu 22, however after using it for 1 week the option is now not visible. This happened twice. At first I reinstalled the Ubuntu 22. Again it got missing. Can someone help me regarding this issue ?

Score: 0
John Meehan avatar
Full disk encryption with 'fire and forget' autoinstall in 20.04+?
rs flag

I have a small problem. I'm trying to do a 'fire-and-forget' install of Ubuntu 20.04 with full disk encryption. And I keep getting prompted for the disk password during the process. (I believe this is happening as it's trying to mount the newly encrypted volume.)

The relevant fragment of my autoinstall storage section looks like this: '''

    - id LVM_part
      device: /dev/sda  
      size: -1
      ...
Score: 0
Nafiz Ahmed avatar
Install mutter-rounded
dk flag

I have recently upgraded my ubuntu from 22.04 to 22.10. I'm trying to customize it but mutter-rounded is not supported on 22.10, is there any other packages that I can use as alternative of mutter-rounded?

Thanks in advance.

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.