Re: dbus as user service
Reply #4 –
@artoo , Im confused when you say "Dbus user session are not supported by elogind". It appears as if the dbus user session I start is working with elogind running. Is it really not working right in some way
I dont use dinit-userservd, and elogind is running, but I do start a dbus session with dinit. My whole graphical session is started with dinit. Everything subsequently started has dinit as the parent process and terminates nicely with "dinitctl shutdown". No lingering dbus started processes. No missing groups with the groups command.
$ dinitctl list
[[+] ] boot
[{+} ] swaywm
[{+} ] sway 32006
[{+} ] dbus 32003
[{+} ] wlsunset 32072
[{+} ] nm-applet 32071
[{+} ] audio
[{+} ] pipewire 32070
[{+} ] wireplumber 32075
[{+} ] pipewire-pulse 32076
[{+} ] blueman 32069
[{+} ] polkit 32068
[{+} ] mako 32067
$ pstree -Tp $(ps -C dinit -o pid=)
dinit(32000)─┬─at-spi-bus-laun(32123)───dbus-daemon(32128)
├─at-spi2-registr(32134)
├─blueman-applet(32069)
├─blueman-tray(32165)
├─dbus-daemon(32003)
├─foot(32219)───zsh(32220)───pstree(32263)
├─gvfsd(32097)
├─gvfsd-fuse(32113)
├─mako(32067)
├─nm-applet(32071)
├─obexd(32155)
├─pipewire(32070)
├─pipewire-pulse(32076)
├─polkit-gnome-au(32068)
├─sway(32006)
├─swaybg(32047)
├─swayidle(32060)
├─waybar(32054)
├─wireplumber(32075)
├─wl-paste(32056)
├─wl-paste(32058)
└─wlsunset(32072)