227,951
questions
0
votes
0
answers
8
views
Are there workarounds for using install4j launchers on multiple machines with NFS mounted home directories?
I'm trying to run install4j-produced launcher scripts on various different Linux servers (CentOS 9), each of which has it's own custom JRE installed in the software's home directory, but all of which ...
-1
votes
0
answers
8
views
how to debug udev rules? [closed]
I'm trying to get my udev rule working on armbian. But I cant make anything work at all.
I am wanting to rename the android usb tether to a standard name usb0.
Ive tried the following rules
/etc/udev/...
0
votes
0
answers
15
views
What limits the number of IRQ descriptors a Linux platform can support?
So I have an older hardware platform, which has a hard-coded NR_IRQS defined in the kernel to specify the number of available IRQ descriptors. This limit corresponds to the total number of hardware ...
0
votes
0
answers
5
views
In a multilevel queue scheduler, will higher priority processes preempt already-running lower priority ones?
Lets say we have two queues: priority 1 with Round Robin and priority 2 with Shortest Remaining Time First.
At time 0, process A with a 10 units CPU burst is in SRTF queue. It starts excecuting, and ...
0
votes
0
answers
5
views
Creating an applet error for linux mint cinnamon 22
Description:
I am trying to build applets for Linux mint, This is the first time I am entering building apps space, I was previously a web developer, so I have an idea on JavaScript. At the moment I ...
0
votes
0
answers
16
views
How to install certain packages that are not available inside a container environment
I am working on tekton pipeline and I am trying to build my Dockerfile inside a running container (i.e., dind), but it's not able to find a few packages inside the container environment.
#No match for ...
0
votes
0
answers
15
views
how to send keyboard strokes (like "sendkeys" in Windows) to a Wayland Linux window (KDE/GNOME)? [closed]
On X systems, there's xdotool, and other means.
I tested the following methods:
ydotool ignores non ascii (officially)
wtype doesn't run on KDE nor Gnome.
dotool doesn't work for emoji, garbles ...
0
votes
0
answers
11
views
Use MSG_ZEROCOPY in combination with mmap and custom kernel module
I have an embedded Linux device with 2GB RAM. In my device tree and kernel boot arguments, I configured the system to use just the lower 1GB of RAM.
As the device is an intelFPGA SoC, the upper area ...
1
vote
0
answers
34
views
gdb: print global variables of a chosen shared library only
I need to find all global variables by certain name-pattern in gdb. So I can do:
info var MyPattern
But there are lots of them in the dump.
Is there a way to print only those from a chosen shared ...
1
vote
3
answers
39
views
find -exec sh -c '...' script not honoring variables set in outer script
I am trying to write the shell script to check and delete the files/folders
#!/bin/bash
deletepath="path"
donotdelete="$2"
timestamp=$(date +%Y%m%d_%H%M%S)
filename=log_$...
0
votes
0
answers
8
views
Stylus doesn't work in specific apps but works under some x11 and wayland apps
My Laptop has a wacom tablet and pen integrated in the internal screen (Lenovo Yoga 7 14AHP9 & Lenovo Digital Pen 2 (i already added Wacom 5360 to libwacom for gnome settings to recognise it)). ...
0
votes
1
answer
29
views
Can't compile beginners tutorial for GTK on Ubuntu 22.04
This is my first stack post, so forgive me if the formatting etc's a bit off.
Im following the beginners GTK tutorial near the end of this page
Same issue mentioned here, except those users are on ...
-1
votes
0
answers
14
views
Substitution rules linux font doesn't work
Substitution rules linux font doesn't work.
Oracle Linux Server release 7.9
NAME="Oracle Linux Server"
VERSION="7.9"
There are fonts that are located in the folder ~/.local/share/...
0
votes
0
answers
46
views
Request is pending and exiting with a segmentation fault (C++ and Libcamera)
I'm working on software for a camera using C++ with libcamera library. All the camera configuration parts seem correct, but the continuous frame capturing function is not running and ends with a ...
-1
votes
0
answers
30
views
In my Linux, the /tmp is equal to /proc, This bothers me [closed]
when I run the following command:
docker exec -ti f3a943ee0b78 bash
I miss the error :
failed to create runc console socket: mkdir /tmp/pty30195047: no such file or directory: unknown
So I went to ...
-1
votes
5
answers
87
views
How do find specific string in file? [closed]
I have a file that show bridges with IP and port numbers. I didn't find any question to solve my problem. Those numbers are changing frequently, I always want to put in variable only numbers after :...
-4
votes
0
answers
22
views
Black Screen with Blinking Cursor After Update & Upgrade in Kali Linux on Parallels VM [closed]
I am using Kali Linux on a Parallels VM (running on macOS), and after running sudo apt update && sudo apt upgrade, my VM now shows a black screen with a blinking cursor (slash icon).
What I’ve ...
0
votes
0
answers
7
views
Unable to successfully build OpensimRT
Hello I've been wanting to get a GRF prediction software called OpensimRT which works with the biomechanical simulation software Opensim to work. The github for OpensimRT is as follows: https://github....
0
votes
2
answers
65
views
What does \$$1 mean in this shell function?
I saw this function definition from "Linux Shell Scripting Cookbook", I wonder why there needs two $ sign is needed in the last part of eval $1=\"$2\$\{$1:+':'\$$1\}\". How to ...
-1
votes
0
answers
28
views
Undefined reference to SDL_Init() when cross-compiling for Windows with CMake?
I'm running Ubuntu, I'm trying to cross compile for Windows. I've installed the x86_64-w64-mingw32 compiler. I installed SDL2 and SDL_Image libraries for x86_64-w64-mingw32.
I've set up my CMakeLists ...
0
votes
0
answers
41
views
Linux bash, how to avoid "$@" to strip/remove quotes from the arguments/value and ungroup all arguments: (parsing using 'getopt')
I am looking forward to receive some help on this little but tedious problem of mine that seems I am not currently able to solve since a few weeks so far.
I have tried a few workarounds without ...
-2
votes
0
answers
27
views
AWS EC2 Linux Instance - ModuleNotFoundError: No module named 'dateutil'
I am connecting to an AWS EC2 Linux Instance to run a Python script in the cloud. I am trying to pip install the libraries required for my Python script to run. After I pip install pandas and then try ...
0
votes
0
answers
18
views
Docker APT repositories no longer work on Mint 22
I recently upgraded to Mint 22 from 21.3, and I had to purge docker, and it's repository for the mitnupgrade script to work. Now I'm back to installing all the stuff I had to remove for the upgrade, ...
0
votes
0
answers
5
views
Accessing directory pertaining to owner fu that is in directory onwed by bar
I seem to be failing at one fundamental concept of linux.
I have a second hard drive, that is mounted at /media/drive1/ and is owned by owner fu. On that drive, the directory database (/media/drive1/...
-2
votes
1
answer
17
views
Is it possible to tell apt to stop prompting about certain missing dependencies? [closed]
I have a scanner that only works when downloading the .deb from the manufacturer (Brother) and installing with:
sudo dpkg -i --force-all libsane-dsseries_1.0.5-1_amd64.deb
--force-all is required. ...
0
votes
0
answers
12
views
Docker Checkpoint/Restore (CRIU) Hanging on Ubuntu 24.04
Environment
Ubuntu 24.04 (Noble)
Docker 24.0.7
CRIU 4.0
Kernel: 6.8.0-48-generic
Issue
Both Docker's built-in checkpoint feature and direct CRIU usage hang when attempting to checkpoint a simple ...
0
votes
0
answers
9
views
Dimension error when using multiple GPUs for Pytorch MaskRCNN training
I have implemented a basic loop for training of the Pytorch's implementation of MaskRCNN. I have 4 GPUs available for training. I am using torch.nn.DataParallel() to use multiple GPUs if I want.
...
-2
votes
0
answers
31
views
Issues with hosting web site on AWS EC2 [closed]
Trying to host my webpage using AMAZON EC2 and Apache Web Server the port is opening but am not able to see my web page which i uploaded on /var/www/html. On Amazon Linux
I tried to do the process ...
0
votes
2
answers
59
views
xargs cannot run with -n1 and -I together? [closed]
I need to create sub-folders under in selected_images with identical structure as download_async/. I used this command:
ls download_resave/ | xargs -n1 -t -I{} mkdir -p select_images/{}
But I know ...
1
vote
1
answer
63
views
Symbol not Detectable by Objdump
I have a shared library /opt/evince-3.28.4/lib/evince/4/backends/libpdfdocument.so. In GDB, I can easily detect a function at offset 0xa830 of this library, as shown below:
(gdb) disas 0xa830
Dump of ...
0
votes
0
answers
18
views
How to use update-alternatives Yocto class correctly?
I would appreciate any help with update-alternatives Yocto class: simply I cannot understand how it can be used and what are the correct options there.
The problem is simple: I need to install nginx-...
-1
votes
0
answers
16
views
determine the most dir. the occupies size in a storage? [closed]
Currently, I am doing the operation on a system that use a storage around 22TB,
and there is multiple Directories for different kind of files,
the issue is the storage is reaching its limit, although ...
-3
votes
0
answers
25
views
Problem install Guest Additions on Kali VM [closed]
My host operating system is Windows 11 and I am currently attempting to install Guest Additions so I can full screen my VM but am getting an error when halfway through and the regular method didn't do ...
-1
votes
1
answer
60
views
Zip all files from current folder but under a subfolder inside the zip file [closed]
In Linux, let's say I have some files in current folder like
./folder/file1
./file2
./file3
And I want them to be zipped, but inside zip the file they should result as in a subfolder:
./custom/folder/...
2
votes
1
answer
93
views
How does C determine whether a character is lower case (islower or isupper)?
I was looking into GNU tr in bash on Debian Linux. The regex engine appears to have a [:lower:] and [:upper:] shorthand. The regex matches on "lowercase" and "uppercase" letters. ...
0
votes
1
answer
24
views
Getting error while installing dependency manually on render environment
I am unable to deploy my dockerized application on render.com I am using puppeteer-real-browser library which requires xvfb to be installed if ran on linux OS.
I am using Chromium Version 130.0.6723....
-5
votes
0
answers
22
views
tmux copy out from remote host running tmux over SSH [closed]
I have SSH connection from my GNOME desktop (VM) running to remote server over VPN. On remote RHEL 9 server, I run tmux.
*
(VM) GNOME terminal --> SSH remote RHEL 9 host (tmux)
While I am able to ...
-3
votes
1
answer
56
views
Linker complains about multiple definitions [duplicate]
I have been staring at this too long and may just not be seeing something obvious.
I am cross-compiling on Ubuntu 24.04 using /usr/bin/aarch64-linux-gnu-g++-12 cross-compiler for Raspberry Pi Zero2 W....
1
vote
1
answer
13
views
Why can't I get the parent process' task_struct pointer in libbpf program?
#include "vmlinux.h"
#include <bpf/bpf_helpers.h>
typedef unsigned int uint32_t;
typedef unsigned long long uint64_t;
typedef int pid_t;
#include "execsnoop.h"
// Define a ...
2
votes
0
answers
55
views
Lua pcall inconsistency while dealing with SIGINT on Linux
I am trying to understand the details of signal processing in Lua. I have a few simple one-liners that wait on something, and I interrupt them with Ctrl+C. All of them have the form print(pcall(....))....
0
votes
0
answers
23
views
Suggest IDE with form designer for develop Linux desktop using .NET [closed]
i'm a .net developer and i would try to develop Linux desktop app and i Need a ide with gui form designer.
Exsist an IDE with form designer for do that ?
-2
votes
0
answers
23
views
Having problems to compile a new kernel
I have a task for the school where i must do a system call with a new kernel. The only problem that im having is that when i run the code "sudo make install" it shows the following errors:...
-2
votes
0
answers
20
views
module aiohttp has no attribute __author__ [closed]
In python, we construct a mapping from error code to sequence of error types using -
dict(map(_to_tuple, filter(_is_valid_key, groupby(src, _extract_key))))
This throws an exception - (using Python 3....
0
votes
0
answers
18
views
x86_64 Linear-Address Translation wtih 4-Level paging [duplicate]
As I understand, the 4-level paging uses only the 48 least significant bits.
So, regardless of the other bits, the address will point to the same physical address, correct?
For example:
...
-4
votes
0
answers
34
views
Is Linux suitable for a baseband kernel? [closed]
Smartphones use a non-"rich" OS/kernel to run the baseband chip on these devices. Would Linux suffice in this role? If not, what prevents it from being so? Could Linux perform radio-handling ...
-2
votes
0
answers
16
views
hosting react frontend and express backend [closed]
Hey i m using express for backend and react for frontend.how to host both these servers and setup cors configurations
I m currently running react server on my local machine on port 5173 and express ...
-1
votes
0
answers
16
views
How to Redirect SSH Connections to a Docker Container [closed]
I'm trying to set up SSH access to a Docker container running on my server. I want to be able to SSH into the container using a specific user and have it redirect to the container's SSH port.
I've ...
0
votes
0
answers
21
views
Cannot use ":w !sudo tee %" with ranger + nvim
Main Problem
I'm a beginner arch user, and trying to configure my environment so that I could seamlessly edit files using ranger with nvim.
I installed ranger using the following command:
make install ...
0
votes
2
answers
74
views
awk: split logfile, starting from 1st line matching minimum value up until last line before maximum value is exceeded
I have a logfile from a service which was never rotated. Now I want to split this logfile into separate files, one for each month.
Most lines start with the unix-timestamp enclosed in brackets, ...
0
votes
0
answers
42
views
Cross Compiling Qt 6.8.0 Windows x86 -> Linux aarch64: Cannot find crt1.o
I'm trying to cross-compile Qt6 on Windows 11 for a Raspberry Pi 4. The reason for this is WSL2 does not handle the Qt Creator GUI very well and I would like to be able to develop natively on Windows. ...