Latest Ubuntu related questions

Score: 0
Omid Shojaee avatar
Display Chinese characters in SSH terminal
jm flag

I need to install a package from GitHub (https://github.com/vaxilu/x-ui/) which is pure Chinese.

I tried to install it on Ubuntu 22.04 but during installation it asks some questions and I can't use an online translator because all I see is ????????.

My current locale is as below:

locale -a

C
C.utf8
en_US.utf8
POSIX

According to this question (Ubuntu display Chinese Characters - Encoding Issue) all I ...

Score: 0
001121100 avatar
Removed sudo Password Requirement in sudoers, Cannot Re-enable It
gs flag

I wanted to stop Ubuntu from requiring a password everytime I did nearly anything, so I followed instructions here to disable the password requirement in sudoers - How do I stop Ubuntu from asking for my password every time I install something?

However, instead of providing universal superuser elevation, which is what I intended to accomplish, the password requirement was disabled but is still nee ...

Score: 0
J T Richter 'commander-prompt' avatar
Should systemd be running as a sub-process of itself?
ve flag

I just noticed in System Monitor that systemd is running as pid 1 AND that within that process it is listed as a dependent process of itself, running again under process 1 as pid 933 and with another set of various processes running as dependents of 933. Is this normal or something that indicates a problem?

● user@1000.service - User Manager for UID 1000
     Loaded: loaded (/lib/systemd/system/ ...
Score: 0
LM_I avatar
Ubuntu 20.04 stuck in emergency mode with 90% of commands not working
ml flag

I'm in a bit of a situation here and quite a Ubuntu/linux newbie, plus I didn't find any working solution for us in other posts facing similar problem, hence every help is more than welcome. In summary: I tried to update our production server but it started to give an error related with info_silent folder

Followed this procedure:

sudo mv /var/lib/dpkg/info /var/lib/dpkg/info_silent
sudo mkdir /var/lib/ ...
Score: 0
Catalin Radu Nicula avatar
ModuleNotFoundError: No module named 'mysql'
mx flag

I need to run a python script when server start .
I add in rc.local /usr/bin/python3 /usr/bin/test.py , for this I have error
import mysql.connector as mysql
ModuleNotFoundError: No module named 'mysql'
When I removed connection to mysql , is ok
I tested : python3 /usr/sbin/test.py working good , connection to mysql is ok .
I try
sudo python3 /usr/sbin/test.py - same error -
import mysql.con ...

Score: 0
Muruganand avatar
Stuck on pxe-mof exiting pxe rom while installing ubuntu
um flag

I just tried to install ubuntu on my own with a help of a youtube video and I got stuck on a black screen with"pxe-mof:exiting pxe rom..." With this repeating.I don't know what to do please help me what to do

Score: 0
MF Fred avatar
Ubuntu not booting on first installation, Showing missing module error in busybox
gf flag

Noobie here, I am using acer extensa 215-52. I installed ubuntu alongside windows for the first time and I am getting this error on my first boot. this missing module type issue

I have previously encountered a problem with the ubuntu installation. the ubuntu usb stick I created wasn't detecting my only one HDD installed on this laptop. I tried several threads looking for answer but couldn't find it. At t ...

Score: 0
opisthofulax avatar
HDMI not working after update on Lenovo
cn flag

I have a Lenovo Legion 7 16ACHg6 that for a week decided not to detect any external HDMIs nor other types of cables. It is a dual booted laptop with Windows 10 on another disk (disabled Secure Boot, Dynamic graphics).


Software specs

$ uname -a
Linux Legion-7-16ACHg6 5.15.0-56-generic #62-Ubuntu SMP Tue Nov 22 19:54:14 UTC 2022 x86_64 x86_64 x86_64 GNU/Linux

Whenever I connect an HDMI, USB-C or oth ...

Score: 1
Arka avatar
Some keys ( 'w' , 'g', 'f' , 'y', 'h', etc) are not working properly on Ubuntu 22.04 whereas working well on windows
ms flag

While typing some keys like w, f, y, h, g, etc are not working for the first key press. It works after multiple key presses. I am using Ubuntu 22.04 on LG Gram. Previously it used to work fine, looks like after some updates it started behaving this way. It works fine on windows btw.

gsettings list-recursively org.gnome.desktop.a11y.keyboard

    org.gnome.desktop.a11y.keyboard bouncekeys-beep-reject fal ...
Score: 0
p479h avatar
Help fix booting error: "Could not resolve symbol [\_SB.PCIO], AE_NOT_FOUND" after dual boot (with windows) installing ubuntu 22.04.01
ye flag

As mentioned in the title, I recently installed ubuntu 22.04.01 in my Lenovo Legion 5 (bios version: H1CN47WW) laptop dual booting with windows 10. From the start there has been an error message while booting accompanied by some issues. Namely, the brightness can't be changed and the battery drains really fast (only on ubuntu, windows is still fine).

The error is:

ACPI BIOS Error (bug): Could not reso ...
Score: 0
ojacomarket avatar
How do I disable screensaver and systemd suspend on Ubuntu 20.04 from command-line or configuration files?
fo flag

I have seen a lot of solutions about gsettigns set and systemctl mask suspend.target ... but none works for me.

My Ubuntu 20.04 has Gnome GUI. And the only thing I want is to completely disable screen to enter sleep, suspend, hibernate, ... states, i.e always active, always bright.

I want it to be done through the config files or command-line utilities (better is to manipulate with config files). Wha ...

Score: 0
Pinedours avatar
Desktop shortcut from a .sh with a delay
ps flag

I want to have a desktop shortcut for TWO apps in .sh format with a 15 seconds' delay between them during the launch. Is it possible? What kind of script I have to do for that? If anyone can give me an exemple please? (Ubuntu desktop 22.04)

Thx guys!

Score: 0
help-me avatar
Full screen keyboard shortcut not working on selected applications (Chromium)
sb flag

I'm running Ubuntu 22.04 on (though I don't think it matters) a Lenovo X1 Carbon 7th gen.

The problem is that I can not toggle full-screen on some applications (e.g. Chromium).

If I launch Chromium from the terminal with the command "chromium-browser --start-fullscreen" then it will open in full-screen.

Though I can't seem to achieve this same state otherwise.

I've tried creating a keyboard shortcut in se ...

Score: 0
santa avatar
Can you configure the power button to bring up a shutdown options menu/
li flag

I am using Ubuntu 22.04 on a laptop and I would like, when I press the power button, to see a menu of suspend/shutdown/restart options, rather than to immediately trigger a suspend/shutdown action. Is this possible?

Score: 0
Attila B. avatar
Failed to start Apply Kernel Variables after update to Ubuntu 22.04
mu flag

Can you help me? My ubuntu 22.04 is working well, but all start begins with the message: Failed to start Apply Kernel Variables

Based on earlier similar questions, ( in case of Ubuntu 16) the message is different. What should I do?

sudo systemctl status systemd-sysctl.service

systemd-sysctl.service - Apply Kernel Variables
     Loaded: loaded (/lib/systemd/system/systemd-sysctl.service; static)
     A ...
Score: 0
Dustin Kylasovia avatar
Application theme and icon theme not working in applications
md flag

Applications are not following application theme and icons are also all messed up. Screenshot of applications The shell theme is working fine and the fonts are fine too. I ran the following code yesterday, I'll paste it because it might be causing it, although I'm not so sure about it.

for i in $(snap connections | grep gtk-common-themes:gtk-3-themes | awk '{print $2}'); do sudo snap connect $i o ...
Score: 2
Andy Woolford avatar
How to allow SSH chroot user to restart apache on host?
cc flag

My first post here on Ask Ubuntu.

I have an LAMP Ubuntu server which has two vhosts defined in /etc/apache2/sites-enabled.

One of these sites (an external mirror site) must be maintained by an external administrator who uses SSH with RSA Key Authentication to log in. To do this, we gave the remote user sudo privileges.

Due to enhanced security policies within our organisation, they are no longer permi ...

Score: 0
Atharva Dubey avatar
not a valid identifier while exporting path
xk flag

I have two Cuda installations namely 11.8 and 12, and would like to switch between them without manually editing the .bashrc file and sourcing it again.

For that I have come up with the following function placed inside .bashrc

export CUDA_11=/usr/local/cuda-11.8/
export CUDA_12=/usr/local/cuda-12.0/


#Default Cuda12.0 will be loaded, use this to unload 12 and load 11.8

function switchCuda { 
 local  ...
Score: -1
NoobishCoder avatar
How do I switch from ubuntu to windows?
bw flag

So I want to switch from ubuntu 22.04 LTS back to windows 11. I am single booting my pc. Ive been trying to find some tutorials on google and youtube, but i havent found anything good. Please give me step to step process how to install windows(How to make a bootable usb(i have a usb),format partitions etc.)

Thank you!

Score: 0
ClausRogge avatar
Please help me installing Ubuntu Studio manually
us flag

I'm doing something wrong but I don't know what ... please help.

Booting from DVD. Installer tells me to use GPT and create an 8MB unformatted partition for Grub. Label Grub, Flags: bios-group.

Next I want my home folder, I give it 25GB, ext4, Mount point /home, Label Me, Flags nothing.

166 GB, ext 4, Label Root, Mount Point /, Flags nothing

37925 MB linuxswap, Flags swap

Everything seems to instal ...

Score: 0
perfect 1 avatar
configure secondary hard drive in ubuntu 22.04
py flag

Hi I have installed Ubuntu on ssd and connected my 500 gb hdd with caddy to my laptop.Now when i boot up then sometime my hdd is showing in "other location" option and some time i am not able to access that. SO how can i mount this secondary hdd to /home directory in ubuntu 22.04 so that it cab be accessed easily.

Score: 2
Rishabh Raghwendra avatar
My system has bluetooth in built but ubuntu is not giving option to turn it on
in flag

I have a Hp 15 laptop which has Bluetooth in built but ubuntu is not recognizing the Bluetooth. In Bluetooth option in settings it says No Bluetooth Found. Plug in a dongle to use bluetooth.

I tried this process to install Bluetooth drivers but it don't help me.

I also tried this command to find out if my laptop has Bluetooth or not and it gives me this output which I think my laptop has Bluetooth.

Score: 0
Amir Karimi avatar
Can't get 60Hz 4k on Dell XPS 13 9370 Ubuntu 22.04, only 30Hz works
ng flag

I just got a Samsung LU28R550UQNXZA (28-inch 4K UHD) monitor, connected to a Dell XPS 13 9370 running Ubuntu 22.04.1 (X11). It works except that the highest supported refresh rate is 30Hz.

I'm using a USB-C to HDMI/USB-A adapter, but I'm pretty sure there's no issue with that or the cable because the same thing connected to a MacBook Pro gives 60Hz refresh rate.

What I tried without any success:

  •  ...
Score: 0
bee tea avatar
Using awk to parse for conditions over multiple lines? (ifconfig output)
ir flag

I'm trying to parse ifconfig output with awk.

Right now my script is:

# Setup

ifconfig > ip.txt

ans=$(cat ip.txt | awk '$1 == "inet" {print $2}')

#output

echo "Here are your IPs:"

echo"$ans"

Output:

Here are your IPs:

192.168.1.1
192.168.2.1

What I want is an output more like

Here are your IPs: 

eth0 192.168.1.1
wlan0 192.168.2.1

But awk only parses by line, which is why I'm using inet

Score: 0
dcpartners avatar
FPM Apache split configuration per site
sa flag

We own multiple websites hosted on our Ubuntu server and it's running user/user group under www-data/www-data - it's been running ok.

It's running:

  • PHP FPM 7.4
  • Apache2

However, some sites require "external developer" to troubleshoot/access the particular site and we need to isolate this by following this old article:

https://www.dimitri.eu/php-fpm-apache-split-config-per-site

We didn't create the FPM ...

Score: 1
Alex Chen avatar
vim-gtk3 and vim-athena fail to install on Ubuntu 22.04
vi flag

I tried to install Vim with GUI on Ubuntu 22.04 but failed. I get the following errors when I run sudo apt install vim-gtk3 or sudo apt install vim-athena. It seems both packages need to be rebuilt with updated pre-prerequisites.

$ sudo apt install vim-gtk3

Reading package lists... Done

Building dependency tree... Done

Reading state information... Done

Some packages could not be installed. This ma ...
Score: 1
Clyde_Murphy avatar
22.04.1 LTS Network Unclaimed for wireless adapter and ethernet port
au flag

I lost all ability to connect to the internet on Linux Ubuntu 22.04.1 LTS. Sudo lshw -class network shows both the wireless adapter and network port as 'Unclaimed'. Read in other posts that means the hardware doesn't have the drivers. I don't know where to find them or how to install them without connectivity. Please help.

Score: 0
Janx avatar
How to create a windows taskbar that hides in full screen?
ro flag

I recently installed Ubuntu and I still dont know much about it, and I just dont like the dock. Is there a way to create a windows like Taskbar that hides if a window overlaps, but fades in from the bottom if I go there with my mouse? It should work like the Windows taskbar with and the Ubuntu top bar like time, system tray, settings etc.

I tried the extension Dash to Panel in combination with Hi ...

Score: 1
dschon avatar
Terminal Opens But does not respond to any input. ubuntu 22.04
cn flag

I was mucking about in some neovim configuration. I decided to restart my machine and now when I open a terminal it opens but ignores all inputs. I can type whatever I want, but it doesn't show the username or any other information and it doesn't respond when I press enter.

This is the case in both terminator and the default gnome-terminal.

I have tried restarting multiple times, and if I press CTRL ...

Score: 0
MyCookie avatar
I use sound output with headphones but internal sound output does not run in Ubuntu
ph flag

I've just started using Linux and I'm having a problem with the sound. I am currently using "Ubuntu 22.04 LTS" and "Windows 11" as dualboot on Huawei Matebook. I do not have a problem with sound on the Windows side, but when I use Ubuntu, I can get sound output with headphones and my bluetooth speaker, but I cannot get sound output from my laptop. What is the source of the problem and how can I solv ...

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.