Hello there! This is my first post and it's about a problem with dbus in my bspwm session.
Before this, i searched through the forum and used other sources (IA, google) to solve the problem, but nothing works.
The main problem is that connman-gtk doesn't launch on my session. This is the error i get when I run it through the terminal:
connman-gtk ─╯
(connman-gtk:18869): dbind-WARNING **: 12:31:13.055: Couldn't connect to accessibility bus: Failed to connect to socket /run/user/108/at-spi/bus_0: Permiso denegado
This was happening on i3-wm too, but today I updated my system and now it work again there, but in Bspwm just keep failing.
I searched through google and used IA to try to solve it the last couple of days. I learned that lightdm have a user explicitly to launch dbus and properly launch sessions. That's why my user can't run connman-gtk, permissions conflicts. But, to me, it's strange that it work properly on i3 but not in Bspwm.
By the way, the configuration on i3 uses an autostart.sh script to launch connman-gtk, among other apps. I do the same on Bspwm, but it just doesn't work as it does on i3.
There's something that i missing? I really appreciate any help about this
To launch dbus in bspwm I use dinit user service https://wiki.artixlinux.org/Main/Dinit#User_services.
I am not using turnstile but a simple script instead that will kill if present and the launch dinit.
Sorry for the late. First, thanks to reply :)
Second: yesterday I was trying to make that script, forgetting about investigate more about turnstile xD
Now, if I get it right, turnstile is a replace for logind, so, in my case I should replace elogind with turnstile. I found the package turnstile-openrc on the repos. If I install it, do I need to do all the configurations for it that are specified on the GitHub?
https://github.com/chimera-linux/turnstile
You can run this:
#!/bin/sh
clean() {
PID=$(pgrep -fo "dinit -u")
if [ $PID -gt 1 ]; then
kill $PID &
#echo "Killed \"dinit -u\" with PID: $PID"
clean
fi
}
begin() {
eval "dinit -u"
}
start() {
clean
begin
}
if [ "$1" = "start" ]; then
start
elif [ "$1" = "clean" ]; then
clean
else
start
fi
In Artix you need elogind if you use xorg it seems, you do not need the service though https://forum.artixlinux.org/index.php/topic,7778.msg47331.html#msg47331.
Also removing it it is not easy.
In Alpine you do not need it and it is not installed by default.
In fact if you press the power button nothing will happen.
If you want to use turnstile you can look /etc/turnstile/turnstiled.conf to configure it.
According to the wiki you do not need to edit it.
Turnstile is not a complete replacement yet there is an option in the conf about that.