Latest Ubuntu related questions

Score: 1
pgee70 avatar
adding new drive to zfs raidz
cn flag

i have this raid set up:

root@zen:/dev# zpool status zfs-raid
  pool: zfs-raid
 state: ONLINE
status: Some supported and requested features are not enabled on the pool.
    The pool can still be used, but some features are unavailable.
action: Enable all features using 'zpool upgrade'. Once this is done,
    the pool may no longer be accessible by software that does not support
    the features. Se ...
Score: 0
Enabling a chroot jail
us flag

I wand to set up a chroot jail at /mnt, using chroot /mnt, with the principal supporting directories linked (not copied) from outside the jail. I saw a post suggesting the use of bind -o, but it didn't explain exactly how to use it. If, for instance. I want to be able to use files from /bin and lib64 from within /mnt, how can I achieve that?

Score: 1
Kyle Michaels avatar
How do I make HDMI my default audio out?
gt flag

I'm running Kubuntu 22.10 and when I wake from sleep or reboot I have to go into pulse audio voloume control and change the internal RS780 card from off to HDMI on the configuration tab, I then have to go over to the playback tab and click HDMI out next to firefox, is there any way to make pulse audio remember my settings?

Score: 1
alan laird avatar
Ubuntu 20.04 policy based symmetric routing with multiple interfaces in the same network
bb flag

I have a pair of AWS VMs running Ubuntu 20.04 and I'm sharing an ENI between them. Each host has an eth0 in 192.168.0.0/24 and the ENI is mounted as eth1 also in 192.168.0.0/24.

When I grab the ENI, I change the gateway so that traffic flows out eth1. This destroys sessions connected to eth0 so I'm trying to find a pattern for symmetric routing.

Thanks!

Score: 0
TkqiQvGx avatar
How can I send streaming output (like from the command "vnstat -l") to Conkey?
mf flag

I test-run the commands I want to include on my .conkyrc file by first running them on the CLI. I have been running this command successfully on the CLI...

vnstat --json -l | jq '.rx["ratestring"], .tx["ratestring"]'

but am unable to make it work when I "conky-fy" it.

${execp vnstat --json -l | jq '.rx["ratestring"], .tx["ratestring"]'}

Any suggestions? I'm guessing it either has something to do wit ...

Score: 0
blackpirate avatar
Connect diferent shared storages to one folder
mm flag

I have a cloud server via a server provider (Strato.de) on which I run Ubtun and several shared storages. Is it possible to connect these multiple shared storages (with the NFS path) or to assign them to a single folder.

Score: 0
S. Nixon avatar
Create duplicate link for /dev/mapper devices - Consequences
ru flag

I have an Ubuntu 18.04 server that is not able to perform "sudo apt upgrade" at the moment. It is receiving this message whenever we try to update any packages:

