Latest Ubuntu related questions

Score: 1
mikmik avatar
Suddenly ubuntu 22.04 is starting without graphics
us flag

I rebooted Ubuntu 22.04, and suddenly it starts without graphics I can only see the login prompt is black. I tried to switch terminals CTRL + ALT + F1--F6,but getting the same terminal

I tried to run startx and got this message enter image description here

Score: 0
mariebrunel avatar
Starting problem
sk flag

After a sudden shutdown of the pc, the computer no longer starts. The message says initramfs And just above are lines of text that I can't copy. Thanks a lot for your help !

Score: 0
Dev.Aelius avatar
Add system password while running the .sh file
cn flag

My problem is when my pc start I want to disable mysql service with below command

sudo service mysql stop || service mysql stop

in both case system is asking for system password so I am entering the password manually everytime

I make one .sh file with above command

So how do I set & pass my system password with above script so do dont' enter password everytime when this script run.

Score: 0
Patrik Sivak avatar
Ubuntu laptop no sound issue (no speakers and no headphones)
kh flag

I recently got a new laptop (XMG Pro 17), set up for dual boot with Windows 11 and Ubuntu (23.04 STS). In windows everything is working as expected. However in Ubuntu absolutely no sound, not on speakers nor headphone output.

In settings when selecting the built in audio the levels are moving and it thinks it's outputting sound, but nothing. Same results when using headphones or as a troubleshoot ...

Score: 0
Davorian avatar
cloud-init messages cluttering login screen in Ubuntu Server 22.04
kn flag

I'm sorry to bring this up again as I know this question has been asked a few times before as shown here, here and here.

These solutions have worked excellently for me right up until 22.04, but now despite following the same instructions I cannot get these messages to away, as shown in this screenshot:

cloud-init messages on login tty:

cloud-init messages on login tty

Has the configuration of cloud-init changed in 22.04? Is there anoth ...

Score: 1
Sidney King avatar
wifi config on raspberry pi
ro flag

I used the raspbery pi image utility to create an ubuntu image. In the utility you can set the wifi settings before it create the image on the sdcard. I was able to connect to my home wifi but I would like to connect to my phone hotspot.

How to change which ssid the ubuntu connects to?

What is the default connections manager? I am running ubuntu 22.04.2 LTS on raspberry pi

Thank you

Score: 1
Johnathan Nguyen avatar
MariaDB killed by OOM Killer every couple days
ie flag

my MariaDB server is being killed every couple days.

× mariadb.service - MariaDB 10.6.12 database server
Loaded: loaded (/lib/systemd/system/mariadb.service; enabled; vendor preset: enabled)
Active: failed (Result: oom-kill) since Wed 2023-04-19 08:27:06 UTC; 15h ago
Docs: man:mariadbd (8)
https://mariadb.com/kb/en/library/systemd/
Process: 1178 ExecStart=/usr/sbin/mariadbd $MYSQLD_OPTS $_WSREP_NE ...
Score: 0
Reyyan Saeed avatar
How to reinstall network manager after accidentally purging it?
ug flag

I accidentally purged my network manager and have been trying unsuccessfully to reinstall it. I tried to install network manager packages on a USB but it is showing me dependency problems which aren't fixed by an update prompt.

Description: 22.04.01
Release: 22.04
Codename: jammy

What it's showing me:

a blurry photograph of a screen with a terminal window

Score: 0
William Biggs avatar
ffmpeg lock's up pc
cn flag

I have an i7-10700kx16. With 64g ram and 2 2tb SSD, The board is a z590-p. The video card is UHD 630 CML GT2. I install Ubuntu 23.04 and the ver of Ubuntu. Every time I to use Kdenlive or FFmpeg from ter. The pc lock's up until FFmpeg get done or Kdenlive. I have also tried it on an ASUS mini, same error. I have tried it with Wayland ans x11, same thing. So I tried it with fedora 38. It works just fine. ...

Score: 0
Jezza avatar
Unable to access jarfile in a tmux session from startup
bb flag

I have a script which starts a new tmux session and runs the Minecraft launch command like so:

#!/bin/bash

# Create a new session and run a command inside the session
tmux new-session -d -s mc
tmux set-option -t mc set-remain-on-exit on
tmux send-keys -t mc "java -Xmx6G -jar fabric-server-mc.1.19.4-loader.0.14.19-launcher.0.11.2.jar nogui" Enter

I'm able to run a similar script manually and it launch ...

Score: 0
user138056 avatar
Package System is Borken
ad flag

I'm currently running Ubuntu 22.04.2 LTS with livepatch and Pro on and my package manager is broken.

package broken

I've had an issue with my package system for a few weeks now. I think it may have started when I tried to install wine but I don't see any issues relating to that attempt from the error output. Regardless attempting to run an update with updater results with this:

