Latest Ubuntu related questions

Score: 0
Rick Armacost avatar
Expand XFS disk
gy flag

I'm very new to Ubuntu, but willing to learn. I have a newly created Ubuntu 22.04.1 LTS server VM with 2 disks (25G and 2.2T). The larger drive is an XFS drive and is going to be used for backups. When originally created it was a 500G drive, but we now want to expand that to 2.2T. I've done the easy part of adding the space within VMware, but now how do I get the OS to actually know there is 2.2T?

Score: 2
laketax avatar
How can I make "HP Laser 107a" printer work on Ubuntu 22.04?
in flag

Recently I updated from 20.04 to 22.04. When I found out the printer's not working anymore, I followed the advice given here: https://bugs.launchpad.net/ubuntu/+source/ipp-usb/+bug/1970055 , that is:

sudo apt purge ipp-usb (=for 22.04)(for 20.04: sudo apt purge ippusbxd)

wget https://ftp.hp.com/pub/softlib/software13/printers/CLP150/uld-hp_V1.00.39.12_00.15.tar.gz

tar -xvf uld-hp_V1.00.39.12_00.15.tar.gz ...

Score: 1
amin avatar
OPENvpn server traffic not use sshuttle
cz flag

I have 2 servers (server A and server B). I installed Openvpn on server A and I use OPENVPN CONNECT on my laptop and iphone (iOS) and everything is OK. Now when I check my IP in the laptop and iOS they show SERVER A s IP. Good.

I installed sshuttle on server A and after running:

sshuttle --dns -D -r root@SERVER_B_IP

After entering the password, now my IP is SERVER B s IP and everything is fine.

W ...

Score: 0
Tina avatar
KVM passthru network for VM private network
in flag

I have libvirt installed running default network setup. I created a VM using virt-manager and have it working on the NAT'ed bride interface.

I would like to add another Network interface that other VMs can use as a private network. I don't see any options to do this using virt-manager. Is there another tool to set this up?

Score: 0
Walter Stabosz avatar
Why is my Ubuntu missing a GUI UX for switching the audio output?
de flag

my level of expertise

I'm migrating to Ubuntu from Windows. I'm a computer scientist with 30 years experience, but this is my first time using a non-Windows desktop OS.

I'm very comfortable with the command line. About 20 years ago, I professionally coded console apps for a Redhat server.

what is this question about ?

I'm trying not to break the SO rules about "no discussion". But I'm not trying to ac ...

Score: 0
philippe avatar
icons in the background in Ubuntu 22.04
zm flag

I was using Ubuntu 20.04 with gnome and it worked perfectly for me. Now after upgrading to 22.04, my background is full of icons, those of the files and directories of my home directory: this is awful (to my taste). How can I get rid of them?

I tried the Settings/Appearance, un-ticked the "Display home directory", but this has no effect. I checked the Internet and indeed, I found many sites on wh ...

Score: 0
Shubham Roy avatar
HiDPI screen and full HD screen setup in i3wm sccaling?
br flag

My laptop(Asus Vivobook S14 intel i5 12th gen intel Xe graphics) screen reslution is 2880x1800(eDP-1) and external display @1280x1024_60.02*. I was able to correcly scale my laptop screen by editing the ~/.Xresources file with Xft.dpi: 240 and appending export GDK_DPI_SCALE=0.85 in the ~/.profile file with but that resulted in external monitor also to scale up and its very large

What have I t ...

Score: 0
Nusch Mo avatar
Trying to enable Tor Package repository on Ubuntu 22.04 - permission denied error when adding gpg key
pa flag

I'm trying to enable the Tor Package Repository on my Ubuntu 22.04 following these steps: https://support.torproject.org/apt/tor-deb-repo/

Everything worked fine until step 3. When I run

wget -qO- https://deb.torproject.org/torproject.org/A3C4F0F979CAA22CDBA8F512EE8CBC9E886DDD89.asc | gpg --dearmor | tee /usr/share/keyrings/tor-archive-keyring.gpg >/dev/null

I get a permission denied error:

tee: /usr/ ...
Score: 0
CmdCarlisle avatar
USB Wifi dongle issues
li flag

sorry I'm new to all of this, so I'm after some help from the experts.

I've installed Ubuntu on the raspberry pi 4 and it boots and everything is working well from a device side.

But I have a USB Wifi dongle that I need to connect so I can set it up as an access point to run some tests.

The dongle is visible in lsusb but it isn't visible anywhere else;

I presum the hardware is blocked and thats why it's n ...

Score: 1
k90mirzaei avatar
root user has no permission to edit environment file
us flag

I recently got a new problem in my Ubuntu system. I have to change the contents of the /etc/environment file but it is not possible, even the root user has no permission to do that.

As you can see root has write permission here:

