Latest Ubuntu related questions

Score: 0
webtaster avatar
Satadom switching to read only mode Ubuntu server 20.04
jp flag

I have several servers which are experiencing seemingly random events where the /boot filesystem is switching to read only mode. My disk layout is:

/dev/sda - ext4 - /boot (63Gb)
/dev/nvme4n1p2 / (890Gb)

These are massively over-specced, I know... I am using the UUID to mount rather than the device names above.

I also have 24 x NVME drives mounted under /data (These are fine) I have tried mount -o remoun ...

Score: 0
AARON JEFFERY avatar
Refreshing Software Cache Stalls - While updating
gw flag

I am getting an error when checking for updates. I need to refresh the software cache, when I do…it Freezes/Stalls. I can’t do anything but reboot.

Tried this: sudo apt-get clean ; sudo apt-get remove ; sudo apt-get autoremove ; sudo apt-get update

all this happning on my intel arc pc.

Score: -1
Alfred.37 avatar
What is the difference between the properties of using ZFS on whole disks, partitions or files as a volume?
ng flag

It may be that for some applications it is quite common under ZFS to address whole disks as volumes. However, it is also possible to add partitions and files to the pool.

What are the differences in usage characteristics when using whole disks, partitions or files as a volume as a ZFS volume?

Remark:

  • Not every PC, not every Notebook have the possibility to get installed more than one disk. So that's ...
Score: 0
Robert avatar
Easiest way to enable a firefox snap running on Ubuntu inside a VirtualBox guest to access an auto-mounted shared folder of the host?
cl flag

My setup:

  • Windows 10 host OS
  • Ubuntu 22.04.1 guest OS running inside VirtualBox 7.0.4
  • Several shared host folders auto-mounted on the guest in folder $HOME/Public
  • Firefox installed as snap inside the Ubuntu guest OS

Full read/write access to files inside the shared folders works for non-snap applications. Firefox, however, is unable to read/write files in the shared folders. I would like to enable th ...

Score: 1
mayday0 avatar
Disable password prompt for encrypted LUKS partiton after setting up automatic decryption with TPM2
mu flag

