Latest Ubuntu related questions

Score: 0
Graham avatar
Netplan route code to support secondary network
dk flag

Clean install of 22.04 server with all available updates applied. Network: Router (10.1.1.254)-->Server (10.1.1.1)-->second NIC(192.168.49.1)--> Desktop (Windows 10). Windows 11 Desktop on 10.1.1.0 network has access to Internet. Windows 10 on 192.168.49.0 network doesn't. Can ping to/from server/Windows 10. Normally research and find answers myself, but this one has me stumped.

YAML cod ...

Score: 1
Abe avatar
dpkg: error processing package shim-signed (--configure): Errors were encountered while processing: grub-efi-amd64-signed shim-signed
cn flag
Abe

I get the below errors when I hit sudo apt upgrade. I am unable to fix the error. Any help, please?

root@Ubuntu-2204-jammy-amd64-base ~ # sudo apt upgrade -y
Reading package lists... Done
Building dependency tree... Done
Reading state information... Done
Calculating upgrade... Done
Try Ubuntu Pro beta with a free personal subscription on up to 5 machines.
Learn more at https://ubuntu.com/pro
0 upgraded, 0 ...
Score: 1
uberrebu avatar
why is default installation of ubuntu 22.04 lts use half of available storage?
gb flag

new installation of ubuntu 22.04 always try to use half of the available storage on the disk

how can we change this annoying default behavior, so it can use the full storage on disk?!?

enter image description here

Score: 0
Jay Croghan avatar
I want to allow windows users to edit a NTFS drive mounted and shared on my Ubuntu 20.10
in flag

I have mounted my external drive using

mount -o rw,umask=0,gid=users /dev/sda1 /media/usb

And I have given all users rwx permissions

chmod -R +rwxrwxrwx /media/usb

I shared it using Nautilus Sharing and checked the boxes for Allow others to create and delete files and Guest access

But still users on other windows machines cannot edit/add files to the share. How can I mount and share it in a way t ...

Score: 2
BeautifulKostya avatar
How to start services on a system running without systemd on termux?
ss flag

Xubuntu 20.04

The system starts without systemd, so all commands using systemctl end with the error:

#systemctl status snapd.service
System has not been booted with sysmtemd as init system (PID 1). Can't operate.
Failed to connect to bus: Host is down

How can I manage services (and for example run snapd, without which a large number of packages are not installed)?

The system is installed on a smar ...

Score: 0
Brian Mays avatar
Firefox Snap Segmentation Fault Kubuntu 22.04
pl flag

I am getting a segmentation fault when trying to run the Firefox snap Kubuntu 22.04. This is not a new install, and I have been running Kubuntu 22.04 since it was released.

When attempting to find a solution a few days ago, I was getting this error:

/bin/bash: /lib/x86_64-linux-gnu/libdl.so.2: unsupported version 0 of Verdef record
/bin/bash: error while loading shared libraries: /lib/x86_64-linux-gnu ...
Score: 0
acG avatar
MySQL service is masked
gh flag
acG

I have installed MySQL version 5.7 on an Ubuntu machine (v20.04.5). The mysql server instance runs properly for days and then on its own the corresponding mysql service becomes masked.

I then unmask the service by running the command systemctl unmask mysql.service. The service becomes unmasked but I cant run the service because the corresponding mysql.service file gets deleted.

I had this file in the di ...

Score: 0
Eliasmys avatar
Problem when trying to access my HardDrive (Ubuntu 22.04.1 LTS)
ms flag

I recently encountered the following error when trying to access my files on my hard drive from my PC running Ubuntu 22.04.1 LTS:

screenshot of error

Previously, I tried to access a backup through Rescuezilla. I don't know if this is connected to my problem. I was able to access the hard drive from another PC, so the hard drive itself is fine.

Here is the output of sudo fdisk -l /dev/sda:

screenshot of text

Score: 0
Frobozz avatar
"Error: Can't open display: wayland-0" on 22.04/gdm3
ng flag

I am building a new workstation environment on Ubuntu Server 22.04 and manually installing just the minimal desktop components necessary to manage a half dozen libvirt/QEMU/KVM virtual machines (where I do all the real work).

I am having difficulty getting some of my tools (notably imagemagick) to run on the host desktop getting "Error: Can't open display: wayland-0". I get the same running test ...

Score: 0
jifitailu avatar
help with installing virtualbox
mp flag

I tried sudo apt install virtualbox

dpkg: error processing package virtualbox (--configure):
dependency problems - leaving unconfigured
dpkg: dependency problems prevent configuration of virtualbox-qt:
virtualbox-qt depends on virtualbox (= 6.1.38-dfsg-3~ubuntu1.20.04.1); however:
Package virtualbox is not configured yet.