I've removed all third party pack ...

Score: 2
veee8 avatar
Appimage not working in Ubuntu 23.04
pn flag

Having a problem with Appimage programs not opening when double clicking.They do not respond or attempt to open, same as right clicking and selecting "run". Have installed the Fuse 2 library, and enabled the checkbox for execute in permissions. Is there anything else that needs to be done to enable this to work in the latest Ubuntu 23.04?

Score: 0
Daniel Garcia Lopez avatar
AMD Ryzen 4700U Processor and AMD Radeon Graphics Machine Failing to Resume After Suspend on Ubuntu 22.10
aw flag

I've recently switched over to Ubuntu 22.10 as the main OS for my machine but I've been frustrated by an issue with suspending my machine. Whenever I close the lid to my laptop or suspend via command line and try to resume, my machine fails to turn back on and I'm left staring at a black screen. My keyboard still lights up and everything so I'm pretty confused as to what could be the root of my problems ...

Score: 3
Mainland avatar
sudo apt update: Malformed entry 1 in list file /etc/apt/sources.list.d/pgdg.list
dk flag

I have been trying to install pgadmin4 for a while, (but no success) so I can have a GUI to navigate postgresql server. Don't why but simple update command is also failing now. What did I do? where is wrong?

kia@fficeUbuntu:~$ sudo apt update && sudo apt full-upgrade
[sudo] password for kia: 
E: Malformed entry 1 in list file /etc/apt/sources.list.d/pgdg.list (Suite)
E: The list of sources  ...
Score: 2
Doughp avatar
How to change Architecture from AARCH64 to x86_64 for package installation
bj flag

I am on Windows 11 using WSL to download and use Solana and Anchor since Anchor doesnt work on Windows and I am trying to change my Architecture from AARCH64 to x86_64.

My default Architecture and HOST_TRIPLE is AARCH64 && AARCH64-unknown-linux-gnu

I cant change my default HOST_TRIPLE to x86_64-unknown-linux-gnu because Cargo doesnt recognize this but when keeping it as AARCH64-unknown-linux-gnu

Score: 1
DanRan avatar
Raspberry pi not booting from updated kernel running Ubuntu 20.04. How to switch to updated kernel on Pi 4?
us flag

I am running Ubuntu Server 20.04 on a Raspberry Pi 4. I recently did a sudo apt update && sudo apt full-upgrade on my server and it (maybe unsucessfully) update my kernel version.

When I run uname -a I get:

Linux mail.facl.xyz 5.4.0-1082-raspi #93-Ubuntu SMP PREEMPT Fri Mar 10 14:26:26 UTC 2023 aarch64 aarch64 aarch64 GNU/Linux

When I run dpkg -l | grep linux-image-.* I get:

rc  linux-image-5 ...
Score: 0
Yaldaba avatar
Slow WiFi and disconnections after updating Ubuntu 22.04
kg flag

After updating and restarting my computer (running Ubuntu 22.04.2 LTS) today, internet connection has been really unstable and slow, with frequent disconnections. Here's the list of changes from the history.log

Start-Date: 2023-04-28  12:24:07
Commandline: aptdaemon role='role-commit-packages' sender=':1.128'
Install: linux-modules-5.15.0-71-generic:amd64 (5.15.0-71.78, automatic), linux-modules-ex ...
Score: 0
Amedee avatar
Installing ubuntu on two drives: ssd and hdd
gr flag

I have a desktop (8 GiB RAM) and installed Ubuntu in the standard way (erase disk and install Ubuntu - nothing else ;-)). But it kept booting in windows... finally - as a newbie - I understand the desktop has a ssd and hdd drive...

Anyway, after reading the following:

  1. How would I install Ubuntu with two hard drives
  2. https://www.linuxjournal.com/content/installing-ubuntu-two-hard-drives

I need the ...

Score: 0
Byron R avatar
How to re-install R 4.2.0
pl flag

I have been running R version 4.2.0 on Ubuntu 20.04.4 LTS. Recently R was updated to 4.3.0 on my system, but for my current work I need to return to version 4.2.0. I uninstalled R using the instructions linked below, performed the cleaning step, and altered the command in step 3 to the following:

sudo apt-get install r-base=4.2.0

I tried a few variations on this command including sudo apt-get in ...

Score: 0
starlume avatar
Get Roblox installed with wine out of my desktop
au flag

I installed Roblox with Wine on Ubuntu, but it went to my desktop with 2 .link files, and the Roblox Studio.desktop file and Roblox Player.desktop file. This is horribly disorganized, I tried moving them but they only work on my desktop, it's incredibly annoying. How do I make a file that can start it from my games folder instead?

Score: 0
cbrng avatar
Accidentally removed a lot of drivers, etc. How can I reinstall them from a USB (no network access)?
in flag