I have a setup with an unencrypted EFI boot partition and an encrypted LVM volume. Secure boot is enabled and I have installed tpm2-toos and configured automatic decryption for the partition with clevis (following this guide: https://security.stackexchange.com/questions/194081/use-tpm2-0-to-securely-decrypt-the-hard-drive-in-linux-unattended)

It works fine, but on boot grub still asks me to enter t ...

Score: 0
petersonal avatar
postfix header check
pt flag

I would like to use postfix header check. I read the manual, examples, and forums, yet I am unable to set up what I would like.

We are getting non delivery reports, and I'd like to silent drop/delete them. Any working examples are welcome.

My settings are:

main.cf:

header_checks = regexp:/etc/postfix/header_checks

header_checks:

/^From:.MAILER-DAEMON@domain.com/ REJECT comment

/^Received: .sendin ...

Score: 1
proxx avatar
Ubuntu 20.04 mounting swap even if disabled
ua flag

TLDR: A fully updated ubuntu 22.04 server is still mounting swap even after removing it from /etc/fstab

I am about to pull my hair over this issue. I've been reading the ubuntu documentation about swap for about 15 times and still can't figure out why this is happening.

I commented out the swap FS in /etc/fstab, did a reboot and my system is still listing a swap drive in /proc/swaps and free -h.

/proc/ ...

Score: 0
Oli avatar
Mount not working with systemd (working with /etc/fstab)
fr flag
Oli

I have a working line in /etc/fstab for mounting a remote samba server

//192.168.1.11/wind  /media/fixe/wind         cifs noauto,user,username=XXX,password=YYY,rw  0 0 

But I would now use automount with systemd (I have other mounting with systemd to NAS synology who are working).

So I tried in mnt-fixe-wind.mount :

meloli@Asus-A17:/etc/systemd/system$ sudo nano mnt-fixe-wind.mount 


[Unit]
Descrip ...
Score: -1
Rat Ratte avatar
Particular Wi-Fi suddenly disappeared from the network list
mx flag

I was playing a game in Steam and when it tried to connect to the Internet, suddenly the wi-fi connection got lost and I am unable to get it back on the network list despite reboots of both the laptop and the router. There are tons of other networks on the list, but none are mine. The network works fine on my tablet PC. A strange thing is that when I plug the wire directly to the laptop, it does show it ...

Score: 0
Tommy Pollák avatar
mediawiki does not find mysql
us flag

After a reinstall of Ubuntu 22.10 and copy of backup to /var/www/html/ of mediawiki-1.38.4, reinstall of PHP8 and enabling of mbstring, intl and xml in a webbrowser to localhost/mediawiki-1.38.4 the browser shows

[bbaec1736a578888733dc2ec] /mediawiki-1.38.4/index.php/ InvalidArgumentException: Wikimedia\Rdbms\Database::getClass no viable database extension found for type 'mysql'

Backtrace:

from /v ...
Score: 0
Roland Deschain avatar
How to automatically power down internal HDD which is mounted and shared with samba?
bz flag

I have recently bought an Intel NUC 12 pro to use as home-server, so now I am exploring the world of Linux a bit (so far I have only used Linux via WSL or for Docker).

I have managed to partition the additional internal 2.5" SATA Drive, set up a ext4 filesystem and automatically mount it to /mnt/mydrivename Additionally I set it up as samba share, so it is available on the Windows PCs at my home. All of ...

Score: 0
Make Firefox crash if out of memory instead of freezing the system
br flag

When out of memory on some heavy websites (like multi-tabbed reddit or just 1-tab mega.nz, given that my Macbook Air has only 4 GB) Firefox not just freezes, but it makes the whole system freeze, while, under the same circumstances, Opera crashes and the system stays ok.

When Firefox does that, there is no way I can fix it without reboot (system monitor, console tty not accessible etc).

Is that some t ...

Score: 0
Maddin avatar
Second monitor detected but no signal on Lenovo P16 Gen 2
re flag

I've been struggling with this problem for a while and been trying out different suggestions but none have worked yet, so I'll ask here!

I run a Lenovo P16 Gen 2 and use its monitor and want to use a second monitor with HDMI. (Using DP is not a possibility, because the one DP port is already taken). Ubuntu recognizes the second monitor in the display settings, with name and resolution, but the mo ...

Score: 0
QF0 avatar
Ubuntu dock: configuring icon preview behaviour
sa flag
QF0

This has been bugging me for months. Ubuntu 22.04, default install and behaviour.

Assume that I have 3 instances of an application running (a browser, for example). The icon in the dock shows 3 dots; so far, so good.

In principle, I can single-click on the icon, and it will show me a preview of all three browser windows, so that I can select the one I want to view. This is great, but it only works if ...

Score: 0
Sasikumar E avatar
Minicom doesn't take keyboard input
xk flag

I am trying to work with the TI TMDSLCDK138 development board. I have installed the SDK in Ubuntu 18.04.6 and developed a boot file and the board is connected to the PC using a USB-UART connector. While the board is powered on I have configured minicom version 2.7.1 for serial communication, and I am able to see the boot-up configuration, but I am not able to provide the keyboard input to the developmen ...

Score: 0
user avatar
Long-running application freezes when screen locks following upgrade to 22.04
sl flag

I upgraded to ubuntu 22.04 earlier this week. I have a long-running java application which I run from eclipse. In the past, this application would continue to run while the screen was locked. Now the application freezes when the screen locks. The application continues when I unlock the screen. I am using an external display connected to a laptop. Any idea why this happens, and how I might change it? Tha ...

Score: 0
myQs avatar
Is there problem with 'read' command in Bash, or in Bash itself when using multiprocessing, or may be I make some mistake?
cy flag

First to mention that I do not have lot of experiences with Bash scripting.
Here is the problem that I observe:

When I execute read command and inside the cycle I run background processes, the read command misses some of the arguments in some very rare cases.

For example: if I read the output of ls -la for big number of video files and on each of them I execute ffmpeg command in a different sub-proc ...

Score: 0
sunShine avatar
How can i solve Access denied in PuTTY?
cf flag

I am trying to use PuTTY. However when I tried to log in I get an Access denied error. I don't think the password is wrong because I use the same password and IP address with ssh when I connect to the Ubuntu server. In /etc/ssh/sshd_config I changed PasswordAuthentication yes to fix the problem, but I got this error.

sshd_config: enter image description here

The error: enter image description here

Score: 1
s.k avatar
Reducing latency before retrieving a local terminal when an SSH session has expired
cn flag
s.k

When working on a remote server, I open an SSH connection in a terminal ssh remote_username@remote_host.

For some reason, if I left this connection idle for too long, the terminal becomes unresponsive, e.g. whatever key I hit, absolutely nothing happens.

But after a certain amount of time, I'm given back the hand on the underlying local terminal and I can work again:

remote_user@remote_server:~$ # <- ...
Score: 1
Microphone noise cancellation
in flag

I managed to get the microphone noise cancellation to work (in 20.04) a few months ago by adding the following to the /etc/pulse/default.pa

load-module module-echo-cancel source_name=noechosource sink_name=noechosink
set-default-source noechosource
set-default-sink noechosink

It added a second microphone option to the Ubuntu sound settings and worked great. But one day the second option had disappe ...

Score: 0
PolarBear2015 avatar
How can I run Unbuntu on raspberry-pi 3 or 4 using only a single core?
cn flag

I would like to use the Raspberry-Pi 3 or 4 to get a ballpark performance estimate for a 64bit-ARM embedded system that runs Linux but only has a single core. (I don't have the target system yet). I am using Ubuntu to get 64bit.

For this aim I would like to run the system using only one core.

I am not sure if Ubuntu uses u-Boot or Grub (/boot seems to use Grub), I have tried setting maxcpus=1 in GRU ...

Score: 0
najkarika avatar
How to Install Driver for Camera and Touchscreen in Ubuntu 22.10
dj flag

I have Windows Tablet Thunderbook (w802) and I want to have Ubuntu on it. It is really important that Camera and Touchscreen are working properly. Camera is OmniVision ov2680 and the Touchscreen is Goodix gt9110p.

I found online goodix.c and something similar for OmniVision, but I don’t know what to do with these files.

I already installed Ubuntu 22.10 and Camera and Touchscreen are not working. I ...

Score: 1
Shiftfire avatar
HP touchscreen malfunctioning in Kubuntu 22.04.1 LTS
ax flag

I understand there are a large amount of questions regarding disabling the touchscreens and I've yet to find a useful answer from any of them. I have come so far as to find what seems to be the correct file for the actual touchscreen, however, I am unsure for general lack of knowledge for how these drivers are placed in the filesystem.

I ran the following to find the file sudo xinput list This returned  ...

Score: 0
Jayen avatar
Google Cloud mirror that works without external IP address
cn flag

Is there a Google Cloud mirror of Ubuntu that works without an external IP address? I have a Cloud VM instance which I want to keep updated. I tried australia-southeast1.gce.archive.ubuntu.com and the IP resolves to 35.189.39.228 but 35.189.39.228 doesn't respond.

Score: 0
user5005768 avatar
How to repair Windows boot manager from Ubuntu
us flag

I have Windows pre-installed in PC SSD. I also installed Ubuntu alongside. But now i can not switch to Windows from ubuntu grub. I want to switch to Windows without losing previous data. How to fix this problem.

Here are the boot sectors Notice that currently, windows boot looks inactive with no asterisk *.

sudo efibootmgr -v BootCurrent: 0002
Timeout: 0 seconds
BootOrder: 0000,0002,9999
Boot0000* ubu ...
Score: 0
claudiosala80 avatar
Enabling keyboard backlight at startup
tm flag

I have a Lenovo IdeaPad wit Ubutnu 22.10 and I have an issue with keyboard backligh: every boot I need to enable with the function keys. Is there a way to avoid this and keep it always acive?

I found a lot of posts but they refer to totally not working light: mine is working but I need to re-enable each boot.

I have this:

root@tiberio:~# ls /sys/class/leds
input2::capslock  input2::numlock  input2::scrol ...
Score: 0
Alexander Zeitler avatar
exo-desktop-item-edit parameters for command
ye flag

I created a desktop launcher for exo-desktop-item-edit with this command:

exo-desktop-item-edit --create-new ~/.local/share/applications

However, when starting the launcher to create a new launcher, it is asking for a filename / location when saving.

Seems like the --create-new ~/.local/share/applications parameter is ignored when being run as launcher command while it works fine from the command l ...

Score: 0
Abdul Haadi Alhassan avatar
Ubuntu Screen recording not showing in options for screen caputring
co flag

When I press my function key + prntsc key it brings the screen capturing dialogue where you can toggle between screen recording or screenshot. Recently when I open the dialogue it does not give me the option to screen record just screenshots, I'm wondering whether anybody has also been encountering this error and whether there is a solution for it? Also, my laptop is using Ubuntu 22.10.

Score: 0
Ram avatar
"cannot find install snap firefox at revision 2277: missing file /snap/firefox/2277/meta/snap.yaml"
fr flag
Ram

enter image description here

This just started happening tonight. When I try to start firefox, the cursor spins around for a moment and then nothing. Firefox never starts up and its not found anywhere in htop. Any ideas?

Score: 0
Mr. J avatar
Format USB drive that is formatted as FAT32, into EXT4 from Windows 11/WSL
bd flag

I have a USB stick that is formatted as FAT32. I want to format it as EXT4 but I cannot do that from Windows despite following the advice. As the usb stick is formatted in FAT32 I can't see it in WSL, otherwise I would format it there.

Any other ideas on how to do this?

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.