Latest Ubuntu related questions

Score: 0
noclue avatar
Setup external drive with live, ubuntu and data partition
pw flag

I would like to set up an external hd from an existing Ubuntu on my internal hd:

  • partition 1 with Ubuntu Live,
  • an encrypted persistent partition 2
  • partition 3 with Ubuntu encrypted, installed from the live partition.

Partition 2 shall be usable after booting from partition 1 or 3.

When the hd is connected at boot time, a boot menu should appear offering the choice of booting from partition 1, from par ...

Score: 0
s_s123 avatar
avahi daemon - how do I publish a local ip?
bq flag

I have a local network which I want to use avahi daemon to publish and spread the ip of 10.0.0.XX and alike. I've written an XML:

<service-group>
  <name>dev-10</name>
  <service>
    <type>_pix._tcp</type>
    <port>6000</port>
    <txt-record>Description=VPU Description</txt-record>
    <txt-record>GRPCPort=61005</txt-record> ...
Score: 5
Marco Lackovic avatar
"snap refresh" fails with "ERROR cannot remove snap file core18"
it flag

I have been using snap refresh every day in the last year and worked perfectly fine.

Since today I get the following error:

$ sudo snap refresh
2023-03-15T12:15:40+02:00 ERROR cannot remove snap file "core18", will retry in 3 mins: incorrect number of tail fields, expected 3 but found 4
Remove snap "core18" (2697) from the system                                                                          ...
Score: 0
Thomas Grusz avatar
Cannot SSH into host on local network using TCP wrappers, despite allowing "sshd : LOCAL" in /etc/hosts.allow
cn flag

I have two servers running ubuntu server 22.04.2 LTS on my local network, the servers have the following names and IP addresses: ubuntuserver100 - 192.168.50.100 and ubuntuserver101 - 192.168.50.101 with the same user installed. Both have openssh-server 1:8.9p1-3ubuntu0.1 installed.

I would like to restrict ssh access to ubuntuserver100 to my local area network (192.168.50.0/24) only, using the leg ...

Score: 0
Lasse Michael Mølgaard avatar
Discover new IP address by calling MAC address
th flag

I have two devices that is located on a remote network:

  • A Raspberry Pi running Ubuntu 20.04. Let us call it Alex.
  • Raspberry Pi Pico Wireless running my code only. Let us call it Bob.

Alex acts as a gateway of sort for Bob only.

They both share the same local network, but for the exercise of the day you can assume they are both assigned dynamic ip from a local DHCP server and static ip is not an option ...

Score: 0
ShiJie avatar
Problem installing OS 22.04.2 LTS Jammy Jellyfish with TREK-60
cz flag

I am trying to install OS Lubutu because I had the Login problem where my password is correct but keeps flashing back into login page, even system recovery didn't help. So I've decided to use a USB Drive to install Version 22.04.2 into my computer with TREK-60, I used Rufus to convert my USB Drive, which is successful, but after my computer's system booted up, nothing is on the home screen, it's just th ...

Score: 0
Bharath S avatar
Why sum of all process CPU(%) is not equal to total cpu(%) utilisation in top output
sg flag

In the attached image of top command output, you can see the idle is 96.8% means CPU utilisation is 3.2% but, sum of CPU% of all the process listed (Image cropped for CPU% > 0.0) is more than the total utilised (3.2%)

TOP Command output

And in another top instance, the CPU utilisation (100-idle) was 14% but the top most process shown "Chrome" alone consumes 253%. I am unsure of how the chrome process consumes CPU more t ...

Score: 1
dyedfox avatar
ufw rules for Selenium grid
ru flag

I use Selenium grid docker container on my server which could be accessed from the web by http://IP_address:4444. Please help me to figure out how can I filter or disable this connection by adding some rules to ufw? I've tried something like this:

sudo ufw deny http/tcp
sudo ufw deny out http/tcp
sudo ufw deny 4444
sudo ufw deny out 4444

Unfortunately none of these is working.

Score: 0
Ashutosh Ambley avatar
How to resolve the key not available error on deadsnakes ppa
ng flag

I keep getting the following error message everytime I sudo update.

The following signatures couldn't be verified because the public key is not available: NO_PUBKEY BA6932366A755776
Reading package lists... Done
W: http://ppa.launchpad.net/deadsnakes/ppa/ubuntu/dists/jammy/InRelease: Key is stored in legacy trusted.gpg keyring (/etc/apt/trusted.gpg), see the DEPRECATION section in apt-key(8) for de ...
Score: 0
Alnitak avatar
How to get Gnome bluetooth manager to use device alias instead of device name?
in flag
OS: Ubuntu 20.04 focal
Kernel: x86_64 Linux 5.15.0-67-generic
DE: GNOME 3.36.5