Long story short, autoremove removed a ton of things including Settings, network-manager and many related network options, etc.

I still have ifconfig and can see my network cards, but I can't connect to anything. I've tried many command line methods of connections but nothing worked.

I cannot reformat this machine, and I cannot boot into the live USB and mount as it is an encrypted drive. I have to  ...

Score: 3
Daniel Moore avatar
On 22.04, laptop screen dims to 0 when unplugging power cable. With my old eyes, I can't see the screen to increase brightness again
zw flag

Searched for answers, and there were very old posts that gave solutions that haven't worked now for many years. I'm using Ubuntu 22.04 on a Lenovo IdeaPad Flex 14-API.

When the screen dims to its lowest brightness, I can't even read it in a dark room. Why, Ubuntu?

Is there a solution to prevent screen dimming or any brightness adjustments when plugging or unplugging the laptop? I have the brightness ...

Score: 0
user1692021 avatar
How to limit tar process to not utilize IO at max?
ag flag

So I have a server where I have important processes running 24/7, and once per day I run a backup of a specific folder like this:

time tar cf ${HOME}/${SNAP_NAME} -C ${DATA_PATH} . &>>${LOG_PATH}

The problem I have is that, during this backup process, all of my other processes stop running, or have very poor performance because tar is utilizing IO disk writing at max.

My question is if t ...

Score: 0
Lucas Rocha avatar
Slow internet connection How to investigate?
fi flag

About 2 days ago the internet on my laptop (dell vostro 3550/Ubuntu 22.04) suddenly became pretty slow. The internet is working fine when I connect from an Android phone.

So, how can I investigate the problem? Where to begin?

I appreciate any help.

########## wireless info START ##########

Report from: 28 Apr 2023 22:39 -03 -0300

Booted last: 28 Apr 2023 00:00 -03 -0300

Script from: 25 Jan 2020 03:34  ...
Score: 2
alphaulos avatar
Ubuntu 22.04 is not directing to the main desktop screen after starting up
pw flag

Every time, I start up my Ubuntu, I always need to click this workspace screen in order to get the main desktop. How do I get rid of this? After starting up, I want it to direct me to the main desktop, not to this screen where there is a search box.

Please see screenshot

Score: 0
André Frisk avatar
Aspire A514-55 Bluetooth not working properly
dz flag

When i received my laptop which is a Acer Aspire A514-55 and installed Ubuntu 22.04 on it I noticed quite early that something is not working properly with Bluetooth. When i turn it on the Settings panel nothing happens. I checked if the laptop could detect the Bluetooth adapter, and yes it did (with this command sudo lsusb | grep Bluetooth. I also checked with systemctl if its on and yes it is (hciconf ...

Score: 1
sim.dll avatar
The system does not differentiate between text and Arduino files
er flag

I use ubuntu 22.04 LTS with Gnome 42.5 on wayland. I have installed the latest version of the Arduino IDE (an .AppImage file). My problem is that when I have to open the sketches from the file manager (I use Gnome Files) it either recognizes the .ino files as plain text files or as C source files. If I set the Arduino IDE as default to open the file .ino, then I always open all text files with Arduino.  ...

Score: 2
user1691993 avatar
Ubuntu 23.04: No Speaker Sound with Realtek ALC245 on HP ENVY Laptop
ci flag

No sound from internal speaker

I have tried ubuntu 22.04, 22.10, 23.04 still no sound

$ uname -a
Linux HP-ENVY 6.2.0-20-generic #20-Ubuntu SMP PREEMPT_DYNAMIC Thu Apr  6 07:48:48 UTC 2023 x86_64 x86_64 x86_64 GNU/Linux
$ inxi -Fxz
System:
  Kernel: 6.2.0-20-generic arch: x86_64 bits: 64 compiler: N/A Desktop: GNOME
    v: 44.0 Distro: Ubuntu 23.04 (Lunar Lobster)
Machine:
  Type: Convertible Syst ...
Score: 0
Xuth avatar
FUSE mounted filesystems and snap applications
vi flag

I've seen lots of questions asking about snap applications and trying to use them to access FUSE mounted file systems. But none of the responses to those questions that I can find give or link to explicit directions on how you can get a snap application (that presumably has the necessary connection options) working with (in my case) an sshfs mount. I've seen lots of things that say "if you mount it in ...

Score: 0
BellyGod avatar
"Save image as" in Chrome and Firefox not working as before
cn flag

Until now when I would right-click on an image in the Chrome or FF browsers a window would pop up that allowed me to type a name for the image to be saved WITHOUT having to click into the window to make it active. In other words, I could simply right-click, select "save image as," then type the name I want and press Enter to save -- done! But now when I go to save an image I have to click into the name  ...

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.