pactl connection refused on module-bluetooth

I’m running Fedora 31 with Gnome on ThinkPad E495. I’m trying to get my bluetooth headset working and figured, that the issue is probably related to PulseAudio. I tried running the following commands: sudo pactl unload-module module-bluetooth-discover sudo pactl load-module module-bluetooth-discover But they both result in:it Connection failure: Connection refused pa_context_connect() failed: Connection refused I…

Details

bind9 build from source : how to set install/config directory

I have built and installed bind from source (https://github.com/isc-projects/bind9). This has installed to /usr/local/sbin and is expecting configuration files to be in /usr/local/etc. I have copied the contents of my current /etc/bind to /usr/local/etc and modified copies of the systemd service files named bind* to use the /use/local/sbin/named executables and now I have the new…

Details

cp recursively into a directory that symlinks to dirs of same name as in source

cp -r src/* dest/ If src/ & dest/ both contain a directory foo, the contents of src/foo/ are copied into dest/foo/, which is desired. If dest/ instead contains a symlink foo -> /sym/foo, the command errors: cp: cannot overwrite non-directory ‘dest/foo’ with directory ‘src/foo’ Is it possible to copy following the target symlink, with GNU…

Details

/dev/tty0 not exist in systemd-nspawn container?

I am trying to run a linux container using systemd-nspawn. Here is my full command: systemd-nspawn –boot \ –machine “virtualdesktop” \ –setenv=DISPLAY=:1 \ –directory /mnt/virtualdesktop I’ve noticed that lightdm fails on boot. Investigation reveals that lightdm fails because /dev/tty0 does not exist. $ sudo /usr/sbin/lightdm ** (lightdm:268): WARNING **: 16:08:18.420: Error getting user list from…

Details

Session not set using Nginx reverse proxy with Express

I have an Express server with the following config: if (NODE_ENV === “production”) { app.set(“trust proxy”, 1); } app.use( session({ store: new SQLiteStore({ db: “database.sqlite”, concurrentDB: true }), secret: SESSION_SECRET!, resave: false, saveUninitialized: false, cookie: { domain: NODE_ENV === “production” ? “akira-bot.netlify.com” : “localhost”, secure: NODE_ENV === “production”, httpOnly: true } }) ); My Nginx…

Details

How to add a windows node for chef

I have 3 servers Following this guide for the chefmaster and chefworkstation https://www.itzgeek.com/how-tos/linux/centos-how-tos/setup-chef-12-centos-7-rhel-7.html chefmaster 192.168.1.200 Centos7 chefworkstation 192.168.1.200 Centos7 chefnode 192.168.1.210 Window Server 2016 I have setup a windows user on the server with administrators access. user: chefUSER I have the chefmaster setup and configured running chef 13.1.13 I have the chefworkstation setup and configured…

Details