>> ls -lia /etc/environment 
262296 -rw-r--r-- 1 root root 241 Oct  3 17:59 /etc/environment

It will not let me change the file.

>> sudo su
>> echo sample= ...
Score: 2
user1383029 avatar
Ubuntu 18.04 does not connect to Sony WH-XB910N bluetooth headphones
dj flag

I try to connect my Sony WH-XB910N bluetooth headphones to Ubuntu 18.04

Bluez version: bluetoothd -v gives 5.52

Pulseaudio bluetooth: pactl list | grep -i module-bluetooth-discover gives Name: module-bluetooth-discover

I hold power button of headphone until bluetooth led starts blinking. Then I go to Ubuntu bluetooth device settings. The device is just not shown in bluetooth list in system setti ...

Score: 0
user2317446 avatar
Is it possible to allow ubuntu server to accept connections to self signed ssl cert?
yt flag

I have just dived in to linux/ubuntu over the last week or so. I've been following guides and tinkering on a clean server, so I had no worries of messing anything up.

I ran a nextcloud app on another server and then followed a guide to make a high peformance server to connect to the talk app.

After nearly a week of following guides, reimaging the server, following guides ,reimaging the server I have ...

Score: 0
python3/dist-packages/requests/__init__.py:89: RequestsDependencyWarning: urllib3 (1.26.12) or chardet (3.0.4) doesn't match a supported version!
cn flag

I am trying to run codecommit to pull down my project

usr/lib/python3/dist-packages/requests/__init__.py:89: RequestsDependencyWarning: urllib3 (1.26.12) or chardet (3.0.4) doesn't match a supported version! warnings.warn("urllib3 ({}) or chardet ({}) doesn't match a supported "

I have tried to reinstall code-commit, made sure awsume-configure is up to date. So I am now at a loss as what to try.  ...

Score: 0
Mac key avatar
Sound stopped working after installling ubuntu 22.04 / No audio showing Dummy Output only
sg flag

I Am new user Kindly need your help , Ubuntu to 22.04 audio is not working. In the setting, the audio option has only Dummy Output and the test fails. webcam and the touchscreen is not working too

Details of my laptop:-

Brand       :- XENIA Xe LIFESTYLE ULTRABOOK
Processor   :- 11th Gen Intel® Core™ i7-1165G7 
Graphics    :- Integrated Intel® Iris® Xe Graphics

[Details][1]
Score: 0
Yash Burbure avatar
windows not booting from grub menu
sc flag

I have an SSD with 2 partitions. The first partition belongs to Windows 10 and it worked fine. I installed Ubuntu 22.04 on the second partition and it also works fine.

When I boot, grub is correctly displayed and shows both Windows and Ubuntu. If I select Ubuntu it can boot without issue and I can even access the Windows partition from Ubuntu, but if I try to boot Windows 10 it displays a black s ...

Score: 0
Erik avatar
Macbook Air 2013 with Mac TB2 Ethernet adapter seeing slower speeds than wifi? 22.04 Kubuntu
gb flag

I have noticed when I connect to my home network via wifi.. I can hit speeds upwards of 13 MiB/s ... easily..

BUT when I plugin and use a Apple Ethernet -> TB2 adapter... I cannot hit more than 11 MiB/s ..

I didn't care for a while but now that my apartment got new gigabit internet.. I am starting to wonder if the dongle supports its full potential?

Score: 0
Purge or remove suggesting to remove XXX unrelated packages
cn flag

I am trying to remove python but I am being told it will remove almost all my packages install (exaggeration). How can I just remove python 3.8 and not all the other packages?

hutber@hutber:/var/www$ sudo apt-get purge python3.8
Reading package lists... Done
Building dependency tree       
Reading state information... Done
The following packages were automatically installed and are no longer requir ...
Score: -1
dacorsa avatar
Github and private channel
eg flag

i tried to execute this bash command:

verweb=`sudo wget -q -O- 'https://github.com/Kitware/CMake/releases/latest' | grep -o 'https[^\"]*' | grep tag | grep -o -P '(?<=tag/v).*(?=&quot;,)' | uniq` ; echo $verweb

and the output is correct: 3.23.4

But when I execute this command there is no output:

