Is there a linux command to determine the window IDs associated with a given process ID?

Given a process iD of XX, I'd like to have a list of any window id's where _NET_WM_PID = XX. Even better would be the oldest still active window id if possible. I'm very new to linux, but what...

Gitlab: Problems running Unicorn, Resque with Passenger/Nginx

I have installed a Gitlab on a brand new Ubuntu (10.04) and it is working almost correctly. Gitlab is reachable on HTTP, I can push/pull data via git to the server. There is one thing missing...

How to install and import Python modules at runtime?

I want to write a script to automatically setup a brand new ubuntu installation and install a django-based app. Since the script will be run on a new server, the Python script needs to...

PM2 and Nginx: 502 Bad Gateway

I've been trying to deploy my Node project on a brand new DO droplet, but i'm having some problems with PM2. My steps are a follows: Node came installed on the Droplet image (Ubuntu, Node...

"libcrypto.so.1.0.0: version 'OPENSSL_1.0.1' not found " during shell_exec

I'm running into a bit of a weird issue in PHP using shell_exec to run git commands. This is a brand new image of Ubuntu 16.x LTS with only a copy of Lampp installed and the git packages. Within a...

How do I install .NET Core 2.0 in Ubuntu i686 architectures?

How do I install .NET Core 2.0 in Ubuntu i386/i686/i86-64 architectures? All the links I found lead to amd-64 installations. uname : Linux XXX-virtual-machine 3.5.0-43-generic #66-Ubuntu SMP Wed...

Cannot delete docker image

While setting up a new build machine (CentOS 7, Docker CE 17.12.0-ce), I did a simple test: docker run -it --rm ubuntu bash Which worked fine, but now I can't remove the Ubuntu image. [build ~]$...

OpenNMS installation fails with error, expected stable but got opennms-23, is it possible to go trought it?

By following the Debian installation section at page https://docs.opennms.org/opennms/releases/latest/guide-install/guide-install.html on a brand new Ubuntu 18 LTS I am getting an error after the...

Can't edit credentials Rails 5.2

When I open the file this way: EDITOR="atom --wait" bin/rails credentials:edit I get a brand new file that is assigned a new name (a number.credentials.yml) and reports "New credentials...

How to fix 'Some files are not writable by WordPress' error, website cannot be changed by admin

I'm setting up a new website. most files are not editable by WordPress. I am using a virtual machine on google cloud console. It's Ubuntu 18.04 LTS LAMP stack. I have tried editing permissions of...

How to retrieve the "Initiator" field from the devtools Network panel with Selenium?

I'm trying to extract all the URL network requests from a website and establish a relationship of hierarchy between them i.e. if one URL request is generating another request. Something like a...

Error: conflicting types when trying to make a simple syscall

I'm brand new to Linux programming and I'm trying to implement a simple system call loosely following this guide:...

aws cli output automatically being sent to vi

I am currently learning the AWS CLI (v2) and have installed it on Ubuntu 18.04. I am running zsh with oh-my-zsh installed. I am trying to get aws command output to be reported back to the terminal...

Android/Sdk is missing a Tools folder, meaing no sdkmanager, meaning "Android license status unknown" error

I wanted to start learning Flutter, so I'm following the guide, but I'm already stuck on the very first step. I haven't done anything other than create a brand new app, but when I hit "Run" in...

How to git clone in wsl?

I try to clone a repo from a brand new Windows Install with wsl (Ubuntu 20.04). What I did : generate SSH key and add public key to both github and framagit. Tried ssh -i -T...

react 16: Uncaught (in promise) Error: Unexpected token u in JSON at position 0 at A

Had this error appear in my app, so I just started a brand new React16 app with npx create-react-app temp, fired it off with npm start, opened devtools and I get the above message. It's pointing...

kubernetes dashboard CrashLoopBackOff

Brand new to kubernetes, but managed to install kubernetes, ubuntu 20.04 LTS, but having issues with the dashboard. followed the procedure, using flannel as CNF. The log states issues with...

How to send a Label Print Job to a network CUPS/Raspberry Pi print server from a .NET Core Web API server docker container?

What I have currently completed: setup a Raspberry Pi with CUPS, plugged in a Dymo Labelwriter 450. Followed this link: Setup Raspberry Pi. This works and prints fine on my local machine...

Default Traefik ingress controller on k3s gives "Gateway Timeout"

I have set up a simple two-node Kubernetes cluster using K3S. I have deployed a very simple web app, but when I try to access the web app, I just get a "Gateway Timeout". I've tried to keep the...

Output from GitHub action is empty

I'm creating my first GitHub action and I can't figure out why the output is empty. action.yml name: "Run Endtest functional tests" description: "Register a deployment event with Endtest and run...

minikube does not start on ubuntu 20.04 LTS. Exiting due to GUEST_PROVISION

I am trying to setup minikube in a VM with ubuntu desktop 20.04 LTS installed, using docker driver. I've followed the steps here, and also taken into consideration the limitations for the docker...

Publish GitHub Action to Marketplace: Unexpected value 'steps'

I was using the workflow below in a project. However, I wanted to share this with other people and figured posting it as a GitHub Action to the marketplace would be the most user-friendly option....

Qt creator could not parse stddef.h --> incorrect code completion and highlighting

I am developing a QT GUI for my application using QT Creator (4.11.0). Recently, our IT updated my OS to Ubuntu 20.04 (from 18.04) - maybe the error is related to that. I have not touched to...

Using Gstreamer for Android with JNA & gst1-java-core?

Before we start allow me to just say that I know that it is possible to integrate Gstreamer into Android natively using C code as done in the Android Tutorials themselves. This question is not...

Gitlab Runner with Docker and shell error — Permission denied

Installed a brand new Gitlab CE 13.9.1 on a Ubuntu Server 20.04.2.0. This is the pipeline image: node:latest before_script: - apt-get update -qq stages: - install install: stage:...

Running PySide6 on Raspberry PI 4

Recently I have bought a brand new Raspberry Pi 4B with 8Gb RAM and installed Ubuntu Desktop 21.04 there. My goal is to create a GUI on a touchscreen which controls GPIO pins (some hardware...

Github action write to a repo in Node with @actions/core or @actions/github?

Learning Github Actions I'm finally able to call an action from a secondary repo, example: org/action-playground .github/workflows/test.yml name: Test Write Action on: push: branches:...

Unable to run program: collect2: error: ld returned 1 exit status

I've already reviewed the answers at https://stackoverflow.com/questions/16710047/usr-bin-ld-cannot-find-lnameofthelibrary and none of them work for this context. I just got a new laptop and...

Apache reverse proxy to Node - Connection refused: AH00957

I am trying to get a brand new cloud based server working with a default version of 20.04 server ubuntu working with apache and node. The node server appears to be running without issues reporting...

Rails bundle install Could not find turbo-rails-7.1.1 in any of the sources

On a brand new digitalocean droplet running Ubuntu 20.10 with a brand new pretty near empty rails 7 alpha 2 app running bundle install results in the following both when running cap production...