Questions tagged [linux]
A family of Unix-like operating systems using the Linux kernel. If your question is about a certain distribution only, use a more specific tag.
59,115
questions
0
votes
1
answer
82
views
WSL No Internet Connection (Ubuntu, Windows 11)
Clear Network/Internet Connection Problem:
ping google.com returns ping: google.com: Temporary failure in name resolution
pip install streamlit or other packages return network error message; same ...
0
votes
1
answer
68
views
How can I resolve PPA repository errors when using WSL 2 with Ubuntu 24.04
I am using WSL 2 with Ubuntu 24.04. I exported Ubuntu and imported it to my D drive since I had more space there. While trying to add repositories (PPA), I get errors.
How can I add the repositories ...
0
votes
1
answer
25
views
Using E2C to connect two Linux computers behind NAT
This has been asked before but I've had no success. I'm trying to connect two Linux devices via an E2C as a jump host:
[Box2 (Accessing REST API)] --> [EC2] --> [Box1 (Hosting REST API)]
What I'...
2
votes
1
answer
133
views
Video stutters on Linux and Android when watching movies from a Windows share
I have a powerful PC running Windows 10.
The PC is connected to a very powerful router (Ubiquiti Dream Machine PRO) via a gigabit wire.
I also have a computer running Manjaro Linux. It is connected to ...
1
vote
0
answers
37
views
"Directory not empty" and "Input/output error" when "cd"/"ls" into certain dirs or "rm -rf" certain files of a mounted storage drive
I have a storage device (sda) where I stored some backups in its partition 1 (sda1). Disgracefully, I killed the process (rsync) that was backing up data into the mounted storage device and, I guess, ...
0
votes
0
answers
14
views
Changing Video File Names in GStreamer
I am working on a project using GStreamer to record videos from Basler cameras on Ubuntu 20.04 running on a Jetson Orin. I want to change the names of the recorded video files by modifying my code.
...
3
votes
0
answers
82
views
CUPS refuses to print with "Unauthorized"
Connected Brother driverless printer to Debian 12 machine. Attempting to print results in "lp: Unauthorized". CUPS can print a test page successfully.
Checked OpenSuse CUPS Problem, but ...
0
votes
1
answer
42
views
Tar extract doesn't work on Zip repos with submodules
Tar extract doesn't work on Zip repos with submodules:
curl -L https://github.com/org/repo-with-submodules/archive/refs/heads/main.zip -o ~/Downloads/repo-main.zip
tar -xvf ~/Downloads/repo-main.zip -...
1
vote
0
answers
31
views
RPi 4 Keeps Hanging: Docker Services & SSH Fail Randomly
I have a Raspberry Pi 4 with an SSD running Raspberry OS Lite. I run Docker containers for Home Assistant, Pi-Hole, and NetDaemon. I've been experiencing random hangs where the system becomes ...
1
vote
1
answer
66
views
How to merge all mp3 files located in the same directory?
The command below used to work but stopped around ubuntu/kubuntu 20.04.
ls *.mp3 | sed -e "s/\(.*\)/file '\1'/" | ffmpeg -protocol_whitelist 'file,pipe' -f concat -i - -c copy output.mp3
...
0
votes
0
answers
51
views
Wifi randomly disconnects after some time & Never come back unless system restarted | Fedora 40
I recently purchased a new laptop and I am having a wifi disconnectivity issue in my lonovo machine (ThinkBook 16 G6 ABP with AMD processor). The wifi randomly disconnects after some time and never ...
1
vote
1
answer
41
views
Can offset of swapfile change?
If you want to hibernate using a swapfile, you need to set the resume_offset kernel parameter to the swapfile's offset in the partition. You can find its offset with filefrag -v /swapfile. [1, 2]
I'm ...
1
vote
1
answer
49
views
How can I access a block device file as a regular file with defined size in Linux?
I need to transfer all the data from an external hard drive through the internet, including its partition table, boot sector - everything -, but I don't have space anywhere to copy that entire hard ...
0
votes
1
answer
49
views
Create partitionless FAT32 filesystem on USB flash drive
I am diagnosing an issue with some USB sticks on an embedded Linux device that happens when a USB stick with a partitionless FAT32 filesystem is connected. I want to reliably recreate this situation.
...
0
votes
1
answer
35
views
Dell XPS 9550 speakers only detected some of the time when booting Arch Linux
I have a Dell XPS 9550 laptop with an up-to-date ArchLinux installation. I use KDE 6 as my Desktop Environment, with Pipewire.
$ uname -a
Linux red 6.9.3-arch1-1 #1 SMP PREEMPT_DYNAMIC Fri, 31 May ...
0
votes
0
answers
40
views
Singularity container with OpenMPI and InfiniBand (UCX)
I'm working as an intern currently, and I was asked to build a Singularity container for OpenMPI to make distributed programming possible on multiple machines of our HPC cluster using containers.
...
-2
votes
1
answer
52
views
Use RSAT Tools in a Linux Powershell
Is there a way to use the RSAT tools (remote server administration) via powershell on a linux machine? I am specifically interested in the DNS module and users module.
Edit: I am planning to use it ...
0
votes
0
answers
27
views
How do i use IPTables to forward a port to a different local ip when using DMZ
My router software is garbage, it only allows forwarding certain ports, luckly i found out that DMZ works, i have a linux server, can i point DMZ to that linux server and just use it to forward ports ...
2
votes
1
answer
57
views
How to configure a VLAN as a part of a bridge on a Linux server?
I have my own private server on the Internet since years. At the moment it is running Linux 4.9.337. It serves as my router and as my WiFi access point and many more things.
On the machine I have 3 ...
-2
votes
0
answers
30
views
Disk not found while installing Debian 12 on dual boot with Windows 11
I'm encountering an issue while attempting to set up a dual boot system with Debian 12 and Windows 11. Whenever I try to install Debian 12 alongside my existing Windows 11 installation, I am unable to ...
1
vote
1
answer
69
views
Why are cores 1 and 3 stuck in offline mode in Linux?
I have a system running with a CPU that has the following info from lscpu:
CPU(s): 4
On-line CPU(s) list: 0,2
Off-line CPU(s) list: 1,3
Vendor ID: ...
0
votes
1
answer
104
views
Automatically mount a per-user drive on login with systemd
I have a NAS which provides SMB/CIFS shares and I've also just set up a new PC (running EndeavourOS/Arch) and want to automatically mount those shares. In the past I've always handled this by simply ...
1
vote
0
answers
50
views
Find name of equivalent packages: from Ubuntu to Alpine
Is there a way of finding the equivalent package from a list of Ubuntu packages, for Alpine?
I'm aware of repology, apt-file, the apt-cache, apk search, https://pkgs.alpinelinux.org and https://...
1
vote
0
answers
6
views
How to see the app name in journalctl lines?
If I run
journalctl -u app_1 -u app_2 -f
I see the lines:
Jun 07 12:29:31 server app[194430]: 2024-06-07T12:29:31.257154Z ERROR custom_error
Jun 07 12:53:33 server app[194430]: another message
Jun ...
0
votes
2
answers
59
views
extract a multifile .zip archive on Linux (with gunzip)
I have a large file in Wondows and neetd to transport it to a Linux server via the linux /tmp folder that has onlz limited capacity.
In order to do so I created a zip with 7zip on my Windows host (...
2
votes
1
answer
31
views
How to capture a set of lightning fast windows on linux mint cinnamon?
I've noticed a set of windows recently which appear for but a single frame on my linux mint cinnamon install before closing. I'm not sure which program opens these windows, or what the intentions of ...
0
votes
0
answers
16
views
Network Interfaces inexplicably dropping connection
I set up three machines as high-availability storage. I use two 10Gb Ethernet interfaces on each machine to create a fully connected network between the three of them and without using any switch. The ...
2
votes
0
answers
27
views
How to inline complex grep call into git config
I have, following this answer, created an executable file "podiff" for use as a custom diff (and later, hopefully, a filter) calling grep in this way:
grep -Ev '^#:|^"POT-Creation-Date|^...
0
votes
1
answer
24
views
Hide taskbar and menu for a really restricted user
Hi everyone i want to make a really restricted user and have no idea where to start.
Ideally only able to launch chromium and another app (Citrix workstation).
No taskbar no right click desktop just ...
2
votes
0
answers
78
views
Mounting External Intel Raid Device on Linux Failing, No Suitable Superblock and Read Past End
I have a hard-disk from a dead machine that I'm trying to mount on my Linux machine. For reference, I'm using Fedora 39 and mdadm v4.2. First, I tried just mounting it, correctly showing it's a RAID ...
-3
votes
1
answer
89
views
Is Windows / Linux Dual Boot a scam? [closed]
I have searched for this topic a bit on the web without any success.
Is Windows Dual boot + Linux way worse than it is imagined ?
Installaed a dual bot linux mint on a windows 11 computer. THe main ...
1
vote
0
answers
85
views
How can I use unified kernel images with Ubuntu and Debian?
I would like to use unified kernel images (UKIs) and systemd-boot to take advantage of some of the hardware security features it provides (such as measured boot and real secure boot). I think that the ...
0
votes
0
answers
38
views
av1_vaapi ffmpeg throws error on last frame of video
I've been using ffmpeg and vaapi to transcode video files, it has been working great except for one group of video which has been throwing the error
[vf#0:0 @ 0x5d37f5dd6dc0] Reconfiguring filter ...
1
vote
0
answers
82
views
Wireguard server installed: works, but no connection from client
I have installed wireguard server several times and all times it did work, but client could not connect.
https://linuxiac.com/how-to-set-up-wireguard-vpn-with-docker/
and
https://www.linuxserver.io/...
1
vote
1
answer
51
views
Is it safe to do "snap install" with sudo
I am a root user on a workstation; I give access to others on this system.
They are requesting me to install:
sudo snap install google-cloud-cli
An experienced friend of mine had earlier suggested to ...
0
votes
1
answer
40
views
Is it possible to set up a remote login session where a specific user only has access to certain folders, and can only run one executable?
I have a server where I'd like to grant a user the ability to log in remotely, but restrict the session in two specific ways:
They can only access a certain set of folders on the computer, and for ...
0
votes
0
answers
62
views
Skype installation on Debian 12 bookworm via snap fails
On Debian 12 “bookworm”,
# snap list
Name Version Rev Tracking Publisher Notes
bare 1.0 5 latest/stable ...
1
vote
0
answers
74
views
How to browse files on a web server using a web browser like Firefox or Chrome?
Would someone be able to tell me how to browse all files in a particular directory on a web server using a web browser ? The web server is running apache linux. I'm using WinScp and have tried ...
1
vote
1
answer
35
views
Mail servers setup - HA
I want to setup mail service in my org in such a way that they are highly available and even if one of the server goes down the other will keep on serving the traffic.
The scenario is like below:
the ...
0
votes
0
answers
19
views
curser desync when connecting to a fish shell on a raspberry pi over ssh
This is a rather specific issue, but I wouldn't be surprised if it occurs due to some more general shortcoming.
In short, the issue is that, when using the fish shell in my Raspberry Pi, over ssh, ...
0
votes
0
answers
29
views
Nginx Reverse Proxy - Node Apps ( on port 3000, 3001, 3002 and 3003) Configuration
0
So i have 4 frontends that i needed to be accessed by public, but i want to specify an user friendly like example.com/lcd instead of example.com:3002. I want this for all those ports, 3001, 3000 and ...
1
vote
1
answer
64
views
store available disks for LVM in array
I am using lsblk command to get the device names on linux servers. However, I want to find the command that will help me scan the devices and store the results in an array only for devices that are ...
0
votes
1
answer
58
views
LINUX - ownership inheritance of parent dir not working, only group is applied
Ownership inheritance of parent dir not working, only group 'apache' is applied
Owner should be 'apache' but is 'root'
OS: rocky linux 9,
selinux - getenforce : Permissive
umask 002
umask:
-----
0002
...
0
votes
0
answers
27
views
Grep’s result coloring, and right-to-left scripts
I have a text file with a single line that contains the single Yiddish word azoy, in Hebrew script: אַזױ. Then I grep for occurrences of the oy character, ױ.
(This is highly simplified of course, in ...
0
votes
0
answers
24
views
How to troubleshoot high "Avg CPU Load" issue?
Recently we have been facing a problem of High Avg CPU load on a centos VM monitored though Zabbix agent. The VM running MongoDB instance with 2 cores with no hyper-thereading. Zabbix captured avg ...
0
votes
0
answers
27
views
Is LVM broken or xfs filesystem dead?
As we say all too often, never prod on a Friday ... But an admin on my team wanted to expand a lv, so he broke the whole system.
I've managed to remount the disk and the group volume, and now I'm ...
0
votes
0
answers
24
views
LibreCAD cannot access disks or USBs on Fedora
I need to use librecad but I can only see the system drive. It does not allow you to see other partitions, disks or USB. It is the only application that has this problem, all system applications were ...
2
votes
0
answers
34
views
Forward (share) network to a bridged interface of 3 adapters
I have this network (network structure picture):
I need to configure the Kylin laptop to let other clients (PC, phones) access Internet. I have 3 USB ethernet adapter (enx000ec6c5afc1, ...
-1
votes
0
answers
192
views
i can't get past this error "Could not open /dev/vmmon: No such file or directory. Please make sure that the kernel module `vmmon' is loaded."
[Fedora 40] (VMWare Workstation Pro 17.5.2 Kernel version 6.8.10-300.fc40.x86_64) Could not open /dev/vmmon: No such file or directory. Please make sure that the kernel module `vmmon' is loaded.
-2
votes
0
answers
101
views
Fedora 40 didn't install DNF [closed]
I tried installing the Brave browser on Fedora 40, only to find out that DNF wasn't installed. I tried asking Copilot for help, only to find that it recommends that I try to install DNF with DNF. ...