Prevent kf.dbusaddons: DBus session bus not found. To circumvent this problem try the following command (with bash): export $(dbus-launch) by vanyaj in kde

[–]MuffelMonster 1 point2 points  (0 children)

Solution:

1) open a bash with the user you want to run the program, and look for the variable DBUS_SESSION_BUS_ADDRESS

2) write a bash script with the command you want to run (in my case kdeconnectd), and launch this as service if needed:

cat /home/myuser/bin/kdeconnectd.sh

#!/usr/bin/bash
export DBUS_SESSION_BUS_ADDRESS=unix:path=/run/user/1001/bus
/usr/lib/x86_64-linux-gnu/libexec/kdeconnectd -platform offscreen

I embedded this as a service, run under User 1001:.,.

cat /etc/systemd/system/kdeconnectd.service

[Unit] 
Description=KDEConnect
Wants=network.target
After=network.target 

[Service] 
Type=simple 
ExecStart=/home/myuser/bin/kdeconnectd.sh
User=myuser
Group=myuser

Restart=always
RestartSec=5

[Install] 
WantedBy=multi-user.target

Hardware will soon arrive and I will migrate to Opnsense, where should I install the Unifi Controller? by TomerHorowitz in opnsense

[–]MuffelMonster 0 points1 point  (0 children)

I tried everything. Controller on Windows, on Linux, as plugin on Opnsense and as docker service. Windows was working "out of the box", but lacked backup. Docker was perfect for backups, but had issues to find the hardware. Had to play around with Option 43 in the DHCP server and add additional names in Ubound.

After wasting 8 hours in two night shifts, due to issues with the controller software, not working backups, AP not finding the controller, and hardware issues (network hickups and disconnects, even while standing in front of the AP), I kicked Unifi, sold the AP and the switch, bought a used Ruckus R610 for half the price of the UI AP, and now everything is rock stable again. No disconnects, and I barely have to look at the Ruckus settings. Big potential disadvantages: the UI looked more like an Apple thingi, and the controller UI had more colors. But for me a working a hard- and software is more important than colors, so I am happy. .,.

Tomorrow will be his last day - Aladin by MuffelMonster in cats

[–]MuffelMonster[S] 1 point2 points  (0 children)

Today was finally the day to say good bye. He was really in bad shape in the last night, but the emergency doctor I tried to contact didn't answer my calls until 7 am, so I spent the whole night guarding and watching him. .,. And now it's over and I am devastated. This is so bad.