All Questions
231,436
questions
0
votes
0
answers
2
views
Second external monitor does not turn on but is connected
I'm running debian 12 on a thinkpad T14s and have an issue with a second external monitor. I have both monitors connected to the thinkpad universal usb-c docking station and my laptop plugged into ...
0
votes
0
answers
2
views
How to tell whether a given packet is subject to IPsec's SPD?
My IPsec configuration via strongSwan is non-device and uses XFRM policies / states.
On the VPN gateway I'm trying to test whether a given IP packet (described as src IP, src dev, dst IP) will be ...
1
vote
0
answers
7
views
How to login to systemd-based Linux if there are no /dev/tty[0-9]* devices?
I am forced to use a kernel without virtual console support. There is only a /dev/tty device. As a userspace, I use the Debian testing distribution. In rescue mode, I checked that it is possible to ...
0
votes
0
answers
4
views
QEMU: Why does kernel panic while debugger attached and KVM enabled?
maybe someone has encountered a similar issue and may point me into the right direction.
I compiled a fairly recent linux kernel with a standard COS config.
I can run it with qemu without problems ...
1
vote
0
answers
20
views
Is there a tool that checks whether it's safe to move a directory and replace it with a symlink?
Say the directory you want to move has absolute path DIR. A case where it is NOT safe: that directory has either
absolute path symlinks to within DIR itself.
relative path symlinks to outside DIR
1
vote
3
answers
40
views
Create MD5 within a pipe without changing the data stream
I was asked to create a mechanism to dump a (data on rest) encrypted mysql into an encrypted file. That mechanism must meet certain criteria, like:
Shall run under Linux
No write of unencrypted sql ...
0
votes
0
answers
19
views
Confusing behavior when using IFS and read [duplicate]
line="touch : touch : test.txt"
IFS=':' read scr cmd <<< "$line"
echo $scr
echo $cmd
output:
touch
touch : test.txt
line="touch : touch : test.txt"
IFS=':'
...
0
votes
0
answers
9
views
Where does `logger` save messages to on macOS?
I'm writing a shell script that utilizes the Linux logger to log output. Based on that documentation, I believe that the logging is sent to /var/log/syslog on Linux which would be var/logs/system.log ...
1
vote
1
answer
9
views
Raspberry Pi timedatectl fails with "Transport endpoint is not connected" and ".service files" errors
I am encountering an issue on my Raspberry Pi when trying to use the timedatectl command. When I execute timedatectl status I get the following error message:
spaikon@raspberrypi:~ $ timedatectl ...
0
votes
0
answers
38
views
Where are firefox cookies in Linux?
I want to find out where are firefox cookies getting stored in Linux. there is a similar old question here which says that the cookies are stored at ~.mozilla/firefox/<profile name>/cookies....
0
votes
0
answers
15
views
.xinitrc, .xsession don't work (commands not run)
A quick summary:
I installed Ubuntu (Current LTS - 22.04)
I wanted to change the window manager from the default one to "dwm"
I installed dwm via apt, it works correctly,
The problem is - ...
0
votes
0
answers
32
views
Problem with permissions - propably after using "sudo chown -R me ./"
I am preety new to Linux.
Recently, I used the command "sudo chown -R me ./" to grant myself permission to a certain folder.
If it matters at all, I ran this command in the '/var/www' folder....
0
votes
0
answers
20
views
Raspbian static IP on Wifi without DCHP service
I've tried to set up a static IP on a RPi4 running the latest Raspbian Lite (Bullseye), so I can remove DHCP entirely.
My /etc/network/interfaces file looks like:
# Include files from /etc/network/...
1
vote
1
answer
13
views
Why does setfacl affect filemode by turning on group-write
I have a script that is used to re-apply ACLs on files and directories. However it has the side effect of turning on Group Write permissions that I can not explain. I have narrowed down the cause to ...
2
votes
1
answer
88
views
"read -r" builtin in bash script acts differently on Mac
I have this script:
#!/bin/bash
function main {
while read -r file; do
do_something "$file"
done <<< $(find . -type f 2>/dev/null)
}
function do_something{
echo file:$@...
1
vote
2
answers
41
views
UEFI HTTP boot only: GRUB2 used a mysterious HTTP agent "UefiHttpBoot/1.0" to load initrd and failed to completely read large initrd
I was using GRUB for UEFI PXE boot or UEFI HTTP boot of a Linux Live OS (made by Ubuntu Focal or Bionic or Jammy). I used the same grub.cfg for both methods. It worked well under UEFI PXE boot, but ...
-2
votes
2
answers
43
views
Count lines in a file if EITHER of 2 conditions is true
The file is ASCII with 1K lines made up of strings of 1's and 0's of various lengths and randomly mixed (no spaces between numbers): if you'd like to see actual file please go here: https://mega.nz/#!...
0
votes
0
answers
12
views
can't delete folders on samba share
I am dealing with a really weird issue I can't identify the cause of. I have a samba share mounted using autofs in Rocky 9.2 with the flags -fstype=cifs,rw,nounix,file_mode=0700,dir_mode=0700,...
-2
votes
3
answers
44
views
How to convert multiple columns from file to single string
I would like to edit something like this;
ABC
abc
123
Into something like this;
Aa1Bb2Cc3
0
votes
2
answers
45
views
Is there a difference between file permissions and mode?
The terms "file permission" and "file mode" are often used interchangeably. However, some tools exclusively use one term or the other. Interestingly, the venerable chmod tool ...
0
votes
0
answers
9
views
Unable to bypass okta authn with ssh keys from mac
I am working few shell scripts and ansible playbooks. we have a jump server , which uses Okta for 2nd layer of authn on top of password to login to server , from there we can login to our prod servers....
0
votes
0
answers
11
views
Naming inconsistency in GNOME `.directory` and `.application` files
I'm using Debian 11 with GNOME 3.28 and I noticed that there are a lot of naming inconsistencies in .directory and .application files.
For example, the name field of Utility.directory is Accessories ...
0
votes
0
answers
7
views
Error installing rstudio-desktop package on Arch
When I run yay -R rstudio-desktop in terminal, the installer goes for a while before hitting this error and exiting.
Buildfile: /var/tmp/pamac-build-myusername/rstudio-desktop/src/rstudio-2023.03.2-...
0
votes
0
answers
8
views
Any more ways I could try to get my out-of-space Btrfs data-raid6 mdata-raid1c4 volume operational again?
The volume consists of 9 disks total, one of them has plenty of space (the new one I had added shortly before running out of space), one with only 289 MiB of free metadata space, and all the others ...
3
votes
1
answer
153
views
Can't write to Live CD system
I am not new to Linux, but am new to creating my own virtual machine environment. I am using Linux to learn how to do penetration testing, and have been required to download lots of different software ...
0
votes
0
answers
17
views
Is it possible to boot a Full Installation of Fedora on a USB Drive with Ventoy/Multiboot Software?
I've been using Ventoy for booting live environments from ISO files.
I want to create a full installation of Fedora on a USB drive, not just a live USB.
To my situation: I have a friend's pc, my pc ...
0
votes
1
answer
23
views
Force open deprecated Chrome app
I used to be able to "open anyways" a deprecated Chrome app (Authy in my case), but now it doesn't give me that option. All it says is that I can remove it:
Is there a way (e.g., in the ...
1
vote
1
answer
27
views
Why isn’t wpa_supplicant working on Void Linux?
I installed a glibc Void Linux partition on my 2019 Macbook Air. I can’t get wpa_supplicant working.
I enabled wpa_supplicant and dhcpcd. Then I used wpa_passphrase with my Wi-fi network’s SSID and ...
0
votes
1
answer
25
views
Not enough space to install apt packages/how do I resize /var/?
Clearing the apt packages cache does not help, neither do I have any extra update packages. Whenever I try to apt install something, it tells me I have no space left. df -h says my /var/ is full, so I'...
0
votes
0
answers
11
views
<exec command> vs gtk-launch <exec command>
These days I noticed that there is one game called Four-in-a-row which opens through GNOME GUI when it is clicked but it doesn't open when I type in terminal the command gtk-launch org.gnome.Four-in-a-...
1
vote
1
answer
21
views
How can I run `$(nproc)`× parallel instances of `openssl dhparam` & when first instance exits with `0`, kill the other instances?
I'm running openssl dhparam -out dhparam4096.pem 4096 and it pegs a single core at 100% for the duration of the task (which can be considerable on some processors). I have 1 or more additional cores ...
0
votes
0
answers
11
views
Changing a root's file on external drive from another system
If I use one system to format an external drive (not an encrypted partition, just a standard filesystem) and then create a file owned by root and then mount that drive on another system, will I be ...
0
votes
1
answer
17
views
Does linux/systemd/agetty support doubble ended serial-getty consoles?
My apologies if this is a ultra basic question:
Does linux / systemd / agetty support double ended serial-getty consoles?
For example I have two remote servers A and B, they are running a recent ...
0
votes
0
answers
10
views
Regarding user accounts, their gidNumbers, and SSSD requirement for a corresponding group with the same gidNumber(s)
If an LDAP user "Alice" has a gidNumber of 12345 and there is no LDAP group with the gidNumber of 12345, what are the implications with regard to sssd (System Security Services Daemon) and ...
0
votes
0
answers
6
views
keyboard/mouse not working in VMM thru VNC
i remotely connect to my Virtual Machine Manager thru VNC client (MobaXTerm) to TightVNC (on the Debian host) on Win10. however, when i spin up a vm, the guest does not respond to any keyboard or ...
0
votes
0
answers
6
views
libcamera: Preview windows only support YUV420
I have a USB camera connected to a CM4 and I want to output the video through HDMI. I'm using a custom kernel from buildroot.
I'd like to use libcamera or something similar to avoid needing a desktop ...
0
votes
1
answer
25
views
Memory total shown on Linux on 8GB memory PC is only 7038920 kB
Why linux /proc/meminfo show:" 1 MemTotal: 7038920 kB " (proc most likely is to mean Kibibyte) in a PC of 8 GB memory RAM, although its Kibibyte is 7812500 ?
0
votes
1
answer
21
views
How to block all outbound traffic to 10.0.0.0/8 subnet except to 10.20.20.0/24 subnet using iptables
I have a peculiar situation.
I need to block all outbound connections to 10.0.0.0/8 subnet but allow connections to 10.20.20.0/24 subnet.
How can I do this using iptables on Ubuntu 20.04?
-1
votes
0
answers
23
views
Ubuntu vs Kubuntu [closed]
I'm looking for a suitable OS for my research in computer graphics and machine learning, particularly C++, Python programming and possibly some OS configurations.
Is Ubuntu or Kubuntu better for this ...
0
votes
0
answers
7
views
W10 and Fedora dual boot USB Wifi problem
Recently, I set up a dual boot on my computer with Windows 10 to add Fedora 38 in the same computer. Since then, neither W10 or F38 recognize the USB Wi-Fi adapter I have. However, Windows 10 detects ...
0
votes
0
answers
9
views
KDE Neon Bluetooth Audio not working
I have a Gateway GWTN156-12RD running on KDE Neon, an Ubuntu 22.04-based distro. And ever since I got the OS, the bluetooth audio NEVER works. No matter how many times or how hard I try, there is no ...
0
votes
0
answers
27
views
How to deploy an automated version control system with git?
I'm planning to use git for version control with plaintext files (notes and configuration files) — this was the most popular solution on writing.stackexchange.com and personally I don't want a ...
0
votes
0
answers
13
views
How to fix unavailable wireless
I have a problem with my computer. It is unable to connect or search wireless WiFi connections. At first I thought it was the WiFi card, but seems I still have the same problem after changing this ...
-1
votes
1
answer
50
views
Command ssh ask for a passphrase, but there is no passphrase set. In fact, works like a charm on another machine?
I have an SSH key pair (codebot and codebot.pub) used to fetch code from GitHub. Generation was without any passphrase.
On server A, it works without any trouble. SeLinux disabled:
bash-4.2$ ssh -T -i ...
0
votes
0
answers
10
views
USB Headset Prevents Media Playing on Arch
I recently bought a USB headset and it has been behaving very inconsistently. Sometimes it works fine but other times, if I try to play any media, it acts as if it is buffering until I unplug the ...
0
votes
2
answers
35
views
For loop with Multiple IF condition's in Shell scripting
Firstly , In the /tmp/test file path I have the below directories
amb
bmb
cmb
By running the find command, I am getting the below list of files inside these three directories:
amb/eng/canon.amb
bmb/...
0
votes
2
answers
63
views
rm deleting files very slowly
I've written the below script in Bash to delete files given a specific numeric range:
# *** Declare variables ***
SRC="${1}"
START="${2}"
END="${3}"
# *** Delete frame ...
0
votes
0
answers
14
views
dhcpcd deleting gateway
I'm trying to switch from DHCP to static IP by using dhcpcd.
When I switch from static to DHCP I'm configuring that eth0 (which used to have the static address) will also be the one with the DHCP ...
-1
votes
0
answers
14
views
Debian 11: setting up L2TP + IPSec - IPSec fails?
I'm trying to configure a new VPN client (L2TP and IPSec) on a very small AWS EC2 system running Debian 11 without a desktop. I've got as far as getting NetworkManager to work, but the VPN connection ...
0
votes
0
answers
26
views
PCIe SATA controller problem in re hard drive capacity
I have tried two different expansion cards in a machine running Debian 11 -
An older PCIe SATA controller with:
Marvell Technology Group Ltd. 88SE9215 PCIe 2.0 x1 4-port SATA 6 Gb/s Controller (rev ...