Latest Ubuntu related questions

Score: 2
Johny avatar
Ubuntu Cloud Image 20.04, cloud-init error
id flag

esxi 8.0, Ubuntu 20.04(focal). I've created cidata.ico with hdiutil makehybrid -o cidata.iso cidata -iso -joliet

user-data content:

#cloud-config
users:
  - name: demo
    groups: sudo
    shell: /bin/bash
    sudo: ALL=(ALL) NOPASSWD:ALL
    ssh-authorized-keys:
      - ssh-rsa AAAAB3NzaC1yc2EAAAADAQABAAACA... 

getting

[    5.671765] cloud-init[680]: 2022-11-02 01:06:00,248 - schema.py[WARNING]: In ...
Score: 1
Alex avatar
Modified DNS Settings to Fix Wireguard but Disabled Internet
at flag

I followed meetnicks post here How do I disable systemd-resolved and replace with something sane on Ubuntu 18?

to fix my wireguard connection and now I cannot connect to the web at all. I'm running 22.10 and would like to reset the DNS settings so I could get back on the web. Thanks!

Score: 1
Sayantan Mandal avatar
FSL installs on Ubuntu 22.10, but no FSL function is available
fr flag

I tried installing FMRIB's FSL toolkit on Ubuntu 22.10. The downloaded fslinstaller.py runs absolutely fine without any errors, and clears both stages. It selects /usr/local/fsl as the default install directory. However, when trying to use FSL it is not detected. For instance, echo $FSLDIR returns nothing.I mean it literally returns an empty line. Anything else, including flirt -version and fsleyes s ...

Score: 0
Daniel L avatar
Multiple Network Interfaces on same subnet
hn flag

I have multiple isolated networks that need to stay isolated but use the same IP scheme. 10.100.0.0/16. It’s special use networking and the 4 networks shouldn’t be able to see each other.

In a perfect world, I have my Ubuntu computer able to talk to all 4, but be able to keep them separate.

I have the 4 landed as Vlan adapters with no dice, I’m guessing it didn’t know where to send outgoing  ...

Score: 0
Paulo Sergio Schlogl avatar
Need help to figure out a regex to modify some files
in flag

I have some files that I need to clean up some names.

for example:

GCA_940670685.1_Clostridium_sp_chr  3757330
GCA_940677205.1_Clostridium_colinum_chr 2035557
GCA_942548115.1_Aeromicrobium_sp_chr    3463989
GCA_943169635.1_Fenollaria_sp_chr   3260126
GCA_943169825.1_Varibaculum_sp_chr  4423380
GCA_943736995.1_Sporosarcina_sp_chr 3771420

And I need some like this:

GCA_940670685.1 3757330
GCA_9406772 ...
Score: 2
Reuben Carr avatar
how do I uninstall Ubuntu server and install Ubuntu desktop?
cg flag

I installed a Ubuntu server, not knowing that it didn’t come with a GUI, and since I don’t have Ethernet connection, upgrading it with a sudo command is not an option. how would I go about uninstalling Ubuntu server, and installing Ubuntu desktop with my USB? It already has the installation loaded onto it.

Another option that might work for me is to install an Ubuntu Desktop Environment (GUI) ...

Score: 0
Proz3m0 avatar
How to configure ModemManager to automatically register to home network when an unactivated sim gets activated
dk flag

I have a Sierra Wireless MC7421 LTE modem. I could configure it using NetworkManager and ModemManager to connect to the cellular network and access the internet.

The problem I have now is if the system with the modem starts up with an unactivated SIM card, which then get activated, ModemManager or NetworkManager does not connect to the network without a reboot.

Is there any way for NetworkManager or ...

Score: 0
wb4alm avatar
nvidia video card - X11 was working - system update changed default to wayland - now system is unstable
gm flag

How can I change from wayland to x11?

UBUNTU 22.04.1 LTS was installed from scratch after the upgrade from 20.04 LTS failed due to problems with PYTHON 3.

I CAN NOT USE THE cog on the right-hand bottom edge of the screen to change the display manager, because the gear icon is NOT displayed.

The logon gear is NOT displayed on my screen, probably because it is too close to the edge. My SAMSUNG 4k monitor ...

Score: 0
linuxnoobie avatar
Clock skew detected on Ceph node
ml flag

I created a 3 node ceph cluster and I am getting a warning: clock skew detected on mon.ceph-node01.

All 3 nodes are in sync though (the diffences are due to time to execute and within the 5 sec Ceph threshold): #for NODE in ceph-node01 ceph-node02 ceph-node03; do ssh $NODE "hostname && date && hwclock"; done ceph-node01 Tue Nov 1 06:54:29 PM EDT 2022 2022-11-01 18:54:29.450905-0 ...

Score: 0
Samuel Osoba avatar
How to create a Useable Partition from Ubuntu OS Installation Partition
cn flag

