Newest Questions
245,223 questions
1
vote
0
answers
16
views
Transfer qcow file from one machine to the other failed
I had a VM (qcow2) on my previous PC (created using gnome-boxes) and wanted to run it on another host (previous one was Arch Linux, current one too, still inside gnome boxes) but I encountered the ...
0
votes
1
answer
26
views
Is possible to discover an ip used by interface, if ip class is not know, maybe using arp?
As title said: is possible to discover an ip used by interface, if ip range is not know (I don't know the ip address used, es: 10.3.1.1 or ip range 10.3.1.0/24 otherwise is simple using fping), maybe ...
0
votes
1
answer
28
views
Reading data from serial port on linux
We have an old setup of a PLC and an old PC (from 90s). The PC previously ran a windows program reading PLC data from a Serial port and plotting it on the monitor. Long story short, the old program no ...
-2
votes
0
answers
27
views
CTRL+ALT+FN# doesn't work anymore
key sequence CTRL+ALT+FN# doesn't work anymore
1
vote
4
answers
113
views
Does the content of LUKS disks become encrypted again at unmount or at power-off
It is clear that when a LUKS disk is mounted and the password/key has been provided, the contents are decrypted. I am wondering if unmounting the disk is sufficient to encrypt the contents again, or ...
0
votes
0
answers
16
views
Linux on Lenovo Miix 300
I want to install a Linux on my old Lenovo Miix 300, which has currently Win 10 installed. I followed this guide:
https://super-useful-things.com/2021/05/02/install-linux-on-lenovo-miix/
However I ...
0
votes
1
answer
21
views
disable bash job control warning "job specification requires leading `%'"?
I just rebooted one of my systems for the first time in several months, restarted tmux and my usual set of bash shells for tailing various log files, and noticed that running fg n (i.e. fg followed by ...
1
vote
1
answer
67
views
Polkit actions spawn authorization dialogs without prior user action
From time to time, an authentication dialog appears on my laptop running Linux Mint asking me to authorize some action. I've seen several different actions so far. This has been happening for many ...
0
votes
0
answers
33
views
Return of "unable to boot" error
At the start of this year, running a kali live USB on a Lenovo (Lunar Lake) "Aura Edition" laptop was impossible due to incompatible hardware. Then, approx. 4 months ago, kali 2025.3 ...
2
votes
3
answers
148
views
bash syntax: what does '[@]+' mean? [duplicate]
I have a script that parses command line arguments.
The intro to the loop to iterate over the argument array looks like this:
for arg in ${args[@]+"${args[@]}"}; do
Can someone explain this ...
0
votes
0
answers
28
views
Debian 13: localsearch (indexing service) is not indexing smb share on a Synology NAS mounted via the /etc/fstab file
I have a laptop with Debian 13 installed and a Synology NAS with an SMB share that holds music files. I have added a line to the /etc/fstab file to auto mount this share during startup. The line is ...
0
votes
0
answers
28
views
Systemd service not executing on resume
Similar issue to this post: Writing a systemd service to be executed at resume
I have a service that I want executed when the computer wakes from sleep. Here is the service:
[Unit]
Description=User ...
-1
votes
0
answers
54
views
Require advice on starting with Linux [closed]
I am a fresher uni student and starting out fresh with learning Linux. I have some experience on working with Python. I need some advice on beginning my journey to learn Linux: resources I can access, ...
6
votes
3
answers
363
views
Difference between these 2 different ways of extracting files from a zip archive
I am trying to unzip a set of files (3 files). These files contain a lot of random files, duplicate files etc. To do this, I am first unziping the list of the names of files into a text file, then ...
6
votes
2
answers
391
views
How to resize ext4 without adding more inodes?
On this filesystem, there are enough inodes already, I only need more filesystem size:
# df -i
Filesystem Inodes IUsed IFree IUse% Mounted on
/dev/mapper/spinning-backup ...
1
vote
0
answers
31
views
Debian: sssd does not start because of permission problems of /etc/sssd/sssd.conf that are automatically set
On Debian 13 a fresh installed sssd (2.10.1) shows strange permission errors after the start using systemctl restart sssd.service:
systemd[1]: Starting sssd.service - System Security Services Daemon......
0
votes
1
answer
68
views
Do posix functions like getpeername or getsockname completely rewrite their buffers?
I am new to socket programming & I have realized that most posix functions from libc require that you pass a buffer & a length. While I can understand this helps the functions to understand ...
1
vote
0
answers
31
views
I'm trying to share a folder, but Fedora displays:- Failed to enable unit: Unit samba.service does not exist
I'm trying to follow the instructions on the Fedora site, to create a Samba share:-
sudo dnf install samba
Package "samba-2:4.23.3-1.fc43.x86_64" is already installed. Nothing to do.
sudo ...
3
votes
6
answers
306
views
How can I use sed to chain append lines from a text file, add it as a suffix to the text on the same lines numbers on another file, and so on?
I've tried using sed for this. I've tried putting the lines of interest in variables as well.
I have two examples I want to achieve for now. Lets say I have thousands of urls in a file called links....
1
vote
0
answers
15
views
Sleep or reboot kills sound, switching sound settings back and forth on the same soundcard revives it. Ideas to troubleshoot?
Problem: Sleep or restart kills all sound from the system.
Workaround: Using the system settings, switching soundcard's profile from Pro Audio to Analog Stereo Duplex and port to Line Out / headphones ...
0
votes
0
answers
18
views
Does loginctl terminate-user USER stop user's process gracefully?
In order to write to a directory, I made a user member of a group called node_exporter.
This user, called podman, had lingering enabled.
I logged out and logged in again and verified with id the new ...
1
vote
0
answers
13
views
U-Boot signature verification using ECDSA fails
I'm trying to use ECDSA (prime256v1) for signature verification in U-Boot (git tag "v2025.10"). I used the sample configuration from Verified Boot on the Beaglebone Black as a template. ...
2
votes
0
answers
12
views
How can I reconfigure my keyboard layout on Arch+KDE?
Recently I got a Thinkpad T480 with a US keyboard layout and installed Arch (I know, the stereotype...), with KDE.
I mostly use Windows for work, and I'm used to using an American physical layout ...
3
votes
1
answer
56
views
Simplest way to use apt list output as argument to apt
I sometimes find myself wanting to use the output of apt list as a list of arguments to apt, i.e. a space separated list of package names.
Any time I want this I have to search for how to do it and ...
-3
votes
1
answer
34
views
How to fix the update and upgrade in ParrotOS
How do I fix this error?
GPG error: https://deb.parrot.sh/parrot parrot InRelease: The following signatures couldn't be verified because the public key is not available: NO_PUBKEY 7A8286AF0E81EE4A
E: ...
3
votes
1
answer
63
views
How to find the IP address of a service listed in the "avahi-browse" output?
I can very happily list the systems on my local net with the avahi-browser command:
$ avahi-browse --all --verbose
Server version: avahi 0.8; Host name: mylinux.local
E Ifce Prot Name ...
1
vote
1
answer
18
views
No Xorg after upgrade on Debian testing/forky
After today's apt-upgrade of my Debian testing system I cannot start an (Xorg) x-session any more on a machine with Intel HD graphics and using the modesetting driver (the classic i915 does not work ...
8
votes
1
answer
435
views
What is the USER= value reported for sudo attempts?
On my Arch system, failed attempts to run sudo cause a line like this to be added to the logs (note the USER=root):
Nov 20 14:59:31 oregano sudo[191472]: bob : user NOT in sudoers ; TTY=pts/26 ; ...
0
votes
1
answer
32
views
Can I have a Systemd service unit stop only when other services have already stopped
I have 5 service units setup in systemd. I need service file 5 to only stop after 1-4 service files have stopped first. How can I make that happen.
9
votes
2
answers
910
views
Why does crontab use a wrong editor?
man crontab reads:
The -e option is used to edit the current crontab using the editor specified by the VISUAL or EDITOR
environment variables. After you exit from the editor, the modified ...
0
votes
1
answer
16
views
Debian as client to several different (!) LDAP servers using LDAP/NSS / nss-pam-ldapd
I want to use a Debian Stable system to authentificate to two different LDAP servers that provide user/password/group data using e.g. LDAP/NSS / nss-pam-ldapd (https://wiki.debian.org/LDAP/NSS, https:/...
0
votes
1
answer
30
views
Not able to yum/dnf gparted on centos 10
All,
I find that gparted is not downloaded on centos 10 even after installing sudo dnf install epel-release -y . Other packages also are not downloadable like gvim. Any idea what should I do?
Here are ...
0
votes
0
answers
49
views
how to convert hex memory dump to Docsis config file?
Hex memory dump is Docsis config file. Is it possible to convert this hex dump info valid Docsis config file? Preferably, using Perl and DOCSIS::ConfigFile module. (or Python scripts, python-docsis). ...
0
votes
0
answers
28
views
Linux kernel “BUG: Bad page state / Bad page cache in process python” during PyTorch distributed training (NVidia 5090 + Ubuntu 22.04)
I’m encountering a recurring kernel memory error while running heavy PyTorch training workloads .
The system eventually becomes unstable, training stops, SSH disconnects, and the machine needs a ...
0
votes
0
answers
10
views
Tablet mode: keyboard/touchpad not responsive after folding back to laptop position
I have an HP Elitebook X360, which can be folded to tablet mode.
I am running XFCE4 under GDM3 with Debian trixie.
Occasionally when I have used tablet mode, the keyboard and touchpad remain disabled ...
0
votes
0
answers
6
views
auditd rule invalid when the folder in the rule is missing - mounting disks
Goal is to use Linux's auditd to capture file copies from a folder after which a usb disk is auto mounted to, in RHEL-8.10.
Normally the usb disk is not mounted; I want to hot plug in the usb disk in ...
0
votes
0
answers
38
views
Arch Linux start script
Hi I was just wondering if this script looks ok I run it after I login thanks.
#!/bin/bash
echo "hi, starting wifi, nft and desktop"
sudo ls
sudo systemctl start wpaStart.service
sudo nft -...
0
votes
0
answers
33
views
Nvidia Settings Not Identifying Ultrawide Monitor's as Ultrawide After Update
Recently, after I updated my whole Arch config, something strange happened. My Nvidia Settings isn't showing an ultrawide option for my second monitor, despite both monitors being identical models. I'...
0
votes
1
answer
75
views
How to manage swap memory inside an encrypted LUKS LVM?
I am using Kubuntu which is Ubuntu with KDE. My swap partition is too small causing me some lag. I have 16GB Ram but it is set to 1.9GB. Attached is screen shots of my current partition. vgkubuntu is ...
0
votes
0
answers
15
views
Bind9 Queries Somtimes Fail
I migrated from a Windows DNS server to Bind9 this year. Both were configured as split DNS for local servers, and recursive for public servers (not forwarding). About once or twice a day now, I get ...
0
votes
1
answer
748
views
Why is this FAT filesystem recording access time?
FAT isn't meant to record file access time, but the FAT filesystem I have in a VeraCrypt container file does. Why is this?
This was before I opened the file /run/media/veracrypt1/test:
~ $ stat /run/...
2
votes
1
answer
36
views
ERROR activating modem: Using sim card for mobile broadband in manjaro
I have a sim card from sim.de and try to use it in my thinkpad laptop.
When I put the sim-card in it asks me for the pin. I logged the output of journalctl -u ModemManager -f
Nov 19 11:14:43 raphael-...
-1
votes
1
answer
55
views
Is RAM + SWAP > 4GB possible on arm32?
On x86, the solution would be either PAE, but yet better is to use a 32-bit system with a 64-bit kernel.
The physical memory of the planned 32-bit ARM system is only 3GB. I would like to increase it, ...
0
votes
0
answers
27
views
How can I automatically set some CPU parameters (via `/sys/devices/system/cpu/...``) when the system boots?
DISTRO: Fedora 41 KDE
GOAL: Im trying to automatically set some cpu parameters (per-CPU max frequency, governors, energy policy, etc.) during my boot process. I wrote a script to do this (it lives at /...
0
votes
0
answers
16
views
nixos says "wayland.windowManager.sway.config.bindswitches does not exist" even though it is clearly documented
I am trying to set up my sway configuration in home-manager on nixos, my config is as follows for sway
{ ... }:
let
laptop = "eDP-1";
in
{
wayland....
1
vote
1
answer
32
views
How to dump the lost+found content from an ext4 img file that cannot be mounted using debugfs in linux and keep the folder hierarchy?
How to dump the lost+found content from an ext4 img file that cannot be mounted using debugfs in linux and keep the folder hierarchy?
My ext4 disk was failing. I made a disk image.
I tried e2fsck and ...
2
votes
0
answers
25
views
Linux login and unlock screen by two passwords + face recognition
How to configure PAM to asks for password, and try recognize of face or input additional password.
I need to use sudo by face. Additional password is required to enhance security (nobody will run sudo ...
7
votes
4
answers
486
views
How to separate start directories and expression in `find`?
find takes an (optional) list of (what the man page calls) "starting points", i.e. directories, followed by an expression. Is there a way to cleanly separate both types of arguments so that ...
0
votes
0
answers
25
views
Docker + Create AP setup
I know this will be a bit of a stretch but...
So I'm running ArchLinux on a Desktop PC with an i5, RX 6800, and a Realtek Wifi card from TP Link.
I installed the linux wifi hotspot AUR package and ...
1
vote
1
answer
31
views
Kylin - Monitor CPU by process name
I am new to Kylin , I would like to monitor the CPU stats for a group of processes which share the same name. Let's pretend that the process name = BOB.exe
First idea is to use this type of format, ...