d-bus administration

I have created simple application using d-bus, it works on kubuntu but doesn't work on my embedded linux. When I run a qt application it says: Not connected to D-Bus server When I try to run...

Play a video with VLC in X11 from remote terminal

I've got some slim terminals with Linux where a little script it's launched every time they boot. This script has a single cvlc command line which is the following: cvlc --quiet --fullscreen...

Cron scheduler of python script using notify-send

I'm having some difficulty using these three technologies together. Cron entry: * * * * * /usr/bin/python /path/to/python/email/program.py Python program: 1 #!/usr/bin/python 2 3 import...

X11 Dependency, Compile Dbus without X11, starting only Shell C++ Applications Raspbian Linux

Hello Dear SO Community :) I am trying to get DBus working on my Raspberry Pi. The example code from libdbus-c++-1 is working fine when i am in the Pi Desktop environment -> (startx) My...

Changing the default port for iPython notebook server / Jupyter

I am trying to run an ipython notebook / jupyter server on a machine behind a firewall. The only port which is open is port 80. So was wondering how I can change the default port from 8890 to...

Installing PyGame on Codenvy

Python/Linux beginner here! I'm using Codenvy (https://codenvy.com/) as an IDE for a PyGame project. I've modified my requirements.txt file with a single line: pygame But when I attempt to run...

Socket Error: Errno 111 Connection Refused

im trying to connect to a locally hosted HiveMQ broker using a RaspberryPi Virtual Machine (Using Oracle VM VirtualBox). im using Mqtt.fx aswell as a second client to look at if the published...

Forward X11 failed: Network error: Connection refused

I have a VPS which OS is CentOS6.3. I want to run startx via PuTTY and Xming. But, it produces this error: PuTTY X11 proxy: unable to connect to forwarded X server: Network error: Connection...

How to export DBUS_SESSION_BUS_ADDRESS

I'm trying to run D-Bus on an embedded system (Yocto Linux) and connect to it from my application code. I get the following error when I call dbus_bus_get(DBUS_BUS_SESSION, &err); Using X11 for...

Scrapy + Splash: connection refused

I'm learning how to work with scrapy + splash. I've created a project inside with a virtual environment and I'm now doing this tutorial: https://github.com/scrapy-plugins/scrapy-splash. I've ran...

Visual block edit in vim

I have refer to this post to use block editing in vim. But when I key I or c after the block select, vim enters the normal edit mode just as if I pressed a i. I also found, when block is selected,...

How to stop/start logstash service running in docker

I'm trying to figure out how logstash works/run inside docker, and I'm stuck with simple thing like starting and stoping logstash. I have started logstash docker container with simple run docker...

Jenkins not showing on Ubuntu through google cloud

I've installed Jenkins on my Ubuntu machine running on compute engine in Google Cloud. To do so I have run these commands: sudo apt-get update sudo apt-get install apache2 libapache2-mod-php5...

Unable to autolaunch a dbus-daemon without a $DISPLAY for X11. NetBeans. Pi as remote host

I am trying to run the following example code using my NetBeans IDE: #include <stdio.h> #include <stdlib.h> #include <string.h> #include <dbus/dbus.h> int main() { DBusConnection *connection...

Docker Login: Error when manually logging into private Registry

I can't manually log into my private GitLab Docker Registry from CLI: # docker login -u "${DOCKER_USER}" -p "${DOCKER_PASS}" "${DOCKER_URL}" error getting credentials - err: exit status 1, out:...

docker login fails on a server with no X11 installed

I am trying to deploy a docker configuration with images on a private docker registry. Now, every time I execute docker login registry.example.com, I get the following error message: error...

Docker and Java - FontConfiguration issue

We've got a Java application that generates word documents using a 3rd party (Asposee but I don't think it matters here). The app is built from a simple Docker file: FROM openjdk:10-jdk-slim COPY...

Mongodb service fails after reboot

I am trying to setup a replicaset for my dev environment, and have three machines running debian 9.3 stretch with a mongod service. The replicaset is working, and all seems okay. But when I reboot...

The repository 'http://dl.google.com/linux/chrome/deb stable Release' is not signed

I have the following step in my CircleCi setup to install Google Chrome: - run: name: Install Chrome headless working_directory: / command: | wget -q -O -...

Runing OpenModelica GUI from Docker causes "Could not connect to any X display" error

On Modelica Language Discord, someone posted the commands to get the OpenModelica GUI (OMEdit) running on Linux: xhost +"local:[email protected]" docker run -ti --rm --privileged --net=host -e...

Qt for Raspberry pi: "Could not find DRM device!"

I've built Qt (with cross-compiler) from Ubuntu VM to Raspbian (Raspberry pi model 3 B+), so it can deploy apps via ssh. Qt config: Building on: linux-g++ (x86_64, CPU features: mmx sse...

Unable to set up SDL2 to run with audio (alsa) on linux ubuntu 20.04 using conan

Depending on what I do I either get "No such audio device" if I leave determining my audio device up to SDL2 or I get Failed loading libasound.a:...

SDL2 on Raspberry Pi 4: SDL Initialization failed No available video device

I was having a problem getting one of my programs that uses SDL to compile so to fix it I reinstalled SDL2 and SDL2Image following this...

Proper sudoers user / session setup for xrdp and systemd-modules-load / auditd fails in a WSL2 openSUSE-Leap-15.2 environment

I've managed it to successfully run xrdp in an openSUSE-Leap-15.2 WSL 2 Linux subsystem on my Windows 10 64 PC. My Linux knowledge is not that great. I use KDE (startplasma-x11) as desktop for...

meta-qt5 yocto layer not compile on qt release 5.15.2

I cannot build my yocto distro (from 'pyro' version) when upgrade the meta-qt5 to the Qt version 5.15.2: I checkout the repository of meta-qt5 to the master branch that now support the qt 5.15.2,...

Mongod is not a service | Ubuntu | WSL. Error: mongod: unrecognized service

I'm using WSL2 with Ubuntu 20.04.2 LTS. I tried setting up mongodb. There are two issues: Running the command sudo apt-get install -y mongodb-org results in the error below. Errors were...

Error: <ieeefp.h> not found when building inkscape

I'm using Ubuntu 20.04.2 LTS. I've downloaded the source code with the command: git clone https://gitlab.com/inkscape/inkscape.git Then, installed the dependencies as mentioned in...

NPM requires x11 during installation via apt

I running Ubuntu server 20.04 and i need to install npm. But when i run "apt install npm" i see x11 packages in requirements. The following NEW packages will be installed: gyp javascript-common...

AWS Lambda Alpine Python Container shows IMAGE Launch error exec format error

I am writing a Lambda function to convert an excel file to PDF using unoconv with libreoffice, for this I am using alpine base image. The Dockerfile is as follows. # Define global args ARG...

Python Unable to autolaunch a dbus-daemon without a $DISPLAY for X11 with autokey

Hi :) I use autokey on raspberry pi os. I just want to use autokey script(autokey-run -s autokeyscript) with crontab (when reboot) However, there are some errors. I have already tried export...