Latest Ubuntu related questions

Score: 0
doppelfish avatar
Run command on bluetooth connect
jp flag

To be able to use my keyboard, I have to run /usr/bin/numlockx off and /usr/bin/xmodmap ~/.xmodmap-k4 whenever it connects via bluetooth. To automate this, I created the file /etc/udev/rules.d/tmp/99_keychron_fnkeys.rules:

# Keychron K4:
ACTION=="add"\
,  ATTRS{uniq}=="dc:2c:26:d4:a5:1f"\
,  ATTRS{phys}=="08:71:90:d6:8c:1e"\
,  ATTRS{name}=="Keychron K4"\
,  ENV{DISPLAY}=":0.0" \
,  PROGRAM="/usr/b ...
Score: 1
bocceballbarry avatar
Ubuntu device battery update causing laptop to not charge
ng flag

Have a thinkpad P15 running ubuntu 22.04. I recently selected an update provided in the ubuntu software for a battery update.

Now the battery won’t charge. On restart it now reads the “The connected AC adapter has a lower wattage than the recommended AC adapter which was shipped with its system. To use AC power please connect the adapter that was shipped with the system”. I am using the cha ...

Score: 0
Tor Browser not launching Ubuntu
jp flag

I have Ubuntu 22.04 and Tor Browser not launching (Error 404...) I read a few post but I had have no succes.

But if I go to the terminal and type

cd /home/username/Downloads/tor-browser-linux64-12.0.6_ALL/tor-browser

and type

 ./start-tor-browser.desktop --verbose

then Tor-Browser works. Every time I start my system, I must do the same in this way. Some body knows what is happen?

Score: 0
taiBsu avatar
Unable to recover boot partition after encrypting root system
ke flag

I encrypted my existing NVMe root partition of Xubuntu 22.04.2 LTS using this guide.

Now, when trying to boot, I keep being thrown into the GRUB screen.

I have tried a lot to repair the bootloader using a live USB stick, e.g.

sudo cryptsetup open /dev/nvme0n1p2 rootfs
sudo mount /dev/mapper/rootfs /mnt
sudo mount /dev/nvme0n1p1 /mnt/boot/efi
for i in /dev /dev/pts /proc /run /sys; do sudo mount -B $ ...
Score: 0
Himadri avatar
Unable to uninstall podman-docker as it's causing hindrance in docker-ce installation in 22.04
so flag
akshitadakahtta-MP-Laptop-18-dixxx1-$ sudo apt-get purge remove podman-docker
Reading package 1ists... Done
Calculating dependency tree... Done 
Reading state information... Done
 You might want to run apt Fix-broken install to correct these. 
The following packages have unmet dependencies
docker-ce Depends: docker-ce-cli but it is not going to be installed
akshitadakahtta-MP-Laptop-18-dixxx1-$ sudo ap ...
Score: 1
varun avatar
Windows option is not showing in the GRUB menu
gp flag

Initially everything was working fine, but suddenly on clicking Windows in the grub menu this error starts showing:

```none
Setting partition type to 0x7
error: failure writing sector 0x0 to 'hd1'
```