/usr/sbin/grub-probe: error: failed to get canonical path of `/dev/mapper/rootvg-rootlv'.
run-parts: /etc/kernel/postrm.d/zz-update-grub exited with return code 1

The server is still fully functional, and in fact hosts a PostgreSQL environment ...

Score: 0
Yassine Omri avatar
Why I can't boot my ubuntu neither find windows, and how to load kernel in grub?
US flag

I've downloaded ubuntu folder and installed Universal USB installer, now when I turn on my Samsung pc it shows me the two options of ubuntu booting, but none of them runs, the error was "too many fragments", then when I tried to boot from command line it shows an error saying "Kernel must be loaded before booting", I tried to load it but I couldn't find a familiar list when I type ls (it shows many file ...

Score: 0
Brad Mace avatar
Running X Server for a TeamCity build agent
us flag

I'm trying to configure a TeamCity build agent on Ubuntu 20.04 so that it can run automated GUI tests. Originally I was getting errors like:

Caused by: java.awt.HeadlessException: No X11 DISPLAY variable was set, but this program performed an operation which requires it.

but after installing ubuntu-desktop I'm getting:

Caused by: java.awt.AWTError: Can't connect to X11 window server using ':0.0' as  ...

Score: 0
Jay Patel avatar
jammy failed to boot on HP laptop suddenly
mh flag

It looks like my dual boot laptop with win 10 and Ubuntu fails to boot today. I tried to repair the boot as well. Here are the logs before and after boot repairs. It still have same issue, after GNU grub boot selection if just keeps blinking.

Before boot-repair logs:

Log file : Before boot-repair logs

After Boot-repairs logs:

boot-repair-4ppa200                                              [20221108_20 ...
Score: 0
Werner Stolz avatar
Persistent UI lag
ws flag

I am running Ubuntu 20.04. I have a problem with lag in the user interface that has persisted for a very long time. I am of the opinion that it is a hardware issue, because it has lasted through upgrades and multiple re-installations of the operating system.

The lag has recently gotten extremely bad. I now need to pause between each keystroke when I type, otherwise not all of the letters appea ...

Score: 0
Launching bash file exits after first command with "Terminated" message while it runs well within terminal
in flag

I am on Ubuntu 22.04 platform. I made a simple push button GUI in c named t2s and placed it in ~/.local/bin whose path is added to PATH environment variable. While I am pressing down the button, it is recording voice from mic to a temp file. When I release the button GUI exits. I run the following line which works well within terminal:

 t2s && notify-send -u normal  -t 10000 "$( whispercpp - ...
Score: 4
raj avatar
CUPS moved to snap recently?
cn flag
raj

I'm running Ubuntu 20.04. I just noticed after issuing snap list command that my list of installed snaps includes cups, version 2.4.2-4. Directory /snap/cups was updated a few days ago:

drwxr-xr-x 11 root root 159 Oct 22 07:21 836
lrwxrwxrwx  1 root root   3 Nov  1 19:38 current -> 836

This snap wasn't previously there last time I checked. I don't remember installing it manually. Synaptic Package Ma ...

Score: 1
lnee avatar
How to move desktop icons using qdbus in a bash script (plasma)
td flag

How to move desktop icons using qdbus in a bash script

I am using KDE plasma in folder view mode

Score: 2
VanquishVictor avatar
No apps showing in Ubuntu Software
bo flag

I just installed a free image of Ubuntu 22.04. All seems well so far apart from the software store. No apps are showing at all in the categories or search.

I followed a lot of steps in this article with reinstalling gnome-software refresh & sudo apt reinstall gnome-software but no change thus far.

I know I can download the apps from terminal but would still like to try and get Ubuntu Software workin ...

Score: 0
Ubuntu Studio: installing updates, but no admin password, done in a second
in flag

In Ubuntu Studio 22.04, Discover will tell me it has updates some quantity greater than zero, but list only a single item. When I click "Update All" I'm not prompted for a password and the update happens almost instantly, followed by a prompt to restart. What's happening? Is it actually updating?

Score: 0
QuantumBinary avatar
Ubuntu 20.04: bcm13 specific wifi disappearing when driver changes, not working with other drivers
mp flag

Specific wifi connection not shown broadcom drivers nightmare

I have a broadcom bcm4313 pciid 4727 rev01. I'm using Ubuntu 20.04

Today, my home wifi was not showing from the wifi list. However, it showed on my other devices and I was seeing all the neighbors wifis.

It realised that if I uninstalled the "additional drivers" bcmwl-kernel-source and reboot the computer, the wifi was showing again. But wif ...

Score: 0
rzl avatar
How to uninstall Firefox when it doesn't show up as installed in Ubuntu Software center
ec flag
rzl

I need to uninstall and reinstall Firefox to get the ExpressVPN extension to work. The extension was working fine before (I was running Ubuntu 20.x), but I just upgraded to Ubuntu 22.04.01 and the ExpressVPN browser extension stopped working. The documentation says there's a known issue where it can't connect with the desktop app if Firefox was installed from the Ubuntu software center, so I need to uni ...

Score: 0
James Wabi avatar
How can you add memmap to bootable live USB of Ubuntu?
io flag

1. On a PC with Ubuntu 22.04LTS installed on its hard drive, i have etc/default/grub. with the following line: GRUB_CMDLINE_LINUX_DEFAULT="quiet splash memmap=16K$0x0000000B4018000,16K$0x0000000B2018000"

BUT..

2. I try to replicate that line using an Ubuntu live USB flashdrive. And there is no etc/defaut/grub , flashdrive only has boot/grub/grub.cfg and its contents are completely different:

*#pe ...
Score: 0
evild4ve avatar
Ubuntu 20.04 boots to flashing cursor when low on space (due to Shinobi)
us flag

This is a 20.04 Ubuntu PC running a Shinobi server and not much else.

Shinobi has a default behaviour that when a new camera is added it will constantly save its video files into the Shinobi admin user's home folder at /home/Shinobi/videos

And it will keep doing this until the whole hard disk is full.

When it has done this, it has (it seems) prevented Ubuntu from booting normally and opening Gnome. The ...

Score: 0
shafnaz avatar
Ubuntu reinstallation issue
sg flag

I had dual booted my laptop with the windows 11 and Ubuntu. I ran the “sudo rm -rf /*” command accidentally and after that my laptop is not listing any boot device and showing as please reinstall the OS. But when I tried to install the Ubuntu I am getting the following error.

“The installer encountered an error copying files to the hard disk:

[Errno 5] Input/output error

This is often due to a fa ...

Score: 1
archerlinuxer avatar
Flameshot does not work properly on Ubuntu 22.04.1 LTS
ai flag

I freshly installed Ubuntu as my main operating system. I was using Flameshot frequently in Windows but I am having issues on Ubuntu.

enter image description here

When I click on the launcher, now it is opening a small menu. And asking me what I want: Take screenshots, open launcher, etc. ( it was not asking before ) That is ok but the thing is that when I click take a screenshot, it is directly t ...

Score: 0
lernerEarnerBurner123 avatar
screen backlight not working hp victus 15
fo flag

I have an hp victus 15 gaming laptop (dual gpu) and as soon as I booted up linux the screen went dim. BIOS menu and hp victus symbol remains bright every time I boot it up until the distro icon pops up, then the screen goes dim. Have tried multiple distros (currently using ubuntu 22.10). The buttons and /sys/class/brightness folder both work changing that value, and the only brightness variability i get ...

Score: 2
ScriptAutomate avatar
Has the WSL rootfs (.tar.gz) been removed from Ubuntu 22.04 Jammy Releases website?
fr flag

It looks like the WSL tarball of Ubuntu 22.04 has been pulled from the Ubuntu release location. It no longer appears at https://cloud-images.ubuntu.com/releases/jammy/release/. Normally, in the past, it would have been ubuntu-22.04-server-cloudimg-amd64-wsl.rootfs.tar.gz.

I had a gist that helped show how to setup everything via PowerShell, which would include pulling down the WSL image, here:

B ...

Score: 0
Baragu avatar
I cant type the letter "s" in terminal , when I type the terminal changes from colour black to white please help
be flag

That's the default terminal colour.

When I type letter "s" the terminal looks like this now.

Score: 0
Luis Aguilar avatar
NVME issue |nvme2: Failed to configure AEN (cfg 200)
la flag

I have installed 8 NVMEs and 2 M.2 SSD drives in my server but the system only shows 6 NVMEs and 2 M.2 SSD,

do you know what this error means?

  • nvme2: Failed to configure AEN (cfg 200)
  • nvme4: Failed to configure AEN (cfg 200)
  • dmesg command shows:

~$ dmesg | grep nvme [ 495.699325] nvme nvme0: pci function 10000:01:00.0 [ 495.704738] nvme nvme1: pci function 10000:02:00.0 [ 495.712038] nvme 10000:01 ...

Score: 0
markrages avatar
Cannot stop Bluetooth headset from reconnecting
sm flag

Background

I have a Bluetooth headset that I paired to my Ubuntu 22.04 laptop.

I no longer want to pair it to the laptop, because it messes with the headset->phone connection.

From "Settings->Bluetooth" I click on the device. Then I click the red "Remove Device" button.

enter image description here

The popup appears:

enter image description here

I click "Remove".

Now the headset is disconnected.

The problem:

When I power-cycle the headset, it reconne ...

Score: 0
Ilja Polivanovas avatar
ssh-agent sees no keys on default location
za flag

After update to Ubuntu 22.10 every time I use SSH keys (for remote connection or git access) it asks for the key passphrase. As I understand ssh-agent should be running and managing my existing keys, but is seems something is wrong and it keeps asking everytime:

ilja@host:~$ ssh hostname
Enter passphrase for key '/home/ilja/.ssh/id_rsa': 

ilja@host:~/code$ git pull
Enter passphrase for key '/home/ ...
Score: 0
nicholishiell avatar
External SSD causes mount to hang
pe flag

I have an external SSD connected to my computer running Ubuntu 22.04. Previously the drive would just pop up and mount automatically. When that did not happen I tried to mount it manually but the mount command just froze. I have tried the following commands to gather some more information:

sudo dmesg

[2750343.429612] usb 4-2: new SuperSpeed USB device number 16 using xhci_hcd
[2750343.450582] usb 4-2: ...
Score: 0
Alexander avatar
Wifi randomly disconnects then immediately reconnects
bi flag

Several times an hour the Wifi connection drops. In some instances the "Authentication required" for the network appears on top of everything else; in others it reconnects automatically within several seconds (in rare cases up to a minute). When using Zoom, it happens once every couple of minutes, which is not very convenient as this is precisely the place where I'd like the connection to be stable. ...

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.