Latest Ubuntu related questions

Score: 2
Tom Tritten avatar
Maintaining RDP connection to Ubuntu after Ubuntu Screen times out (goes black)
mh flag

So, I have just installed Ubuntu 22.10 on an older machine on my network. I have enabled RDP and remote control on it, and am successfully able to RDP into it from my Windows 11 box with no issues. That is, however, until the Ubuntu box times out and either goes into lock mode, or the screen turns off; both default settings. Once that happens, the RDP session disconnects and I have to walk over to the  ...

Score: 0
user3765127 avatar
Audio to bluetooth headset cuts out, but device still showing as connected
ly flag

I am using a bluetooth headset with Xubuntu 22.04 on a Dell laptop. It connects fine and can work for hours at a time, but sporadically the audio stops working even though the device is still connected. Sometimes I get as little as two minutes of it working before it stops - it appears to be random.

Here's some of the output from sudo service bluetooth status:

profiles/audio/avdtp.c:cancel_request( ...
Score: 0
mmm avatar
Mouse causes lag when dragging windows around
US flag
mmm

recently I have the problem when dragging windows around my screens (I have HP a Elitebook 840 G5 with docking station and 2 additional monitors) that everything starts to lag. Especially when trying to drag around Chrome. Sometimes even Chrome reports a problem and needs to force quit.

First I thought my system is somehow corrupted but without using the docking station (with the notebook mousepa ...

Score: 0
efemboygg avatar
How to edit .tmux.conf on wsl2 ubuntu?
lv flag

I'm following a tutorial for learning tmux and can't find the .tmux.conf file in ~/.tmux.conf
is there a place i need to go to find it or create the file?
Also I'm running it on wsl2 if that changes anything.
Thanks

Score: 0
AkG avatar
How do I install Surfshark VPN?
ml flag
AkG

I have followed all the directions from the surfshark page but it will not install on my PC. I keep getting this message in the command prompt. I am new to Ubuntu.

akash@akash-Aspire-TC-280:~$ sudo apt install curl
https://downloads.surfshark.com/linux/debian-install.sh 
[sudo] password for akash: 
E: dpkg was interrupted, you must manually run 'sudo dpkg --configure -a' to correct the problem. 
ba ...
Score: 1
Rockishi avatar
NVIDIA GPU fan won't spin under 30% in Ubuntu - Noise is crazy
co flag

In Ubuntu the fan noise when idle is driving me crazy. The GPU temperature might be 25c, and the fan keeps spinning furiously.

I have a 3060TI. The fan can't be set under 30% no matter what I do. I can confirm I have fan control from 30% and higher. When I manually raise the fan control in nvidia-settings I can hear the fan speed up. However, whenever I set the fan speed to under 30%, the slider  ...

Score: 3
DDP avatar
How to find what packages need ESM update
sc flag
DDP

When I log into my Ubuntu 18.04 LTS system, I get this message:

5 additional security updates can be applied with ESM Apps.
Learn more about enabling ESM Apps service at https://ubuntu.com/esm

My question is how I find out what packages need these ESM updates. I thought the answer was "apt update && apt upgrade" but this does not show that any updates are needed:

# apt update && a ...
Score: 0
Erik avatar
Snap autoupdate broke firefox this morning
mx flag

Snap's autoupdate completely broke Firefox this morning on my machine, and I'm not sure how to fix it. When I run Firefox it gives me this error:

cannot locate base snap core20: No such file or directory

Ok so I check to see what the status of core20 is:

$ snap list
Name                       Version                     Rev    Tracking         Publisher        Notes
core20                     202 ...
Score: 1
Armen Grigoryan avatar
Ubuntu 22.10 connected to bluetooth keyboard but not working
cn flag

My system is Ubuntu 22.10, I am keeping my system up to date, almost every day I am upgrading my system, my laptop is a Lenovo ThinkPad t470, The problem is that I can't connect the wireless keyboard to my laptop via Bluetooth, the keyboard doesn't have a USB dongle so I am trying to connect it directly to the laptop, in the beginning, I couldn't connect but I installed Blueman and did it with that appl ...

Score: -1
John Snape avatar
Calculate video total video length and output as total with respective folder
pf flag

I'm working with some videos and I want to measure the total length of videos each folder contains and output it with the respective folder. Current structure is like this.

.
└── Parent folder/
    ├── Trip 1/
    │   ├── Video 1
    │   └── Video 2
    ├── Trip 2/
    │   ├── Video 3
    │   └── Video 4
    └── Trip 3/
        ├── Video ...
Score: 0
Denis Kotov avatar
How to run docker container as service if docker installed using snap
jp flag

I have faced with the issue that when I create the following service:

Description=Start Service Code
After=snap.docker.dockerd.service
Wants=network-online.target
Requires=snap.docker.dockerd.service

[Service]
Restart=always
ExecStart=/snap/bin/docker run -dt --rm --privileged --shm-size=0 --group-add root -p 8080:8080/tcp -p 8081:8081/tcp -v /dev:/dev service/tag
ExecStop=/snap/bin/docker stop $( ...
Score: 0
Bedir Tapkan avatar
Ubuntu GNOME desktop glitch on multuple monitors
bq flag

I do not even know how to describe this issue, I tried to search for it, but any of the wordings I tried seems to fail...

I am using Ubuntu 22.04; before this, I was using 20.04; the problem carried on to both. I did not find any answer before, so I let it go, but it became annoying, and I wanted to solve it. I am using GNOME as my desktop env.

When I drag on my main desktop (about 10 inches bigger  ...

Score: 0
Ayibogan avatar
Can't boot into GRUB/Ubuntu after reinstalling Windows on my second SSD
yt flag

I have 2 SSDs in my system

  • one with 1TB - installed Windows 10 Pro on it
  • one with 240GB - installed Ubuntu 22.04 on it

I was able to select the 240GB SSD as my 1st boot priority so GRUB always came up and gave me the choice between Ubuntu and Windows Boot Manager (while also having 2 more options I currently can't remember).

Now, 2 days ago I have formatted the SSD which had the Windows OS on it (alo ...

Score: 0
Lucca avatar
I need help with a PXE Server on Ubuntu 22.04 using dnsmasq
kh flag

I am currently trying to setup a PXE server on a ubuntu22.04 server to install iso's or any other images via networkboot/pxeboot.

I use dnsmasq for that and have encountered some problems.

first, sometimes the booting laptop gets a tftp timeout after i edited something and edited it back.

second when it gets through to boot it loads kernel and initrd for ubuntu 22.04 fine but gets stuck with: /init lin ...

Score: 0
c.leblanc avatar
Synchronize VScode projects between linux and windows with WSL
vu flag

I'm new to WSL and got the advice to store my VScode projects on Linux for better performance.

The thing is, I would like to keep an automatic sync between these files stored on Linux and a folder stored on Windows since I would like these projects to be stored in my onedrive.

What would be the easiest option to do this?

EDIT: I made a symlink in Windows from the folder on Linux. Will synchronization w ...

Score: 2
TommyPeanuts avatar
Can I switch Ubuntu Pro machine registration?
cn flag

I have a server that I would like to hand over to somebody else. It's currently attached the Ubuntu Pro free tier, registered to my Ubuntu One account so I'd like that to be on their ID.

What's the easiest way of doing that? Should I run pro detach then attach using their ID? Will that preserve the settings?

Score: 0
James Delongue avatar
Problems intsalling Ubuntu 20.04 on my new workstation (no disks/partitions are shown within the installer)
US flag

My first post within this forum. Glad to become a part of this community.

I am coming for help, because I have tried many things and my problem persists.

I am trying to install Ubuntu together with Windows (or at least Ubuntu alone) in my new workstation (M.2 unit). I managed to install windows first (I have created a partition for Ubuntu as well) and then I was expecting the installer to show the o ...

Score: 1
lucidbrot avatar
Why is my zfs backup so small?
de flag

While asking this question, I have figured it out and will be self-answering.

I have backed up my data (tank) to a file-based zfs pool on an NTFS drive (indoorpool). However, it now looks like the backup is taking up a lot less space than the original. Why is this? Was my backup done fully and successfully?

$ zfs get compression,compressratio,used tank indoorpool
NAME        PROPERTY       VALUE   ...
Score: 1
guygrinberger avatar
perl script wont run unless I use perl prefix
cn flag

I have a weird problem trying to run a simple perl script on ubuntu 22.04.

test.pl content:

#!/usr/bin/perl
print "Hello\n";

output of which perl command:

/usr/bin/perl

I used to run scripts with just their path, but now I get permission denied when doing so, unless I use the perl prefix.

distcc@a172-24-178-137:~$ ./test.pl
bash: ./test.pl: Permission denied
distcc@a172-24-178-137:~$ perl ./test.pl ...
Score: 0
user3353167 avatar
Webcam not working on Thinkpad Lenovo X1 Nano Gen 2 - Ubuntu 22.04.1
ms flag

Just switched to Ubuntu from Windows and it seems like the webcam has issues. Here are my hardware specs:

Hardware: Lenovo ThinkPad X1 Nano Gen 2
Processor: 12th Gen Intel® Core™ i7-1260P × 16
Graphics: Mesa Intel® Graphics (ADL GT2)

output of v4l2-ctl:

v4l2-ctl --list-devices
ipu6 (PCI:pci:pci0000:00):
    /dev/video0

ipu6 (pci:pci0000:00):
    /dev/media0

output of dmesg:

sudo dmesg | grep -i u ...
Score: 0
DarkDead avatar
unable to uninstall linux-oem kernel - Dependency issues
fi flag

My laptop has ubuntu 15.14.0-1057-oem as well as 5.15.92 and 6.1.10 kernels installed. I want to uninstall the 15.14.0-1057-oem kernel so I tried this:

sudo apt purge linux-5.14.0-1057-oem

But I am getting the following error:

Reading package lists... 
Done Building dependency tree        
Reading state information... 
Done You might want to run 'apt --fix-broken install' to correct these. 
The foll ...
Score: 1
maharshi shukla avatar
python -v and python3 -V gives different version in Ubuntu 22.04 LTS
pf flag

python -V gives output as:

python3.11.1

python3 -V gives output as:

python3.10.6.

What does this mean? Which version is my Ubuntu 22.04 using by default?

Score: 1
spraff avatar
What are these notifications which only appear on the lock screen?
de flag

Sometimes when I lock my screen there are notifications at the bottom

enter image description here

When I click them nothing happens. When I unlock the screen I can't see them anywhere.

What is causing these notifications? How am I supposed to interact with them? And can I turn them off?

Score: 2
Tomas Berger avatar
Ubuntu Core 20 Nano: Premission Denied
nf flag

I have been trying to get nano to work, but I keep running into permission denied problems where vim (vi) works.

I have downloaded 2 versions of nano sudo snap install nano-strict following this guide: https://discourse.ubuntu.com/t/using-ubuntu-core/24056 and sudo snap install nano-editor

With nano-strict I am able to create files in the /home directory, however, I am not allowed to read,edit or create ...

Score: 0
jesse1000 avatar
22.04: Strange artifacts and poor performance on Xorg with fractional scaling
se flag

I'm not sure what I did to cause this to happen, but recently after restarting my computer running Ubuntu 22.04, with Xorg I began noticing some strange artifacts around the borders of windows and icons. I had been running Xorg under the same settings, to my knowledge, without issue before this.

Quirk #1: Borders around drawn areas

Sometimes there would be a black border just outside the draw boun ...

Score: 0
W.Ding avatar
lightdm can't start
eh flag

I tried to use lightdm in WSL2 ubuntu, however it doesn't work. I tried reinstall lightdm and polkit. It seems like something about dbus is wrong.

ubuntu:22.04.1 GUI:GNOME

ding@LAPTOP-V70877ES:~$ sudo service lightdm start
 * Starting X display manager lightdm                                                                                   [+0.00s] DEBUG: Logging to /var/log/lightdm/lightdm.log
[+0.0 ...
Score: 0
bulu97 avatar
cannot create extract-cd/casper/filesystem.size: Permission denied
fo flag

I tried to create a customized ubuntu iso image file using Jenkins pipeline. When i try to execute these command I'll be getting the above permission error.

%sudo su
%sudo printf $(du -sx --block-size=1 edit | cut -f1) > extracted/casper/filesystem.size
cannot create extract-cd/casper/filesystem.size: Permission denied

How can I resolve this?

Score: 2
timeshift or equivalent on headless server
cn flag

I wanted to install timeshift on a headless server. Unfortunately it depends on a mass of GUI that I really don't want polluting a server (for example x11-common etc).

Is there either a way to install it without it's GUI, or an alternative that does the same thing. I've been using rsnapshot (fine for what it does) but I'm looking for a system restore utility rather than data backup.

Score: 1
Chris Foster avatar
how can I specify which network interface is the one my computer uses?
ma flag

I have Ubuntu LTS release 22.04.

I need to figure out how to specify which interface in my machine is the one it's using for network traffic. It's a Thinkpad w541 laptop. I need to be able to create virtual (VLAN) interface's and get my computer to use them instead of the "normal" interface.

Let's say I need to be able to access VLAN 6 on my computer. I have the interface in terminal. If I run an

Score: 0
After adding .sh file to Startup Applications, the .sh file will not invoke at startup
za flag

Ubuntu 22.10

The text of the script file (gamma.sh) I wish to invoke at boot/reboot is as follows:

xgamma -gamma 0.6 

In terminal, the script can be invoked without difficulties by command: ./gamma.sh

The .sh file properties are set to execute as program.

PROBLEM...

I opened Startup Applications. Added ./gamma.sh

Result... Upon boot/reboot, the gamma.sh will not start.

QUESTION: How to invoke the ...

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.