I have a problem with using the free space on my current disk, somehow the only space visible on the 512GB disk is 105GB.

Partition Break-down

  • Model: ATA SSD 512GB (scsi)

  • Disk /dev/sda: 512GB

  • Sector size (logical/physical): 512B/512B

  • Partition Table: gpt

  • Disk Flags:

  • Number Start End Size File system Name Flags

  • 1 1049kB 1128MB 1127MB fat32 boot, esp

  • 2 112 ...

Score: 0
jeffschips avatar
Uninstall google earth pro redux
cn flag

Installed google earth pro and cannot find any solution on how to totally purge this from my ubuntu Jammy system. All the instructions and help are for google earth stable, not pro. I need to install because whenever I run apt-get update I have errors about .... "configured multiple times in /etc/apt/sources.list.d/google-earth-pro.list:3 and /etc/apt/sources.list.d"

So I'll just get rid of it a ...

Score: 0
JornadaPro avatar
Can't get sound to work when connecting Airpods Pro (Second Generation) to bluetooth in Ubuntu 22.10
by flag

I am using Ubuntu 22.10 and I am able to successfully pair Apple AirPods Pro (2nd Generation) via Bluetooth. However, I cannot get sound to work once connected. I know they are paired correctly because The AirPods do seem to be able to control the volume of the system. I am able to adjust the volume using the stem-swipe gesture but no sound passes through the device.

I do notice I get a split sec ...

Score: 1
BanjoTheBirb avatar
Files tries to search everytime I try to rename file when downloading
za flag

Recently when I have been trying to download a file from Firefox (and to my knowledge, other web browsers as well), everytime I try to rename a file, it tries to search my files instead, and doing this also results in it not downloading at all, regardless of whether the name of the file actually ended up changing

Any help to fix this would be appreciated. Thank you!

Score: 0
Azzam Radman avatar
Cannot install docker-desktop on ubuntu 20.04
nz flag

I follow the official instructions to install docker-desktop from: https://docs.docker.com/desktop/install/ubuntu/

However, when I reach this command line:

sudo apt-get install ./docker-desktop-<version>-<arch>.deb

I get this error:

bash: version: No such file or directory

How can I solve this problem?

Score: 0
wonglik avatar
Chrome and Firefox behave odd, switching to first tab, zooming on Google Maps
my flag

I suddenly got odd problem with my browsers. After opening a link (nothing bogus, blog about energy prices, found on major Reddit sub, nobody else reported issues) my Chrome browser started to always switch to first tab. If I open new tab, Chrome will switch to first one. If I click on last one it will quickly tabulate through them to the first one. If I move first somewhere else it will tab to new firs ...

Score: 0
Сергей Викторов avatar
Problems setting keyboard layout shortcut to shift+alt via gnome-tweaks or gsettings

As many new Ubuntu users, I faced a problem of inability to set keyboard layout switch shortcut to shift + alt.

Following this thread, I installed gnome-tweaks and bumped into this problem: layout switching order was en-en-ru while I had only 2 layouts (en and ru). Also, layout changes were undisplayed in the top right corner panel (it was always showing en).

As a workaround, I tried similar solution  ...

Score: 0
Gua avatar
Enable 1GB Huge Pages on ubuntu 20.04 failed using `echo 1 > /sys/kernel/mm/hugepages/hugepages-1048576kB/nr_hugepages`
bg flag
Gua

I try to enable 1GB Huge Pages on Ubuntu Desktop 20.04 using echo 1 > /sys/kernel/mm/hugepages/hugepages-1048576kB/nr_hugepages with the root user account, but I can't write to /sys/kernel/mm/hugepages/hugepages-1048576kB/nr_hugepages using the root user account, because there's "No such file or directory" on my Ubuntu Desktop 20.04: How can I resolve this?

Score: 0
Vulkan not working Ubuntu 20.04 NVS 5200m Intel HD 4000
in flag

I am having an issue with Vulkan and my GPU. When I run vulkaninfo it only shows up with info about my integrated Intel GPU, nothing about the Nvidia. If I run vkcube or War Thunder, the screen stays black and nothing happens. After a while with War thunder I can hear jets flying by and music in the background, so the game launches "properly". I have the prime profile set to NVIDIA (Performance mode)

Score: 0
PythonCoder123 avatar
ModuleNotFoundError: No module named 'CommandNotFound'
gb flag

I manually installed python3.8.5 on my Ubuntu laptop after I accidentally deleted it from /usr/bin. I have successfully linked my python python3 and pip3 to my computer so when I type which <either python, python3, or pip3> it gives a path and when I type them alone I get the shell.

For example,

jayakumar@jayakumarUbuntu:~/Downloads$ pip3 install pygame
Defaulting to user installation because ...
Score: 0
Huzaifa khan avatar
Disable all traffic through OpenVpn
bt flag

