Skip to main content
Filter by
Sorted by
Tagged with
0 votes
0 answers
3 views

I'm currently running a QEMU/KVM Virtual Machine on my Linux(Debian) host and using Ubuntu as the guest operating system (VM). I'm trying to pass through a USB webcam to the VM using the USB Host ...
Sky Dog's user avatar
  • 465
Best practices
2 votes
1 replies
32 views

I have a C application that uses pam to reauthenticate a user on a system with faillocks configured. Imagine something that would work similar to login on the outside. However, it only does basic ...
Ágatha Isabelle's user avatar
0 votes
0 answers
21 views

I have a nfs4 server where the uids of two users are flipped against the client. (Both machines are running debian trixie) server name=jupiter karl 1000 alice 2001 bob 3001 client name=saturn ...
Impatient Hippo's user avatar
-1 votes
0 answers
23 views

Im trieng to install "VIEL" but at the end of installing it outputs this Error: Failed to fetch http://mirror1.sox.rs/kali/kali/pool/main/g/gcc-mingw-w64/gcc-mingw-w64-x86-64_15.2.0-7+28_all....
Mohamed Nasser's user avatar
-2 votes
0 answers
21 views

Fedora 42. I use the following script to connect to my work VPN using Cisco AnyConnect Secure Mobility Client 4.10.08029 echo -e "$USER\n$(pass company/domain)\n$(pass otp company/mfa)\ny" &...
bqback's user avatar
  • 317
0 votes
0 answers
25 views

I have a Rasperri Pi 5 and I need to increase swap memory to 4GB. I made sure that zram generator is installed by running: sudo apt install systemd-zram-generator and I have ONLY one config file in ...
spy95's user avatar
  • 131
-3 votes
0 answers
33 views

I have downloaded 1.16 version of MIP SDK Java Wrapper for windows and able to successfully decrypt .rpmsg from Outlook. But now I have an Amazon Linux 2 (AL2) environment which is similar to RHEL. ...
Arun51's user avatar
  • 1
8 votes
1 answer
174 views

If I start two threads bound to CPU 0, where one is SCHED_IDLE, then why is it ever scheduled when the other thread is CPU bound at either normal priority, or at SCHED_FIFO? For SCHED_FIFO I get it, ...
Thomas's user avatar
  • 4,426
-2 votes
0 answers
37 views

I have compiled the Linux kernel many times, and I always find that it needs a certificate. In my build process, I always encountered "No rule to make target 'debian/canonical-certs.pem" and ...
Zhenyu Zhang's user avatar
Advice
0 votes
1 replies
47 views

this is the first time I encounter a swap issue, I'm lost about how Linux is supposed to behave. I have a RHEL virtual machine running a batch processing RAM intensive application (100+GB RAM, 1GB ...
849856487764's user avatar
1 vote
1 answer
41 views

i create a script that is supposed to create a new workspace and that workspace launch four terminal each in given position with a command ran in it. this is the script.sh #!/usr/bin/env bash WS='9:...
oumaima's user avatar
  • 49
0 votes
0 answers
38 views

I've been trying to get a project on my Windows device to run through WSL, and I've been getting stonewalled by C++ compilation errors. I don't understand anything OS-level very well and ended up ...
Steven Shoemaker's user avatar
0 votes
0 answers
46 views

i am programming an app with vite, svelte@4, electron and electron-builder. if i run electron ./start-electron.js the logo is shown, but after many days of trial and error i still don't get it in the ...
Thronella's user avatar
  • 111
3 votes
1 answer
111 views

I am currently attempting to use the thrust::remove function on a thrust::device_vector of structs in my main function as shown bellow: #include <iostream> #include <thrust/device_vector.h>...
AowynB's user avatar
  • 33
1 vote
0 answers
36 views

I use the mg MicroGNUEmacs editor, a small emacs clone, and encountered a problem upon using c-mode. Whenever I type "}", ")", or "]", the cursor is taken to the matching ...
Aiden Ghim's user avatar
-2 votes
1 answer
68 views

When trying to rebuild a CMake project as a different Linux user, it generates Operation not permitted despite having read and write access through group permissions. The only way to solve it is to ...
James Easton's user avatar
2 votes
2 answers
117 views

I'm trying to write a small bash script that will take values from my mouse's horizontal scroll wheel to change my system's volume. Using this guide, I've come up with the following command to ...
SodaIsSoda's user avatar
1 vote
0 answers
78 views

I want to create a skeleton for a project in which there are multiple cuda and cpp files. They will be compiled individually and then linked together to form a single executable. Currently I have the ...
ThErOmAnEmPiRe's user avatar
1 vote
0 answers
136 views

I wanted to make a CLI tool that will display a random quote (from a list of .sh scripts which show ANSI art along with said quote) and also let you filter by author. It works fine when I pick an ...
petal's user avatar
  • 23
Best practices
0 votes
5 replies
69 views

struct timeval contains two fields: tv_sec and tv_usec, which hold a count of seconds and microseconds respectively. 1000000 microseconds is a whole second. Is it permitted to populate the tv_usec ...
user2138149's user avatar
  • 18.6k
4 votes
2 answers
155 views

I am writing a program that will periodically scan all processes on a machine. I want to cache as much as possible to avoid any system load. I can list all available pids on a machine with ls /proc/[0-...
KamilCuk's user avatar
  • 146k
0 votes
1 answer
111 views

I have to use dl library for calling libapt-pkg functions. The method I need to call is pkgCacheFile::GetPkgCache() that is declared as inline. The problem is that dlsym returns error while trying to ...
nst1911's user avatar
  • 53
2 votes
0 answers
75 views

I am currently building a voice AI agent using LiveKit. My current code base is from LiveKit. from dotenv import load_dotenv from livekit import agents from livekit.agents import AgentSession, Agent, ...
sh1nata's user avatar
  • 21
1 vote
1 answer
57 views

We have a Yocto project (mickledore) to create a custom Linux for an ARM A7 system. To be able to write code for this target, we also created the SDK. Inside local.conf we have: SDKMACHINE = "...
Daniel's user avatar
  • 13
2 votes
0 answers
57 views

I’m running Neovim 0.10.0 with mason.nvim inside WSL (Ubuntu). I have 2 Neovim configurations: one on Windows (pwsh) and the other on WSL (ubuntu). On Windows, everything works fine — I can install ...
schubert's user avatar
  • 121

1
2 3 4 5
4552