dpkg: error processing package virtualbox-qt (--configure):
dependency problems - l ...
Score: 0
Apprentice Human avatar
Ubuntu 2022.04: How to upgrade Java from 17.0.4 to 17.0.5?
mu flag

I know this is a minor upgrade, and not in stable but I need the minor upgrade for some updated code to run.

  1. How do I find what versions of a package are available?
  2. How do I get the newer Java version when it's not in stable?

My current system shows:

% java -version
openjdk version "17.0.4" 2022-07-19

Many thanks.

Score: 0
Chutler avatar
I can reach my machine vis SSH but not Remote Desktop within my network
cu flag

I've set up 22.04 desktop on a wyse thin client to eventually act as an always available Jellyfin server. I've set up remote desktop access in sharing (including VNC) and have successfully used TightVNC view to get to the Ubuntu desktop from my Win10 machine. I've not successfully figured out logging in via rdp and Windows on RDP client.

I should note, my instance of Ubuntu on the thin client sta ...

Score: 0
ERROR mp4parse : Found 2 nul bytes in "\0\0" error while running Firefox on Ubuntu 22.10 freezes any youtube videos
in flag

I've just upgraded ubuntu 22.04 to 22.10. Everything seems to work great except for Firefox. Infact this is what happens when I run it :

ziomario@Z390-AORUS-PRO-DEST:~/Scrivania$ firefox

[GFX1-]: More than 2 GPUs detected via PCI, secondary GPU is arbitrary
ATTENTION: default value of option mesa_glthread overridden by environment.
ATTENTION: default value of option mesa_glthread overridden by env ...
Score: 0
bee avatar
File created in a script (file is modified at regular interval) : when displayed on the Desktop, the file is not updated automatically
ag flag
bee

I have created a script to display a random line from a file created in a script.

It works fine, the chosen line comes up in a Featherpad window on my desktop. But there is a big problem.

For background information, please find bellow the lines I wrote to achieve that:

  1. Starting with my_library.txt (a 70 Million-word file containing all my book collection), I choose a character name to create my_hero
Score: 1
Erwan avatar
ubuntu-wallpapers: the copyright file doesn't seem to always contain the license with specific distribs
kz flag

This is is a follow-up to this question. In short:

  • I would like to collect all the pictures from the various Ubuntu wallpapers together with their appropriate credits/license.
  • Thanks to the answer, I can interpret the content of the file /usr/share/doc/<package id>/copyright which contains the license info for the files installed in /usr/share/backgrounds/ for each distrib.

This works fine w ...

Score: 1
piernik avatar
issue with aws cli on wsl2 (windows subsystem for Linux)
gh flag

I am using wsl2 on windows 10, but I am unable to access some eks features through AWS cli. I have credentials set on the windows system and everything works. I installed aws cli on wsl2 ubuntu 20.04 and can correctly execute some commands e.g.

aws sts get-caller-identity

but when trying to interact with eks cluster as shown below, it times out.

aws eks list-clusters

When executing this on the Windo ...

Score: 0
Amir Khazaee avatar
How to share socks5 for local network?
sl flag

How can I convert the socks5 service on my u untu into a virtual network interface without using proxy settings and then share this interface for my local network so that the entire network can be connected to socks5 vpn without changing the network settings?

Score: 1
mgw avatar
Bluetooth not working after upgrade to 22.04.1
cn flag
mgw

Uhhh - I have a fresh upgraded device here

sudo dmesg | grep -i blue
[  266.311114] Bluetooth: Core ver 2.22
[  266.311150] NET: Registered PF_BLUETOOTH protocol family
[  266.311151] Bluetooth: HCI device and connection manager initialized
[  266.311155] Bluetooth: HCI socket layer initialized
[  266.311157] Bluetooth: L2CAP socket layer initialized
[  266.311161] Bluetooth: SCO socket layer initi ...
Score: 0
Bipin avatar
Ctrl+C and Ctrl+V for copy and paste not working on Ubuntu 22.04
pl flag

I am not able to use the shortcuts keys Ctrl+C and Ctrl+V for copy and paste, respectively, on my Ubuntu 22.04. However, Ctrl+A works fine. Ctrl+Alt+T also does not work.

Score: 3
BestCoderBoy avatar
DNS names do not resolve when using a local static IP
cr flag