I have several bluetooth devices that have the same model name.

It is difficult to manage them through Gnome's default bluetooth manager GUI, because Gnome's bluetooth manager does not respect/use device aliases.

I 'renamed' the devices through Blueman, and confirmed Blueman has changed the device aliases, but the Gnome blueto ...

Score: 0
David Oh avatar
How to decompress splited files (from one compressed one) located in different directories?
jp flag

I have a problem in decompressing file in Ubuntu. Here, I have huge amount of compressed file (test.tar.gz) which is nearly 1.2 TB and resultantly becomes 3 TB after decompressing.

I have only 4 TB and 1 TB SSD so that I cannot decompress the file in a single SSD.

So, my point is;

  1. How to split the (already) compressed file into several parts? (for example, splitting into 2 files, both of which ar ...
Score: 0
Ankit Borude avatar
Ubuntu isnt turning off and suspending properly as boot screen remains freezed
gl flag

My ubuntu 22.04LTS laptops is not turning off properly as it does not move ahead of ubuntu logo at shutting down as well as does not suspend. at boot up the logo is not aligned in center like how it used to be before my latest update output of inxi -G is as follows

 Graphics:
  Device-1: AMD Mullins [Radeon R4/R5 Graphics] driver: radeon v: kernel
  Device-2: Microdia Integrated_Webcam_HD type: USB driver ...
Score: 0
help-me avatar
Why does my system not allow me to toggle full-screen using F11?
sb flag

I'm running Ubuntu 22.04 on a ThinkPad x1 Carbon (gen 7). Ever since installing Ubuntu I have been unable to toggle full-screen on any tab or window using F-11.

The F-11 key works.

And I can toggle full-screen (in chrome) by navigating over to the drop-down menu.

I have tried every combination of pressing the Fn-lock key together, with Alt-Cntrl-Shift and F-11. Nothing has worked.

Thanks

Score: 0
Amin avatar
is there any way to import ufw rules quickly?
in flag

just wondering if is there any faster way than this to import ufw rules

i'm trying to block geo ip's and as you know each country have tons of ip's it takes forever to deny access with this method

cat geoip.txt | awk '/^[^#]/ { print $1 }' | sudo xargs -I {} ufw deny from {} to any

i appreciate your insights in advance tnX

Score: 0
saidabbosxon qambarov avatar
Dual boot not opening
cf flag

Acer nitro5 laptop dual boot windows 11 and ubuntu 22.04 lts. My laotop screen freze input devicees and SysRq not working only power button still worked. After restart ubuntu not opening: ARLET UUID=32595a7d-19a6-40b1-ad1a-58f7e0ac9ff does not exist. Droping to a shell!

Score: 0
1000i100 avatar
how to restore btrfs snapshot backup of root partition with subvolume for home
cn flag

I have btrfs over luks over lvm on a physical ssd drive. I've done some crap with apt and break my system. I want to reverse it to previous state.

When i boot on a live usb and decipher my luks drive and mount btrfs partition, here what i get

# btrfs subvolume list ./ (when in my luks drive) :
ID 256 gen 202072 top level 5 path @
ID 257 gen 202063 top level 256 path @/home
ID 258 gen 202063 top level 2 ...
Score: 0
chao gate avatar
System won't boot after dual boot installation: Ubuntu added to Windows 10
lc flag

I attempted to install Ubuntu alongside windows 10 but this was my first time so I follow a blog post here.. Everything worked fine in the allocation of free space and the boot section until I got into the installation view i choice to normal install and then I didn't find install alongside windows 10 so I click in the last option Something else I watch a video in how to create partitions for swap and ho ...

Score: 0
Something Something avatar
Solarflare card loses carrier seconds after reboot
eg flag

I have a Solarflare SFC9250 card installed on my box Ubuntu 20.04.5 LTS

$ lspci | grep -i solarflare
4a:00.0 Ethernet controller: Solarflare Communications XtremeScale SFC9250 10/25/40/50/100G Ethernet Controller (rev 01)
4a:00.1 Ethernet controller: Solarflare Communications XtremeScale SFC9250 10/25/40/50/100G Ethernet Controller (rev 01)

I have installed the DKMS package from the RPM with ali ...

Score: 0
Ander Canales Medina avatar
How to change the upload_max_size for moodle in Ubuntu 22.04.2 LTS?
iq flag

I am trying to change the upload_max_size for my moodle application following the documentation but after restarting the server i receive a message that the limit is only 2MB

php info here

Moodle ubuntu documentation

Score: 0
JACOB Mondejar avatar
Can't install nala in ubuntu 18.04. What's the matter?
xk flag

I was trying to install it and no results of it. But I'm using apt to do it.

ninjmango@lenovothinkpadt400:~$ sudo apt install nala
Reading package lists... Done
Building dependency tree       
Reading state information... Done
E: Unable to locate package nala
ninjmango@lenovothinkpadt400:~$ 

Does anyone know how to do it?

Score: 0
David Lynch avatar
cannot compile nano from source
et flag

i am trying to build nano from source, but the installation guide doesn't make any sense. it says to run ./configure but there isn't any configure file, and even in some of the repository it is in, it doesn't do anything.

i am on Ubuntu server 22.04.2 LTS if that helps

Score: 0
Spurious wake after suspend
jp flag

I'm running Ubuntu 22.10 and have a problem that my machine does not want to stay suspended. It wakes up usually withing half hour of being put into suspend. Syslog clearly indicates that it's NetworkManager that handles it (the log says "wake requested" and it's coming from NetworkManager). The thing is that wake-on-LAN is disabled everywhere, in NetworkManager config, in the driver (or whatever you ch ...

Score: 0
Ulu avatar
DVD Only Plays music CD or Data CD
by flag
Ulu

I have the latest LTS of Ubuntu jammy jellyfish + latest addons, extras, + restricted installed.

Music CDs are detected and played normally. DOS CD games can be installed & run thru DOSbox.

I have the latest VLC player installed. It can never see a DVD disc or show the folders.


sudo dmesg | grep sr0

Reports:

[sr0] scsi3-mmc drive: 48x/48x writer dvd-ram cd/rw xa/form2 cdda tray
Attached scsi C ...
Score: 0
user12685852 avatar
Dual boot Ubuntu doesn't have access to unpartitioned hard drives without me clicking on them
US flag

I just finished installing Ubuntu as a dual boot with windows 10 on my system. As a part of the process, I partitioned off 100 gb of space for it on one of my hard drives.

When I start ubuntu, I see my other drives in the taskbar. They're there, but they're separate. My example of this is when I was using vscode. I was trying to access a project on one of my other drives, but I could only access  ...

Score: 0
Auminer avatar
Lost dual boot, "Recommended Repair" not showing in Boot-Repair
br flag

Installed OS; Ubuntu 22.04.2 LTS and Win 10. Has been working fine for months, now cannot boot into Ubuntu, only Windows. Any help appreciated

http://paste.ubuntu.com/p/2wFgtMNzGv/

Score: 1
Aurora C avatar
Bluetooth doesn't list my Razer Basilisk mouse for pairing
in flag

I have connected my keyboard via Bluetooth on Ubuntu.

Made sure my mouse(Razer Basilisk) is also on pairing mode(blue light blinks twice repeatedly after pressing side buttons+dpi button for 3 seconds). I can confirm this as my phone can detect the mouse for pairing.

But Ubuntu doesn't detect my mouse. Please help.

Score: 0
Anton avatar
Disable banners/dot when Do Not Disturb is ON 20.04
cn flag

Want to disable the banners from showing up on apps when I toggle do not disturb. I don't want to do it just for slack, I want to do it for all the apps that have a banner on the top right. Not sure if this is called badge or dot, but here is example

enter image description here

I'm ok if the solution hides the entire app icon, just am tired of seeing this badge icon show up when I'm trying to focus on something.

Also, I know ...

Score: 0
Josh Correia avatar
How can I pass the FQDN hostname to systemd?
ng flag

I have an Ubuntu 20.04 system in AWS. The %H flag in systemd is replaced with the hostname as expected, but I need a way to capture the output of hostname --fqdn.

%H outputs ip-10-0-0-188 on my instance, but I want to get the equivalent of hostname --fqdn which outputs ip-10-0-0-188.ec2.internal. I am avoiding hardcoding %H.ec2.internal in case this ever changes in the future.

What is the best way to achi ...

Score: 0
murspieg avatar
How create shortcut icons with different Ubuntu terminal settings? (Win10 WSL Rel 22.04)
ls flag

I want two different Ubuntu terminal setups (background color/fonts) for different uses. I managed to do this on an older Win10 machine with v20.04 - it has two desktop icons with different terminal defaults - but I don't remember how I did it.

Can someone tell me a procedure that works best with a recent release (Release 22 / aka jammy)?

Many thanks!

Score: 5
qciccoretti avatar
Install Microsoft Teams for Ubuntu 22.04 LTS
bb flag

I want to install microsoft teams for Ubuntu 22.04 LTS so I can join a video conference. Unfortanetly, I am getting a 404 from the deb download page. I don't want to install the unofficial client from snap for security concerns. Does anyone have this working?

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.