I noticed on startup my computer is saying “Failed to start D-bus system message bus”

my sway session would not start

I switched to dbus-deamon-units and now sway will start with seatd, but i can’t, for example, use notify-send as it says

Error spawning command line “dbus-launch --autolaunch=82fe279a661a4ecdb58cb22596899103 --binary-syntax --close-stderr”: Child process exited with code 1

I suspect I may have setup dbus to run as root with systemctl or something? but I have no idea what’s going on and have been at this for hours, any advice would be helpful

Also, it takes two attempts to run commands, zsh is saying

zsh: corrupt history file

edit: I discovered pacman was lying to me about dbus-daemon-units being installed, and dbus-broker is now running fine at a user level and dbus at the system level, but if I setup dbus broker as root everything breaks, I dunno

  • nbailey@lemmy.ca
    link
    fedilink
    English
    arrow-up
    6
    ·
    edit-2
    10 months ago

    Not an arch user, but it’s possible they moved dbus to a user scoped unit now. Might be possible to start it like this (or something similar)

    systemctl —user start dbus.service