227,585 questions
-3
votes
0
answers
28
views
How to get total download and upload data from a specific process in Linux using Rust language? [closed]
I find difficult to get total download and upload data from a specific process in Linux using Rust language. I tried to ask any AI assistans but none of their code works. I tried using libbpf-rs, aya, ...
0
votes
1
answer
27
views
FLTK custom widget with Cairo under Wayland
We are maintaining an open source code base for an desktop application on Linux (and BSD). The GUI of this application is built with FLTK (and is quite complex).
In this GUI, there is a custom widget, ...
-3
votes
0
answers
58
views
How systemd service will interpret sleep when the PC is turned off? [closed]
I have a script that does three things in a loop:
Do one thing when started
Wait one day (sleep 1d) and then do this thing again
Repeat while the processname is active
A quick example based on a ...
Tooling
0
votes
0
replies
45
views
What are the options for flutter on embedded arm64 Linux?
I currently have an embedded Linux system (arm64) where I have a flutter GUI inside a docker container.
To achieve this, I've been using sony's flutter-elinux project. I currently build it against a ...
2
votes
1
answer
56
views
Network namespace MTU setting in C vs the 'ip' utility with big Ethernet frames
I have this Linux C project that (among others) sends (bigger than 1500 bytes) raw Ethernet frames between network interfaces of different processes. I have a bunch of system tests where this ...
-4
votes
0
answers
37
views
How do I run an instance of snap/bin/chromium on its own separate NETFS namespace without snap profile timeout error? [closed]
I have this script. I have created and tested the required namespace and it can access internet. The script is supposed to run an instance of chromium in that namespace. But it gives me this error ...
1
vote
0
answers
115
views
How can I bypass the ASLR c code that was compiled as 64-bit? (school assignment : “within 10 minutes.”)
How could I get past it if the code is compiled as 64-bit? There’s no need to obtain a root shell; it’s sufficient to just verify that the address was guessed correctly. In my assignment, to bypass ...
0
votes
1
answer
26
views
How to test kwin scripts in the KDE Plasma Scripting Console?
The KWin scripting tutorial at https://develop.kde.org/docs/plasma/kwin/
says "The easiest way to test KWin scripts is to use the Plasma Desktop Scripting Console",
so I'm trying that, but ...
2
votes
0
answers
63
views
How to adjust the position and size of CEF browser in Linux?
I embedded CEF into QT and initialized it successfully, but I am helpless on how to modify the size and position.
I used the latest version of CEF compilation:
cef_binary_142.0.17+g60aac24+chromium-...
Best practices
1
vote
1
replies
34
views
Thread safe initialisation of function-scoped static variables in C11
I wish to initialize a function-scoped static structure in a multi-threaded environment without using a mutex, so that the fast path (i.e. already initialized) involves little overhead.
Initialization ...
1
vote
0
answers
29
views
Creating IpSet with libipset in c,Create command keeps failing Error: Invalid create command: missing settype
I'm trying to create ipset through libipset from application layer. below i pasted the code for an function which tries to create an ipset with the help of libipset. but for some reason it's not ...
-5
votes
0
answers
27
views
Trying to setup a systemd daemon for hfs server [closed]
So I have installed Node.js on a Raspberry Pi 5, and I am using Node.js to run HFS (http file server). I am trying to set up a system daemon so that when the Raspberry Pi is turned on, the HFS server ...
0
votes
0
answers
24
views
EMF/WMF images not rendering on .NET Core + Linux but work on .NET Framework Windows
I am converting DOCX to PDF using Syncfusion DocIO.
On .NET Framework 4.6 (Windows), all logos render correctly. After migrating the same code to NET Core 8 on Linux, only PNG/JPG images work, while ...
0
votes
1
answer
28
views
Puppeteer "No usable sandbox" on Github Actions with ubuntu-latest (23)
I have some jobs running on Github Actions, that require Puppeteer to run, but it fails to start with this error
Cannot start ChromeHeadless
[2303:2303:1207/162353.403103:FATAL:content/browser/...
0
votes
0
answers
16
views
Monero MultiSig Wallet code returns that the experimental MultiSig flag is off, why doesn't it work like this?
Currently developing a Monero MultiSig CLI Wallet in Python3.13 and I have the issue that the set enable-multisig-experimental 1command was called in different ways and I still get the issue, that ...