Newest Questions
245,222 questions
1
vote
0
answers
22
views
How to get max resolution from new monitor when it can't be selected in display settings
I was trying to solve an issue of my new monitor not going over 1600 x 920 when it's a 2560x1440 monitor. My other two monitors work fine.
For insight, the new monitor is a GIGABYTE MO27Q2
PopOS 22....
0
votes
0
answers
23
views
mariadb client connection settings
Computer with mariadb server was set up a long time ago and has 3 client-computers on LAN that work great.
I want to add another client.
Installed mariadb-client on latest linux mint 22.2. But,
...
0
votes
1
answer
33
views
Why is the service simultaneously "active with no instances" and "stopped"?
System info
Hardware: GL iNET X3000
OS: OpenWrt 21.02-SNAPSHOT
Shell: ash
Now, I will let the output speak for itself:
root@GL-X3000:~# service prometheus-node-exporter-lua restart
root@GL-X3000:~# ...
0
votes
0
answers
45
views
sddm is activating the wrong monitor by default
I have Archlinux installed with Hyprland and sddm as the login/greeter.
I have 2 monitors connected, and hyprland correctly identifies them and displays content according to their physical locations.
...
2
votes
1
answer
28
views
systemd-networkd drop-in files for configuring network adaptors
The Issue
I am reading this systemd documentation
I have the following files:
/usr/lib/systemd/network/80-wired.network
[Match]
eth0
[Network]
Address=192.168.3.40/22
Gateway=192.168.0.1
/usr/lib/...
0
votes
3
answers
64
views
Sed match string and copy it to another line (with added lines) in specific place
Need to find the first instance of a string in a yaml file and insert it alond with a couple new lines after a specific line. Trying to find the first instance of 'rtr-*' and copy it out with a ...
0
votes
0
answers
40
views
Docker iptables behavior
I have two Redhat 8 virtual machines. I'm running Docker on both, in this case as a host for the application called Graphite.
The VMs started out identical to each other, and I pulled the same Docker ...
0
votes
2
answers
48
views
socat/netcat how to send a file and wait for server response?
I want to send a file to a TCP server, keep the TCP connection open, wait (couple of seconds) for the response, and send the response to stdout. I don't want the connection to be (half) closed ...
1
vote
0
answers
40
views
Black screan instead of Hyprland
My system crushed while pacman was updating, so "/boot/vmlinuz/Linux" was deleted.
After reinstalling core through external Arch iso by "pacman -Syu" I reboot my system and entered ...
4
votes
1
answer
601
views
Hardware encryption on Samsung SSD using Debian
I want to benefit from HW encryption on a Samsung SSD, meaning I want the SSD controller to handle decryption/encryption. I have 2 SSDs that i want to use, one with Windows, one with Debian.
Steps I ...
0
votes
0
answers
18
views
NetworkManager: configure a network interface with MAC address X to have an IP address Y
nmcli device set expects ifname. Is there a way to use a MAC address instead (configure [network interface having MAC address X] to have an IP address Y)?
If I disable the long interface names (so I ...
2
votes
1
answer
58
views
RTC / systemd time drift
I do see the following behaviour on a SUSE SLE 15 VM
(VMWare ESXi, location setting is Europe / Germany)
and getting confused the more I think about it.
I have shortened the journal-log output to the ...
0
votes
0
answers
52
views
Fan Control on Linux Mint on ASUS Laptop
I have installed Linux Mint on my old ASUS Gaming Laptop (Asus TUF Gaming Laptop, 15.6” IPS Level Full HD, AMD Ryzen 5 3550H Processor, AMD Radeon Rx 560X, 8GB DDR4, 256GB PCIe Nvme SSD, Gigabit WiFi, ...
0
votes
0
answers
29
views
How to change zsh prompt just before the command runs?
del-prompt-accept-line() {
OLD_PROMPT="$PROMPT"
PROMPT="> "
zle reset-prompt
PROMPT="$OLD_PROMPT"
zle accept-line
}
zle -N del-prompt-accept-line
...
1
vote
1
answer
26
views
connecting to my private ircd says registration timed out after debian upgrade, no idea how to get at the problem
On connecting to the IRC server I get the following:
* Connecting to cedlx (172.29.5.200:6667)
* Connected. Now logging in.
* *** Looking up your hostname
* *** Checking Ident
* *** Couldn't look up ...
0
votes
0
answers
14
views
Exclude files from zsh tab completion based on exit code of external tool
I'd like to use my current zsh autocompletion setup but filter out some of the results. I've set up an autocompletion file and put it in my fpath so that it gets autoloaded. But there's one critical ...
1
vote
0
answers
20
views
Trying to get ClamAV clamonacc on Linux VM host monitoring the Docker overlay2 file system on the host
I've been trying to get ClamAV's clamonacc on-access scanner to monitor the overlay2 file system where Docker container file systems are mounted on my Linux (Ubuntu 24.04) VM, so that I can detect any ...
5
votes
1
answer
324
views
GIMP 3.0.4 export as HEIF/HEIC on LMDE 7?
I can't seem to be able to Export As HEIF a JPEG picture from Debian packaged version of GIMP 3.0.4, it says an error message:
The given filename does not have any known file extension. Please enter ...
0
votes
0
answers
23
views
imap indexing on postfix server
Situation
I have a Postfix mail server that uses NFS mounted home directories. Each user’s inbox is located in /var/mail/user, while secondary mail folders are stored within the user’s home directory. ...
0
votes
1
answer
61
views
Brave browser full sandboxing = How to achieve full green brave://sandbox/?
I am new to the concept of Sandboxing. I run Linux Mint Debian Edition 7 with kernel 6.12.48+deb13-amd64, and just installed the Brave browser. At this moment I am trying to enable all sandbox ...
0
votes
0
answers
18
views
initramfs images gzip compressed on Oracle Linux 8 UEK6 systems but not UEK7
I'm troubleshooting /boot usage differences between Oracle Linux 8 systems that use different UEK kernel streams.
On some hosts, the initramfs images are gzip-compressed, while others produce ...
0
votes
1
answer
31
views
Tail journalctl until service exits
I'm looking to start or restart a systemd service and immediately tail the output, but if the service exits while tailing, abort as though I had interrupted the command.
I don't want to include ...
1
vote
0
answers
21
views
How to prevent PcmanFM cut the bottom of line in file names?
After updating of Devuan to Excalibur it becomes buggie: fonts changed and looks bad, but also I cannot see underscores in file names. But if there is in folder another file with name of two lines, ...
0
votes
1
answer
41
views
Is there a routine way to upgrade apps from ppas?
I am newish to Linux. Distro: Linux Mint 22.2
I understand that apt upgrade replaces apps with any newer versions which may be out there. But only apps which are being "package-managed", as ...
0
votes
2
answers
100
views
find and regex matching behavior? Why won't 'L1[0-6].*' match "L15a"
I'm trying to understand some subtle behavior of find and its -regex option
I am trying to create symbolic links from files entitled slides_.*.pdf in folders that start with L1[0-6]. I tried the ...
1
vote
1
answer
43
views
Permission denied with crontab -e program
I would like to run a custom script on startup. I added the script to my root crontab via sudo crontab -e and adding @reboot /path/to/my_custom_script.sh to the end. I made sure my_custom_script.sh ...
0
votes
0
answers
26
views
Packet Demodulation error in GNU Radio for Hackrf SDR - SBand Radio set up connection. [SBand Radio Tx , SDR Rx]
I have a set up in my lab. I am trying to get the S-band chain of my ground station working. My set up is described as Computer connected to a HackRf SDR via the USB and also connected to the Sband ...
0
votes
1
answer
44
views
Listing block devices on unix 7.1.14
I need to access an array with SCSI drives (storage works, modelHC901) and it's attached to a server running Unix 7.1.1.4. How can I list all block devices on this system?
1
vote
1
answer
382
views
Can I deny the root access to the user keys in the Kernel key retention service?
I know the Linux kernel has a key retention service even though I haven't used it myself.
I'm constructing a system where anybody with root cannot check the keys in that service that were registered ...
0
votes
1
answer
59
views
Are there any open source Linux filesystems that support nfsv4 ACLs?
I want a small local filesystem to use for testing the NFSv4 ACL logic that I am using with a proprietary filesystem. Ideally it wouldn't actually be using NFS, because exporting and mounting from the ...
0
votes
1
answer
33
views
How to block network access for a specific command in a limited K8s container (no CAP_NET_ADMIN / iptables)?
I need to safely run open-source tools inside a Linux container that may contain sensitive data. To prevent any potential data exfiltration, I want to block only this specific tool from accessing the ...
1
vote
0
answers
55
views
Why is my unsigned BOOTX64.EFI able to boot with Secure Boot enabled?
I am trying to understand Secure Boot and what it is doing on my system. I am using systemd-boot as my bootloader, not shim or GRUB, and Secure Boot is reported as enabled: running mokutil --sb-state ...
1
vote
0
answers
37
views
Modifying a Debian hybrid-iso live-build to perform auto-login as root
I've been building a custom Debian Trixie image with live-build to use as a diagnostic tool, and after some struggles, I have it working almost the way I want. It installs some custom tools via the ...
0
votes
1
answer
27
views
How to get back inside INBOX, after using the mutt "c" command?
Let's say I am in mutt, exploring "c" and "?" and am now looking at this screen:
y:Exit c:Chdir m:Mask ?:Help
1 IMAP ../
2 IMAP ...
11
votes
1
answer
1k
views
Is there any difference between [[ -n $1 ]] and [[ $1 ]] in bash?
The test [[ -n $1 ]] yields True if the length of string is non-zero.
But I've seen elsewhere and have tried using just [[ $1 ]] without the primary -n and it seems to have the same effect.
Is there ...
0
votes
1
answer
85
views
How to secure host system from untrusted libvirt-managed virtual machines, and them from each other?
I have Fedora Workstation 42 on a laptop, with untrusted libvirt-managed virtual machines.
I would like to secure the host from the virtual machines, and ensure they are unable to interact with each ...
0
votes
0
answers
79
views
How to idiomatically secure a Fedora Workstation system against all incoming connections?
Dear ServerFault community!
I run Fedora Workstation (currently version 42) on my laptop, and would like to configure my firewall to just reject or drop all incoming connections to keep my system ...
1
vote
0
answers
53
views
Running XFCE on Debian Trixie. Bash history is not saving any sudo commands
Bash history works OK for except for sudo commands.
Code from .bashrc follows.
How can I modify the behaviour to include anything starting with sudo?
NOTE. This behaviour is the same with a brand new ...
0
votes
1
answer
57
views
How to get journalctl to show only todays entries?
According the man pages this should show the entries for today:
journalctl --since="today"
but issueing this today 11. nov 2025 start entries from 9. nov.
What is wrong with the command and ...
0
votes
0
answers
36
views
On Ubuntu Server 24, the "o" key on my keyboard doesn't work properly in the GRUB command line
On Ubuntu Server 24.04.3, the "o" key on my keyboard doesn't work properly in the GRUB command line.
Grub Version: 2.12
I've tried several different keyboard, but none of them work. But when ...
1
vote
1
answer
69
views
Bash: only the first long option is being processed
Suppose we have the file ./testing with contents
#!/bin/bash
# Flags
# Source: https://stackoverflow.com/a/7948533/31298396
TEMP=$(getopt -o ''\
--long first,second \
-...
0
votes
0
answers
44
views
How to evaluate a NixOS configuration to view an output on a non-NixOS system
I am trying to programmatically extract one of the generated files from a NixOS install. Basically on my NixOS system I run sudo nixos-rebuild switch and as part of the build it writes to /nix/store/&...
0
votes
1
answer
43
views
diagnose effect of USB device plugged in during startup
I have a PS/2 adaptor with a retro mouse and keyboard connected and Debian 12 is doing something different when it is booted up with or without that plugged into a USB port.
Either way, the keyboard ...
0
votes
0
answers
23
views
Starting up fails around four times out of five (decompression fails, system partition not found)
It started among other shenanigans when I upgraded Debian from Bookworm to Trixie a week ago. Now, starting up my PC fails around four times out of five.
The GRUB menu is reached right away. I choose ...
0
votes
1
answer
25
views
saned with CLX-3180 - "No scanners were identified" after only 1 scan
I am trying to get my CLX-3180 to work on my small x86 based printserver. Printing works since 2 years and today I wanted to tackle scanning.
So I apt-get update; apt-get install sane sane-utils -y. ...
2
votes
1
answer
95
views
Bash: function in a script with flags
Using https://stackoverflow.com/a/7948533/31298396, we can implement flags for a script testing as follows:
#!/bin/bash
# Flags
# Source: https://stackoverflow.com/a/7948533/31298396
TEMP=$(getopt ...
1
vote
1
answer
90
views
where is my umask value set?
I'm explicitly setting umask to the same value (0077) in two locations:
~/.profile & in /etc/systemd/system/[email protected]/umask.conf per this comment:
[Service]
UMask=0077
Yet in my shell ...
4
votes
0
answers
62
views
Diagnosing failure to properly suspend in Linux
In trying to figure out why my laptop was losing so much battery charge when closed, I'm seeing logs that suggest it's not staying in suspended state at all. I'm looking for help diagnosing why this ...
0
votes
4
answers
67
views
Mount a partition from a script unless it is already mounted
I would like to mount a partition of an external hard drive from a script using
udisksctl mount --block-device /dev/sda1
and in the end of the script I would like to unmount it.
However, it may ...
0
votes
2
answers
27
views
How to send a simple ntp query without updating time when using systemd-timesyncd
Its 2025 and I'm happily using systemd-timesyncd for NTP and time management on Ubuntu. However an embedded device on my network is failing time-synchronisation so I want to test my NTP server is ...