I have installed the OpenVpn server in my Ubuntu 22.04. The issue is while i connect to the openvpn server my all traffic going to the server which causing the internet connectivity issue. I need only required traffic go to the openvpn server. I have followed multiple solutions which available on internet but nothing works. One of them is: https://serverfault.com/questions/826541/windows-10-openv ...

Score: 0
evild4ve avatar
Xubuntu Studio - Is there a console command I can use to reset all gamepads?
us flag

This is an Ubuntu Studio PC with Xfce desktop, being used as a gaming emulator.

The gamepads are:- 2 x Xbox One controllers (over USB not bluetooth) 3 x Dualshock4 controllers (over USB not bluetooth)

I'm happy with the udev rules and other settings as they are at boot. Most Linux games with full controller support will work correctly with up to 4 players, and Steam and most of the emulators can fin ...

Score: 1
AstralV avatar
Bash script to return lines matching a pattern and then count them?
ms flag

I'm trying to make a simple bash script to take user input and then search a .lst file for lines matching said input and then the count of matching lines. I'm pretty inexperienced with bash so I was wondering if anyone could point out what I'm doing incorrectly. Here's what I've got going on:

 echo "Enter pattern to be searched: "
 read pattern

 sed -n "/$pattern/p" "$file"
 sed -n "/$pattern/p" " ...
Score: 0
m615 avatar
I have installed nemo file manager on ubuntu 22.10 and there is a bug with it
cd flag

I have installed Nemo file manager on Ubuntu 22.10, so I noticed that when I switch the workspace, the desktop icons remain in sight. I know that what I just said is unclear but I am sure that the picture I have attached will make it really clear. What the picture shows it does not happen with the nautilus file manager. I hope you understand me and sorry for my English, I am Italian.i

Score: 1
prime_mover avatar
How to run fsck on encrypted (luks) disk from a bootable usb?
th flag

I have encrypted my disk using LUKS. After every boot up, my machine throws "DISK IS LIKELY TO FAIL SOON" message. To fix this, I am trying to run fsck on the root partition. I tried running fsck in recovery mode but it failed with the following message:

/lib/recovery-mode/recovery-menu: line 80: /etc/default/rcs: No such file or directory
fsck from utli-linux 2.37.2
/dev/mapper/vgubuntu-root is mounte ...
Score: 1
mbbcat avatar
live session locked out ubuntu-studio 22.10
ee flag

22.10 Live version locks it's screen & demands a user & password - none of the usual suspects seems to work - may I please know the magic keys ? I have processes running & cannot get to them!

Score: 0
Tolidom avatar
How can I name my log files according to the date?
uy flag

I have tried to do something like date=date and then name my file $date.txt but the output was date.txt.

Fun thing, I asked Copilot to help but I don't understand its advice and unsure how to fix it:

Crontab

# run the main script and outputs to a different file every day
20 12 * * * python3 export/main.py > export/logs/$(date +\%Y-\%m-\%d).log 2>&1

Oh by the way I'd like it to work with Fis ...

Score: 0
themassiveone avatar
Installing Latest Openjdk and Gradle using package managers only
bg flag

Im fairly new to developing using the java ecosystem of tools, but i have never experienced a language ecosystem that involves as much installation effort.

My goal is to create a pico cli following this article. As I usually develop on dedicated virtual machines over ssh to avoid version conflicts, I set up a 22.04 vm with openjdk and gradle. Initially i tried to use apt to install openjdk and gr ...

Score: 0
Hardy avatar
Ubuntu user groups : Permission denied
pg flag

I have admin user , root user and one other user 'www',

I'm using 'www' user for Nginx based solutions, its non admin user. User id 1001.

I have enable ssh login for 'www' user cause for change file via vscode while developments.

I just wanna read / write access to www user's file from 'admin' user but its says permission denied.

Please see the below screenshot.

Cannot delete folders or rename from ...

Score: 0
Maciej3j avatar
How to hide these icons on the menu bar after Ubuntu installation
tr flag

After installation of Ubuntu 22.10 I decided to hide all those icons on my side menu bar, but there is no way to do this. When I press right-click there are usually two options: "New window" and "Unmount" or one simple "mount" when I press "unmount". When I tried "unmounting" - nothing really happened. How can I remove it from my eyes? What I did earlier: I have installed Ubuntu 22.10, then logged in Gn ...

Score: 1
Malfunction54 avatar
WebDAV connections failing in 22.10
tv flag

I have been using the built-in backup tool (I think it's deja-dup-based) to perform system backups to a WebDAV point hosted on a public NextCloud instance for several years. I noticed in the last week or so, that the backup tool spits out this message: backup error message: Message recipient disconnected from message bus without replying

I did some digging in the log files and found this message in /var ...

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.