I'm creating a Minecraft server with an old desktop computer (a HP Pavilion) running Ubuntu 22.04 and when trying to set up a local static IP, my DNS appears to stop working entirely. At first, I used netplan to edit the connection details, but as I wasn't confident in editing system files (and I couldn't get it to work!), I just used the Ubuntu GUI for manually setting the IP address.

Before I se ...

Score: 1
Bernard avatar
Ubuntu 18.04 mouse behaves weird after login
cw flag

When I start Ubuntu and before login the mouse behaves normally. After login the mouse behaves weird. I can move the mouse in just a tiny area after stopping the movement the mouse pulls to the middle of that small area. The keyboard behave (as far as I can see) normally. I did not take any specific actions, like installing or configuration software, before this weird behavior started.

What I tri ...

Score: 0
Jodo avatar
How do I dual boot two Ubuntu 22.04 LTS installations?
tt flag

I can dual-boot Linux Mint and Ubuntu. This doesn't seem to work with dual booting Two Ubuntu 22.04 LTS Installations (Both 22.04 LTS).

Any suggestions as to why this does not work and a proposed solution?

Score: 0
Neeraj Saju avatar
Can't SSH to my Ubuntu server after changing the default port number
US flag

I connected to Ubuntu server from my Mac terminal using ssh root@555.555.55.55 (not the real IP address), then I got an error ssh: connect to host 555.555.55.55 port 22: Connection refused. After that I tried the command ssh root@555.555.55.55 -p 55555, then I got the message root@555.555.55.55: Permission denied (publickey).

Before changing the port number I have installed ufw and I changed the port num ...

Score: 0
Abhinav Dharmesh avatar
Ubuntu 18.04 Stuck in Started GNOME Display Manager. Dispacher Service....after trying to crate a swap file
pl flag

Here is the screen image--- [1]: https://i.stack.imgur.com/C0Jo4.jpg

I tried to create a swap file to use it for hibernation.

My PC is Dual Booted with Windows and Ubuntu

CPU: Intel Pentium Dual Core 3.2 GHz

RAM: 4GB

Disk Space:10.4GB

I used sudo fallocate -l 4g /swapfile

Only 2.2 GB was left The disk was full with 0kb left After that it stuck with Started GNOME Display Manager

[EDIT]-- I am thinking  ...

Score: 0
kleindie avatar
ZFS not all shares activated
pn flag

On my test file server, I am sharing ZFS filesystems using the property sharesmb=on. On 20.04, all shares can be used by clients. After upgrading to 22.04, only one off 2 shares are active after system start. The other one has to be activated manually (zfs share -a). All ZFS filesystems with property 'sharesmb=on' should be shared automatically (as in 20.04).

Score: 0
TarekEldeeb avatar
How to use Mergerfs to have multiple disks for /home
ve flag

My growing number of users and their growing projects is pushing towards the limit. Disk usage is touching 100% already for /home.

I need to have a secondary HDD (/dev/sdb1), move some users to that device. Then finally, I'm trying to use mergerfs to mount my old home partition (/dev/sda2) and the new (/dev/sdb1) to /home. So all users could be found normally under /home/

In /etc/fstab I commente ...

Score: 0
dokichan avatar
Can't start OpenVPN server on Linux
eh flag

I am creating my own OpenVPN server on DigitalOcean using this guideline.

I have problem starting from step 10. I just can't start start this server and get error all the time.

The guide says, that I need to execute 2 commands - sudo systemctl -f enable openvpn-server@server.service and sudo systemctl start openvpn-server@server.service.

After execution of the first one it seems like just nothing ha ...

Score: 0
Nick avatar
Netplan configuration problems in Ubuntu Server 22.10
km flag

I have problems with netplan in Ubuntu Server 22.10. IPv4 network not working (after reboot). Here is my netplan config:

network:
  ethernets:
    ens3:
     dhcp4: false
     dhcp6: false
     addresses: [45.80.XX.XX/32, 2a03:XXXX:85::5ba/125]
     nameservers:
        addresses: [1.1.1.1, 8.8.8.8, 2606:4700:4700::1111, 2001:4860:4860::888]
     routes:
     - to: 0.0.0.0/0 # default IPv4 route
   ...
Score: 0
Fakhra Ghafoor avatar
Ubuntu 20.04 LTS not showing icons or anything after power failure during software installation
dz flag

I was installing some software and suddenly a power failure occurred. I restarted my system and it is now showing a blank blue screen with two tabs. One of the tabs is my user and the other is trash and when I click on it it is not leading to anywhere.

Score: 0
user19000691 avatar
How do I interpret the +1 offset in free -m on Linux terminal console?
hn flag

Well, I made a mistake with my first post of this question and I'm pretty sure that I've figured this problem out; however, I love to get feedback from other programmers who may have more direct expertise with issues.

I landed on this page because I am researching the best descriptive methods for explaining the output that sudo free -m command displays in the Ubuntu/Linux terminal. I have a problem wit ...

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.