Category "linux"

Complex keyboard input to child process in C, Linux

Ive been trying to solve this one for some time but im unable to come up with a solution. I need a child process to understand complex WASD keyboard input (with

CentOS 7 Samba Server - Integrate with Windows AD

I am deploying Samba Server on CentOS 7 using winbind. And I am joining AD using #net join ads but i am getting below error. But i am able to login domain users

Command in dockerfile doesn't take effect

Below is my dockerfile. After the dependencies are installed, I want to delete a specific binary (ffmpeg) from the node_modules folder on the container, and the

Vscode cannot connect to remote Linux (_WebSocket close with status code 1006)

Remote connection to Linux. After entering the password, there are two prompts on the right coude not fetch remote environment failed to connect to the remote e

Python Upgrading leads to terminal... not opening

I just upgraded python in ubuntu to python 3.10 to use the match/case statements, but now, my terminal won't open. Anywhere. I tired opening it on Visual Studio

How to pass blank parameters to a script called in crontab (Linux)

I am trying to pass a blank parameter using double quotes, "", but it just gets ignored. All parameters after the blank parameter end up in the wrong position i

Why doesn't my multi-process writing program trigger concurrent conflict?

I'm trying to trigger some concurrent conflicts by having several processes writing to the same file, but couldn't: #include <stdio.h> #include <stdlib

Linux script not executing properly after a reboot

I am using a raspberry pi4 with 32bit Raspbian to display some webpages. I have a script to open 2 webpages, one on each monitor. The end of the script selects

using #if to run a function

I'm trying to run the expression _setmode only if I'm using Windows, and setlocale only if I'm using Linux, but I can't manage to make them work with a simple i

How to deploy qt applications in raspberrypi 4

i want deploy qt applications in raspberrypi and share apps with other raspberrypi without instal qt. As an executable file. I tried linuxdeployqt but it error

How can I make my Rust program run at startup?

I know about how to run programs at startup on Windows, but not Linux (even though I use Linux myself). Is there a library I can use which will automatically ru

Cross-compiling the gettext library: error when relinking for armv7a

I'm trying to cross compile (for armv7a and aarch64, android) the gettext library (dependency for glib). The configuration and compilation is successful, but du

Integrating Protobuf into Unreal Engine 4 (Linux)

I'm having trouble integrating protobuf (3.20.4) into UE4 as a static library and packaging for linux. The packaging fails with these errors : undefined symbol:

Using ssh to login to linux terminal from windows and run command in a logged in shell

First of all, this may seem like a duplicate question but I have searched stack overflow/various other forum sites and still haven't managed to find a solution.

Process 'rumpostgreswk' running on linux and took 100% memory and CPU, where does it come from?

I have a question, I'm running a nodeJs server on a Digital Ocean droplet. I'm using pm2 for monitoring the application, everything looks fine. However suddenly

how can we see the .exe printf message [closed]

I have an question about the .exe log. I am using raspberry pi 4 module with Debian OS where I am running my c-program from the .service base

Mount a CIFS client/connection with sys/mount

I am trying to make a CIFS connection between my Ubuntu client desktop and my Windows 10 server Desktop, so I can share folders and files though a local network

Uubuntu 20.4.03 server - local repo set up

I've install and config a local repo server with Ubuntu 20.4.03 using the following link [https://www.linuxtechi.com/setup-local-apt-repository-server-ubuntu/#:

Can I add something to these commands so they delete original files?

I'm modifying hundreds of pictures with two command lines and I have to manually delete the original files before executing the second command, then delete one

Zabbix. Why on two same linux servers, with the same configuration and same template, I have different items and triggers on zabbix server?

I set up two same servers with the same configuration. I link with hosts the same templates on the Zabbix server, but Hosts has different counts items, triggers