(Note : hd0 is my hard drive which doesn't use AND hd1 is my SSD.)

So I ran update-grub on my Ubuntu machine and then the Windows option disappeared from the grub menu.

I tried:

  1. I found that both Wind ...

Score: 0
Dennis Herman avatar
New Install of Ubuntu 22.04
it flag

Had a series of problems. All my folders showed up LOCKED. Every single folder. I searched and tried a few solutions. Figured I would continue in the morning. Next morning booted to a strange screen. Could not get any where. I always have a back up on a thumb drive. So I restarted with a thumb drive to TRY/INSTALL Ubuntu. Did a reinstall. I could see only 128G of my 1TB drive. Same as before, Worked wit ...

Score: 0
KSHMR avatar
Hidden disk usage
ua flag

I have a problem with hidden disk usage on my Ubuntu 22.04. As you can see, the ncdu utility only finds ~30GB on the system:

enter image description here

Whereas Ubuntu's System Monitor finds that 88 GB are being used:

enter image description here

What's going on here?

Output of df -h:

enter image description here

Score: 0
ne.dmtro avatar
Charles proxy certificate, import button unactive
gy flag

I have encountered a problem with importing the Charles proxy certificate into the system. When trying to do it from the GUI, the 'Import' button is greyed out, and it displays the message 'Cannot import because there are no compatible importers'. I also tried manually placing the certificate and using 'update-ca-certificate', but it didn't work either.

Ubuntu 23.04

Score: 0
NitzanS avatar
docker ubuntu wont start again on Ubuntu 23.04
dk flag

In an online docker training course, the instructor mentioned that he has an Ubuntu virtual machine installed with Docker So I created via virtual box on my windows 11 host a ubuntu 23.04 VM which for it I allocated 60GB of storage, and pressed the pre-allocate (which I thought will allocate the full 60GB not dynamically) when I run df -h I see only 7about 7gb on my vm...

df -h output After installing do ...

Score: 0
Viesturs avatar
dev/sda2 almost full; Low Disk Space on "Filesystem root"
ng flag

I work in Ubuntu 22 on VirtualBox. /dev/sda3 is almost full:

df -h --total
Filesystem      Size  Used Avail Use% Mounted on
tmpfs           720M  1,6M  718M   1% /run
/dev/sda3        24G   23G  411M  99% /
tmpfs           3,6G     0  3,6G   0% /dev/shm
tmpfs           5,0M  4,0K  5,0M   1% /run/lock
/dev/sda2       512M  6,1M  506M   2% /boot/efi
tmpfs           720M  124K  720M   1% /run/user/100 ...
Score: 1
Biswajit Bimoli avatar
How to install AMD radeon graphic in ubuntu 23.04
us flag

I could not install amd graphic card

hecs@TheCSPC:~$ amdgpu-install
Hit:1 https://repo.radeon.com/amdgpu/5.4.5/ubuntu jammy InRelease              
Hit:2 https://repo.radeon.com/rocm/apt/5.4.5 jammy InRelease                   
Hit:3 https://ppa.launchpadcontent.net/kdenlive/kdenlive-stable/ubuntu lunar InRelease
Hit:4 http://archive.ubuntu.com/ubuntu lunar InRelease     
Hit:5 http://archive.ubunt ...
Score: 0
Manas Mishra avatar
[FAILED]Failed to start dbus.service - D-bus System message Bus
al flag

I don't know how it happened, but this is appearing on my screen when I try to boot Ubuntu from the GRUB menu. I have dual booted Windows 10 and Ubuntu. It was working just fine yesterday. Although just before closing, the battery suddenly went from 100% to 0%, but it was still running( It was still showing battery to be 0% though, which I think was an error) I ignored it at that time, but now it's not  ...

Score: 0
DanielDeur avatar
How to fix a game being invisible when running with DirectX11 in Proton 8.0-2?
cm flag

Here is a video of the issue.

I can't seem to run American Truck Simulator in fullscreen with DirectX11 and Proton 8.0-2. Running natively is not really an option because that doesn't work that well with GSync and running with OpenGL is not really an option either. Does anyone have an idea on how that could be fixed? I have my system info here:

System:
  Host: CHELSEA Kernel: 6.2.9-060209-generic a ...
Score: 0
Yassine Mrabet avatar
wineprefix is not Initializied correctly
cf flag

I m creating a docker image that will install some dependencies and wine to use it after,

FROM ubuntu:latest

 RUN apt-get update && apt-get install -y \
    vim \
    wine \
    net-tools \
    --no-install-recommends && \
    dpkg --add-architecture i386 && \
    apt-get update && \
    apt-get install -y  \
    wine32 xvfb xauth \
    --no-install-recommends \
    ...
Score: 0
Vikash Yadav avatar
TouchPad becomes unresponsive exactly before installing ubuntu
bz flag

I am using IdeaPad Flex 5 14ALC7 comes with AMD 5500 processor and windows 11 . I tried to dual boot with ubuntu 22.04 LTS version and used rufus to create a bootable pendrive and when I booted from the pen drive a welcome screen opened asking to try or install ubuntu . From here the touchpad become unresponsive and as I can not move the cursor I could not move further .

One More Question :: ther ...

Score: 0
AHEK 8 avatar
Can't get resolution higher than 1080×480
gs flag

I use windows 10 before the Ubuntu and in windows my integrated graphics (Intel 82945G) was working fine with 1920×1080 resolution but after Ubuntu the screen is fixed at 1080×480 and everything is messed up now please can anyone help me ?

Score: 2
OggyP avatar
Issue with NVME controller from kernel 5.18 onwards. What should I do from here?
ne flag

I have an Asus ZenBook Duo (UX481FL) but am having issues with any kernels beyond 5.18, my NVME controller will not work.

After anywhere up to 5 minutes after booting the SSD stops responding and crashes my computer, to try and diagnose the issue here is a live environment's logs. I have tried setting the kernel parameters it has suggested and it still does not work. My SSD is a WDC PC SN520 SDAPNUW- ...

Score: 0
lucas mure avatar
folders disappeared from desktop and cannot run setting icon
om flag

I turned on my laptop, and I realized that the files and folders have disappeared from the desktop, I can access them from the terminal but not directly on the desktop. Here is the image of my desktop. enter image description here

I also realize that the settings button does not work. what is the problem here?

Score: 0
Bhavneet Singh avatar
How to run a powershell script to generate exe in ubuntu with ps2exe package
co flag

How to make powershell script to generate exe in ubuntu with ps2exe package.

My script is working fine in Windows OS but the same script not working in Ubuntu. I need to run this script in Ubuntu because I have only one AWS cloud server which is working on Ubuntu OS. I have installed Powershell with the ps2exe extension in Ubuntu. but it not working fine. I have no idea how to solve the following error ...

Score: 0
JenyaKh avatar
How can I turn on cgroup v2 CPU controller on modern Ubuntu?
in flag

On Ubuntu 22.04, I get:

# cat /sys/fs/cgroup/cgroup.controllers
cpuset memory hugetlb pids rdma misc

I really need cpu contoller. Could you, please, help on how to enable it?

Score: 0
scranley avatar
Apache2 webserver not accessible from outside LAN
ag flag

I've just installed Apache2 web server on Ubuntu 22.04 with PHP, MariaDB and Wordpress. I've been following this YouTube guide:

https://youtu.be/pOESHd1G-HI

My Ubuntu machine's ip is: 192.168.1.16. I have set a port forwarding rule on my router however my website (Wordpress) is not accessible from outside my LAN. My external IP is: 109.78.70.248

During the setup I had an issue allowing OpenSSH on  ...

Score: 0
magicsux avatar
Any user can change roots' crontab
ve flag

I wrote a simple php crontab management program that updated the crontab of 'someuser' like so

crontab -u someuser /path/to/new/cronfile

however I was in need to run some php scripts as root so I decided to edit roots' crontab instead and add the required user field to each script:

crontab -u root /path/to/new/cronfile

Surprisingly that worked! I was really wondering how that can be possible and checke ...

Score: 1
Martin avatar
Upgrade from Ubuntu 20.04 to 22.04 failed
cu flag

I am fighting to upgrade my Ubuntu and I am dealing with troubles. I tried to do it with sudo do-release-upgrade and also from the Software Updater. I tried out a lot of things (here on StackExchange, ChatGPT) but I am still getting the following screen.

enter image description here

I believe I removed all PPAs and third party repositories. Maybe I missed something. I am really not sure.

enter image description here

If I need to provide more info to fix the i ...

Score: 0
MMG avatar
Can not mount a partition having XFS filesystem and block size of 64K
cf flag
MMG

I am currently testing SQL in a container. I have attached a 6TB volume from XtremIO to this box and mapping my database directory to this volume(Partition name-/dev/sdb1). To get the optimal performance Microsoft have recommended to set the block size of the partition to 64K as per this-

https://learn.microsoft.com/en-us/sql/linux/sql-server-linux-performance-best-practices?view=sql-server-ver16

 ...
Score: 0
crashingWeb avatar
Browsers segfault regularly (chrome, firefox, brave)
gf flag

I have a laptop (Lenovo Lenovo IP 5 15ARE05) only running ubuntu 23.04. I installed ubuntu on it and restored a backup on it.

Since start web related content keeps crashing. Firefox, vscode, chrome, Brave etc. crashes regularly. No other content crashes. The segfaults are often sudden and happen without any warning. Sometimes a tab crashes, sometimes the computer dies completely. Usually the comp ...

Score: 0
Christian avatar
Initframs issue during boot
vn flag

My wife's computer suddenly won't boot. It's running Ubuntu 22.04. It spits out the attached shown in pictures. I've tried googling, but I couldn't find anything. Her last 18 month's output from her cancer research is at risk, so she's stressed.

After running exit:

during

Score: 0
Mac avatar
configuring vm with terraform and cloud-init in an Azure Env
se flag
Mac

Hi i'm a newby so forgive me if i make an error, I'm very new to cloud-init and know terraform but not intimately. I'm using terraform cloud to provision my vm. this is my first encounter with custom_data . the issue i'm having is that i'm trying to not only do an installation of ansible on said vm. but i also want to copy a keyfile to /.ssh/ pls note not a public key!. i'm aware of the security implic ...

Score: 1
Marco Randazzo avatar
Built-in microphone not detected on Ubuntu 22.04 Alienware m17
ss flag

I cannot use my built-in microphone since it seems to be not detected by the system. Here is a screenshot of the sound tab from the settings panel: the "Input Device" control is disabled.

sound tab

What should I check?

Here some info about my system obtained with alsa-info:

!!Script ran on: Fri May 26 09:50:55 UTC 2023


!!Linux Distribution
!!------------------

Ubuntu 22.04.2 LTS \n \l DISTRIB_ID=Ubuntu DIS ...
Score: 0
user1699642 avatar
Make XRDP connect to existing Xorg Server after a xrdp restart
ml flag

I run a Ubuntu 22.04 server with lubuntu desktop (LXQT). I have installed the latest XRDP using the extremely useful scrip provided by c-nergy.be. From time to time though XRDP will stop passing through the clipboard. When this happens I just do a systemctl restart xrdp and that fixes the clipboard issue. However, when I restart xrdp lose my rdp session with all my windows and apps that are running.

 ...

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.