url=`sudo wget -q -O- 'https://github.com/meetfranz/franz/releases/latest' | grep -o 'meetfranz ...
Score: 0
Score: 0
Ommadawn avatar
sudoer without asking passwd
pe flag

I would like my user (which is included in the sudoers file), to be able to run a certain script that needs certain root privileges without being asked for the password. Inside there are some commands with the sudo command.

In my case, I have configured the /etc/sudoers file as follows:

myuser   ALL=(ALL:ALL) ALL
myuser   ALL=(root) NOPASSWD: /home/myuser/something_administrative.sh

But still, it k ...

Score: -1
dacorsa avatar
script to modify repository to new release
eg flag

do you use a script to modify all repository to new ubuntu release?

example, i upgrade from jammy to kinetic, exist a script to verify if exist (and do the edit ONLY IF exists) the new channel kinetic and modify the ppa? as below:

FROM: less oibaf-ubuntu-graphics-drivers-jammy.list

deb http://ppa.launchpad.net/oibaf/graphics-drivers/ubuntu/ jammy main

TO: less oibaf-ubuntu-graphics-drivers-kinetic. ...

Score: 0
ullieiseenstupidhond12 avatar
Can't start any version mongodb... what should I do?
to flag

This is the following error I'm getting:

mongod.service - MongoDB Database Server
     Loaded: loaded (/lib/systemd/system/mongod.service; enabled; vendor preset>
     Active: failed (Result: core-dump) since Wed 2022-10-05 13:58:32 CEST; 5s >
       Docs: https://docs.mongodb.org/manual
    Process: 26562 ExecStart=/usr/bin/mongod --config /etc/mongod.conf (code=du>
   Main PID: 26562 (co ...
Score: 1
inky avatar
Ubuntu 22.04 docker in docker cgroups
kr flag

I'm running a TeamCity agent on Ubuntu 22.04 as a docker container and then running a docker container within that. I have successfully done this on Ubuntu 20.04, but I'm hitting a cgroups systemd issue on 22.04 and can not fathom a way around it.

"docker: Error response from daemon: cgroups: cgroup mountpoint does not exist: unknown." From various sources, I've added --exec-opt native.cgroupdri ...

Score: 0
Trendfischer avatar
Setting priority of audio devices
id flag

I have updated from Kubuntu 18.04 to 22.04 recently. To configure a priority of input and output devices for audio I used phonon settings.

Since I work in an environment with different docking stations, audio devices change very often during a work day. In a conference room, I do not want to switch to the conference speaker, if the headset is connected.

With 22.04 the phonon settings vanished and I  ...

Score: 0
Firstbass avatar
debmirror keeps hanging trying to download packages
jp flag

I have a local distribution mirror which I've set for the supported LTS versions of Ubuntu (18.04, 20.04 and 22.04). But when I run debmirror to sync with gb.archive.ubuntu.com it keeps stopping at a package and not going any further. If I stop and restart debmirror it will stop at the same package again. If I manually download the package and restart debmirror, it will move on but then stop at another  ...

Score: 0
Risana Mariyam avatar
Error when starting MongoDB
pe flag

When I try to start mongodb the following error is thrown: "Failed to start mongod.service: Unit mongod.service not found. I completed the installation.

dpkg returned an error code (1)
ubuntu@ip-172-31-86-9:~$ sudo apt-get install -y mongodb-org=5.0.13 mongodb-org-database=5.0.13 mongodb-org-server=5.0.13 mongodb-org-shell=5.0.13 mongodb-org-mongos=5.0.13 mongodb-org-tools=5.0.13
Reading package lists...  ...
Score: 0
cbass avatar
Wipe everything from Ubuntu 22.04 except for the OS
pl flag

I was wondering if it is possible to wipe an Ubuntu Server (22.04) expect for the operating system. I want to uninstall all software and files but not Ubuntu itself, similar to a factory reset on a phone. For some more insight: A Galaxy (https://galaxyproject.github.io/) server was installed on the Ubuntu server by using git. This Galaxy server uses SQLite as the database and a built-in HTTP server. The  ...

Score: 1
anon123 avatar
Has the apache2-dbg package been dropped from Ubuntu 22.04?
in flag

Has the apache2-dbg package been dropped from Ubuntu 22.04? If so, is there any replacement?

Score: 1
Doopz avatar
Finding out specific processes that are running php commands shown in 'top -i'
im flag

I have been scouring the forums to find the next step in analysing what process specifically is requesting the usage of a php command shown when running the top -i in an Ubuntu 20.04 server cli.

After SSH'ing into a server that is reporting 100% CPU usage, I can see:

PID USER PR NI VIRT RES SHR S %CPU %MEM TIME+ COMMAND
18266 mysql 20 0 1354720 496864 38872 S 45.1 24.5 7:01.28 mysqld
17012 ...
Score: 0
Chadley avatar
Ubuntu 22.04.1 LTS jammy - adding "deb http://apt.kubernetes.io/ kubernetes-xenial main" 403 Forbidden
fr flag

I am totally stuck on installing kube packages and hoping someone here could shed some light.

I am running Ubuntu Server 22.04.1 LTS Jammy

I started with $ sudo apt update && sudo apt-get install apt-transport-https ca-certificates curl gnupg lsb-release

^^ this worked

I then did $sudo apt-get upgrade

Installed docker and it all went fine until I got to these packages, and for three days I ca ...

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.