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.
160
questions
1
vote
0
answers
13
views
How to set up routing and firewall to achieve the desired result in this specific scenario (selective routing through wg tunnel)?
I have 2 linux computers connected via wireguard over the internet.
Their wg configuration is as follows.
Computer1:
[Interface]
PrivateKey = <computer1-private-key>
Address = 10.6.0.2/24
...
0
votes
0
answers
11
views
Trouble Setting Access Point 2.4GHz Orange Pi Zero 2
I'm setting up a WiFi Access Point using bridge mode. I successfully configured the bridge mode and it's working. Then, I managed to set up the WiFi Access Point for 5GHz as well. But why did I fail ...
1
vote
1
answer
77
views
Using sed to edit filepath variable
I am trying to use sed to edit a vaule in the .git/config file. When running the remote origin command the config file creates a line of text url = https://github.com/abbatrombone/testprj the name ...
0
votes
0
answers
12
views
Where is "lid close behavior" stored on gnome ubuntu?
Power settings like HandleLidSwitch and HandleLidSwitchExternalPower are stored in /etc/systemd/logind.conf. I had set these variables to hibernate; however, closing the laptop lid was suspending my ...
0
votes
0
answers
8
views
Start vlock as a screensaver on console only debian
I am using a revived Chromebook as a secondary laptop. The eMMC is mostly fried, but I have a UEFI grub settup that boots Debian from an SD card. It is console only - no X11, etc.
I can get the screen ...
0
votes
1
answer
18
views
Could I make changes to a bootable Ubuntu ISO by booting into it, making changes within the OS, and re-exporting the ISO?
Suppose I have a bootable Ubuntu ISO. I would like to make several changes to the image at the OS level. The changes I want to make include changing the default user password, as well as a few other ...
1
vote
0
answers
12
views
Whence is XScreenSaver getting a lock request when I close the laptop lid?
I have a ThinkPad X1 Carbon (Gen 4) on which I'm running Debian 12 and a fairly minimal X11 setup with fvwm2 as a window manager and a few other programs, including xscreensaver, started from my ....
0
votes
1
answer
20
views
Multiple netcat connections in old version of linux
I'm running a 32-bits old version of CentOS in a offline LAN network. I'd like to setup communication between all hosts, pretty much like nc -l 5555 + nc <ip1> 5555 works. Well, I'm aware that ...
0
votes
1
answer
31
views
Desktop shortcut with a command line argument which contains filename with random numbers
I'm trying to create a desktop shortcut which launches a terminal app with commandline arguments which contains a path to a file with a randomly generated number in the filename.
I've tried everything ...
0
votes
0
answers
32
views
Video logo clock ffmpeg
With the codes I created myself, the time setting does not appear. Only the screw logo and the movie name appears. I could not make this time setting. Are there any friends who can help me?
ffmpeg -i ...
1
vote
1
answer
32
views
10 gig PCIe network card won't come up unless onboard 2.5 gig card is connected
I recently acquired a zimacube - its a N100 based NAS system. I've wiped the preinstalled zimaos and run a minimal install of ubuntu server 24.04 and made the usual changes I do on my builds for ...
0
votes
2
answers
35
views
How to setup a reverse proxy across multiple devices on a local network
I am very new to setting up servers and network management so please bear with me.
I have multiple devices on which I would like to self host different services. This includes a few RPI5 and another ...
0
votes
0
answers
9
views
Linux chmod o+x does not allow me to traverse directory if I don't have self or group access [duplicate]
The permissions on a directory are drwxr--r-x. I am not the owning user, but I am a member of the group that owns the directory, although that group is not given access. As a member of :other", ...
0
votes
0
answers
16
views
Internal Compiler Error: Segmentation Fault
I am getting the following error every time I try to build or make a package:
In file included from /usr/include/gz/math7/gz/math/AxisAlignedBox.hh:25,
from /home/jjayalekshmi/gz-...
0
votes
1
answer
17
views
Modem Manager can't find Mobile Broadband
I have Debian 11 running on a computer. I have a ZTE MF79U dongle with a vodafone simcard in it.
I plug it in and then I am able to configure the dongle by going to 192.168.0.1 in the browser and ...
0
votes
0
answers
15
views
sudo still asks password after editing sudoers [duplicate]
I need to execute the command
ssh [email protected] "sudo systemctl stop crs_svc"
in my GitLab YAML script. To do so I have updated the /etc/sudoers file on the host 10.1.0.56 and added the ...
0
votes
1
answer
26
views
Why does my computer only start up the second time and after I power it off and then power on?
I have two OS (Linux and Windows) without dual boot. Recently, my computer started not to run after switch it on. But it runs if I power it off, wait for the capacitors to discharge and then power it ...
0
votes
1
answer
8
views
Yocto Mickldore Group RT Scheduling issues with pthread created with FIFO policy
I'm currently building a yocto image using 6.1-mickledore (mickledore).
When I run my application it exits prematurely because of some pthread_create code. It looks like when I comment out setting the ...
1
vote
0
answers
32
views
100Mbps-1000Mbps NICs all limited to ~40Mbps?
I have paid for 1000Mbps for quite some time from my ISP and have always had trouble with it maxing out at ~40Mbps. I always faulted my VPN and just suffered through it.
I finally tried to ...
0
votes
0
answers
10
views
How to integrate xmonad with systemd's graphical-session.target?
I wanted to take advantage of using systemd user services. But I realized that xmonad (which I'm using together with lightdm) doesn't seem to integrate with with it.
Apparently ligthdm shouldn't be ...
-2
votes
0
answers
16
views
there's packet loss in my .pcap file and i want to find the cause for it [closed]
[enter image description here][1]
https://i.sstatic.net/fzMo9dj6.png
1
vote
0
answers
22
views
What is loadlin.exe in Debian installation image(.iso) explained for a newbie?
So I opened the Debian .iso image and in a directory "tools" there were loadlin.exe and loadlin.txt. I tried researching but everything was from 2005-ish. What does it do? What happens if I ...
2
votes
2
answers
307
views
Calibre viewer doesn't fill window
I've tried every configuration I can imagine to solve this, I just can't figure out why Calibre refuses to fill the viewer window. I'm using i3 in Debian, if that is of any relevance. This is what the ...
0
votes
0
answers
16
views
How to Merge 2 Unallocated Spaces that are on either side of Primary Partition? (New Linux/Ubuntu User) [duplicate]
Current Disk Setup
Please see image link: I have unallocated spaces to left and right of my primary partition (that has the Linux File System and EFI). Have installed GParted but need help on how can ...
0
votes
1
answer
24
views
OBS Studio virtual background plugin doesn't work
I use Gentoo for my desktop. I tried downloading and compiling the plugin source, but it has heavy dependencies for only one function, so I downloaded the precompiled deb.
The filter shows in webcam ...
0
votes
0
answers
23
views
2 EFI on system, which one to remove and how?
I installed Pop OS on my system and on it I created my virtual Mac system Hackintosh.
But I wanted to completely get rid of the Linux Pop OS which I did.
Yet I can see 2 EFI files in my disk ...
0
votes
0
answers
14
views
New Lenovo computer, wanted to do update, so I let. It has Linux and am sending picture. Anything i click with mouse is no response, mouse working
When i turn on computer after update-this is what it gives and nowhere to click, no respond. What to do?
0
votes
1
answer
22
views
How to allow the download of files with custom extensions from a Plesk server?
I have a dedicated Plesk server with several domains. In one of them I want to make available a file called, say, "file.db"
If I try to download that file from a web browser, I get a 403 ...
0
votes
1
answer
42
views
Jenkins Continuous Integration Server not starting on Linux EC2 Instance
I am facing a problem starting jenkins after an update on an Linux EC2 Instance. There was an older version of Java installed and i updated using yum command
sudo systemctl status jenkins.service
...
0
votes
0
answers
26
views
Sending Environment Variables via SCP
I'm looking to send some kind of environment variable using "SCP -o" (or any other file transfer protocol for that matter PSFTP, PSCP, etc).
I currently use SCP to transfer files between ...
0
votes
0
answers
15
views
How do I configure 2 public IP addresses on Debian and enable NAT traversal on one?
I got 2 IP addresses from my hosting company, xx.xx.xx.109 and xx.xx.xx.110, both in the same subnet. The subnet mask is 255.255.255.192 and the gateway is xx.xx.xx.20
I have a Proxmox server and ...
1
vote
0
answers
49
views
ffmpeg doesn't have access to qsv nor vulkan
I'm running gentoo, and I have media-libs/oneVPL-intel-gpu installed, and latest mesa drivers, and intel gmm, however, qsv refuses to transcode and gives me the following error everytime
ffmpeg -...
0
votes
0
answers
17
views
How do you set up a system wide Proxy system for multiple SSH Dynamic Port (SOCKS5) Connections
What I'm trying to do is create a FoxyProxy type system wide proxy system for SSH Dynamic ports. My starting point is a OpenBSD Unix Based system, but has a lot of RedHat based additions. All of the ...
0
votes
0
answers
7
views
Linux: How to find the location of a specific "include" library in Python? [migrated]
Note:
I have already searched extensively and found nothing that even vaguely resembles an answer, including here. If this is a stupid question or a duplicate, please accept my apologies.
Also Note:
...
1
vote
1
answer
28
views
How to resolve the password prompting issue when setting up lftp connection with sftp and ssh-key in centos?
I have a centos server s1 and client c1 and I wanted to do a lftp connection with sftp and ssh-key without the password been prompted. Currently when I run the below command the password is prompted ...
0
votes
0
answers
12
views
Laptop Keyboard disabled after suspend or sleep Debian 12, How do i fix it?
My Dell laptop has Debian 12, every after I suspend or sleep the laptop the keyboard is disabled when I wake it back. even after using on-screen keyboard to log in, it stays disabled.
I tried changing ...
1
vote
1
answer
42
views
SSH from A through B to C, using private key on B
Schematic:
ssh ssh
A ------> B ------> C
^ ^
using A's using B's
ssh key ssh key
Preconditions:
A is running ssh-agent
A can access B
B can access C
A can't ...
0
votes
0
answers
18
views
Unable to get shared clipboard using VNC server on Ubuntu and Mac client [closed]
I have a remote Oracle Cloud VM running Ubuntu, and I want to remote in via VNC via macos Screen Sharing. I can connect with Xvnc version TightVNC-1.3.10 – but for the life of me cannot get shared ...
0
votes
1
answer
24
views
How to solve Ansible venv runtime exception in specific versions?
I want to set up a venv with the following packages as these are specified in a project I'm working on:
ionoscloud==6.1.4
pytest==6.2.5
pytest-cov==3.0.0
ansible==5.0.1
PyYAML==6.0
kubernetes==24.2.0
...
0
votes
1
answer
28
views
How to detect even or odd minutes in bash script
I need to detect whether the current minutes are even or odd regardless of the time zone !
I tried this according to answers from several sites:
#!/bin/bash
n=$(date +"%M")
r=`expr$n%2`
if [...
0
votes
1
answer
45
views
Wine not being given proper permissions?
After updating to Ubuntu 22.04 wine stopped working. I noticed some other things I did not like about Ubuntu so I went over to Debian 12. Wine still did not work. I asked in the wine forums but no one ...
1
vote
0
answers
19
views
Hotspot connection SSH / Ping
I have a singleboard computer (Rock 4 SE) with a wifi that is hotspot capable. It is running linux Debian. I want to SSH into it with my laptop using the linux machines own wifi as a hotspot for ...
2
votes
1
answer
63
views
CIFS mount issues
I am trying to mount a network drive to my AlmaLinux box, and are running out of ideas.
I want to mount the folder "project" with:
sudo mount -t cifs --verbose -o username=$USER,uid=$USER //...
0
votes
1
answer
84
views
Bypassing Secure Boot without disabling it
I've tried archboot, but no luck as I was stuck due to the plymouth missing. Now I want to try to install arch or nixos alongside Win 11. The problem lies in secure boot. I don't have spare linux to ...
0
votes
0
answers
18
views
How can I use up all my CPU/RAM for testing purposes? [closed]
I want to bring up my CPU and memory usage all the way up to 100% for testing purposes. How can I do this effectively?
1
vote
0
answers
14
views
How can I change the initial directory of apps back to the home directory?
Apps like the XFCE4 terminal and Thunar used to open in the home directory. However, recently they started to open in $HOME/.config/xfce4/panel. I want to change this back to the home directory. How ...
1
vote
0
answers
24
views
How to Identify and Terminate Idle tmux Sessions on a Debian Server
I have a Debian server with multiple tmux sessions running. Some of these sessions are idle and not running any active processes. How can I identify and terminate all tmux sessions that are not ...
1
vote
1
answer
33
views
Capture TCP stream with tcpdump/netcat
I have a hardware device that hosts two separate TCP modules. One is for receiving commands from other machines, while the other is a TCP stream server that sends data based on the commands received. (...
1
vote
0
answers
21
views
How to skip a directory when downloading with wget?
I want to download a website with wget in Linux that have the following 'structure':
sssssssssss.com/things/summer/tables/books/
There is a directory in the directory 'summer', named 'sport'.
I want ...
1
vote
0
answers
35
views
Enter Bios/UEFI from desktop shortcut
I am currently dual booting windows and linux, i dont want to use grub because grub tends to get very flakey the longer things go on.
IS there a way for me to create a desktop shortcut in linux to ...