How to modify INI files from shell script?

I'm building a custom package of vnc and would like to ensure the xdcmp settings of GDM are enabled in the package post install script. The gdm.conf file is an ini style one,...

ubuntu apt-get install all fiald?some errors with rsyslog

The user `syslog' is already a member of `adm'. Skipping profile in /etc/apparmor.d/disable: usr.sbin.rsyslogd /usr/sbin/invoke-rc.d: 1: /usr/sbin/invoke-rc.d: /sbin/runlevel: not found start: Job...

Ubuntu 14.04 Login loop

I am facing an infinite login loop issue: the login screen is appearing again and again after accepting correct credentials. Still, I can access the virtual terminal by using Ctrl+Alt+F1...

Job for nginx.service failed because the control process exited with error code

I follow the steps to setup a nginx server. After I create example.com.config and symbolic link for each server block in the sites-enabled directory. My nginx can't start. I can't restart nginx...

GDM3 + LDAP in Ubuntu 18.04

I'm trying to configure LDAP using GDM3 (3.28.0) in Ubuntu 18.04. But i can just log in terminal with ldap users. In the GUI I can't log in (famous GDM loop login). I configure pam to create the...

How to change X window Properties

I am using gdm and my goal is to disable user interaction on a specific X window id. I have tried to change many X-win properties like WM_PROTOCOLS, WM_HINTS, _NET_WM_ALLOWED_ACTIONS using xprop....

Not being able to connect to the server using postgresql 11 with rails

I am getting: could not connect to server: Connection refused Is the server running on host "localhost" (127.0.0.1) and accepting TCP/IP connections on port 5432? Yesterday I had this problem...

No module named 'serial'

I have a piece of Python3 code running on a Pi3B+ with Raspbian Buster that uses the serial library. I imported this library with sudo apt-get install python3-serial The Python script is placed...

Buildozer Build failed: Couldn't find executable for CC

I run the command --buildozer android debug , because i wan to create a apk file to my phone,but after i reach this point [INFO]: Building libffi for armeabi-v7a **[ERROR]: Build failed:...

"Buildozer failed to execute the last command" Error

Iam trying to make an Apk out of my Kivy Application right now. But Buildozer gives me an error at the moment, where i dont find a working solution in the internet. My Program is an simple...

Unlock Linux with Bluetooth low energy

Have you ever seen the apple watch unlock a Mac? The idea is amazing, but I don't want a smart watch because I already have a phone which has similar capabilities AFAIK. Also, I moved from OSX to...

How to prompt user for username and password on start WSL Ubuntu

I am aware of functions to set a default user or change password for WSL Ubuntu like in askubuntu thread here or official docs. What I'm looking for is when we do wsl from a cmd, or click the...

How to fix No sound on Ubuntu 18.04?

I've been using Ubuntu 18.04 with Windows 10 dual boot for some months now. Today suddenly my sound stopped working on Ubunutu. Activities -> Sound menu shows only "Dummy Output". All fine on...

Kivy garden mapview deploying error with Buildozer

I am using kivy.garden.mapview for my application. Everything works properly, but problems arise when I try to deploy the application to Android with Buildozer. I set "garden_requirements =...

buildozer is showing error during apk build

I was trying to build an apk with buildozer. The application was written in kivymd. It works good in linux environment.but when try to debug with buildozer it shows the following error. The error...

Kivy to Android apk using Buildozer on Ubuntu not work

I try to build my APK file for Android using Buildozer 1.2.1.dev0 on Ubuntu 19.04, but I get this error: Build failed: Requested API target 27 is not available, install it with the SDK android...

Error when trying to build apk with buildozer

I've tried building an apk with buildozer before and it worked however today I tried to change the app logo on my phone by using the icon.filename in the .spec file and it displays an error. I've...

Ubuntu 18.04 Python3 Selenium webdriver installation issue

I am trying to install firefoxdriver webdriver for python3 selenium on Ubuntu18.04 I followed this link : https://linuxhint.com/selenium-web-automation-python/ However, when I execute the...

gstreamer: No such element or plugin 'v4l2sink'

The problem I am trying to execute a script. Part of it needs to execute v4l2sink. I tried to execute this gst-launch-1.0 videotestsrc ! v4l2sink device=/dev/video1 & mplayer -tv...

Kivy app works fine in development but throwing error when generating a release

I developed a kivy app and everything works perfectly on my laptop and on my android phone too (in debug mode). The next step is to make a release so that I can finally publish the app. I followed...

No sound on a fresh Ubuntu 18.04.5 system with Windows 10 dual boot

I've had some trouble with sound for a few weeks already, it just doesn't produce any output on my system. I've tried submitting a bug report, but there is no answer from launchpad, the bug...

slurmd.service is Failed & there is no PID file /var/run/slurmd.pid

I am trying to start slurmd.service using below commands but it is not successful permanently. I will be grateful if you could help me to resolve this issue! systemctl start slurmd scontrol update...

xfce4 via VcXsrv Server on wsl2 issues with DPI

I'm new to linux - well, not new to bash basics, but running on an old laptop for the first time a linux mint distro, and at the same time on the main windows machine running wsl2 with xfce4 via...

Docker: Cannot start docker daemon, cannot kill container

So I'm having this issue where Docker has decided to keel over on my Ubuntu 20.04 virtual machine, hosted on VirtualBox. When I first boot my VM, no docker commands work at all. Even basic...

flutter: Gradle build daemon disappeared unexpectedly (it may have been killed or may have crashed)

I'm working with flutter in ubuntu 18.04. I can't run my project although flutter doctor is no problem. I stuck in the problem of Gradle daemon. I have tried the method in gradle user guide and...

How to make android APK with buildozer?

I am trying to buid an APK with buildozer, I have a windows but i have set up a virtual machine(linux). When i try buildozer init, it creates the .spec which I have edited as per my needs spec...

booting Arch stucks with Reading supported feature failed (-16)

My new Arch installation always stucks after rebooting with the Message [x.yz] Bluetooth: hci0: Reading supported features failed (-16). It is just doing nothing until I start a session on tty2 by...

Opensuse Tumbleweed black screen with blinking cursor

My system is openSUSE Tumbleweed 20210408. After the update, I couldn't open KDE and also I can't see any login area just a black screen with a blinking cursor. When I wrote journalctl -b 0 -p...

Cannot enable gdm on debian 10

I installed Gnome but cannot activate gdm service. Lightdm just works well but sudo systemctl enable gdm3 returns: ** Synchronizing state of gdm3.service with SysV service script with...

sh.CommandNotFound: ./compile.sh Buildozer and KivyMD error

OS: (VM) Ubuntu 20.04.2 Python3 : 3.8.5 I've been trying to compile a an application I created using the following modules: kivy,kivymd,pafy,vlc,sys, threading,time. And also a local custom module...