this post was submitted on 10 Jan 2024
22 points (89.3% liked)

Linux

48287 readers
651 users here now

From Wikipedia, the free encyclopedia

Linux is a family of open source Unix-like operating systems based on the Linux kernel, an operating system kernel first released on September 17, 1991 by Linus Torvalds. Linux is typically packaged in a Linux distribution (or distro for short).

Distributions include the Linux kernel and supporting system software and libraries, many of which are provided by the GNU Project. Many Linux distributions use the word "Linux" in their name, but the Free Software Foundation uses the name GNU/Linux to emphasize the importance of GNU software, causing some controversy.

Rules

Related Communities

Community icon by Alpár-Etele Méder, licensed under CC BY 3.0

founded 5 years ago
MODERATORS
 

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

top 3 comments
sorted by: hot top controversial new old
[–] treadful@lemmy.zip 14 points 10 months ago (1 children)

It's mentioned in the announcements.

We are making dbus-broker our default implementation of D-Bus, for improved performance, reliability and integration with systemd.

For the foreseeable future we will still support the use of dbus-daemon, the previous implementation. Pacman will ask you whether to install dbus-broker-units or dbus-daemon-units. We recommend picking the default.

For a more detailed rationale, please see our RFC 25.

https://archlinux.org/news/making-dbus-broker-our-default-d-bus-daemon/

Though it doesn't say you really need to take any action but maybe it's a start for something to look into.

[–] t_378@lemmy.one 1 points 10 months ago

If you check out the mailing list archives there is some active discussion about dbus-broker as well.

[–] nbailey@lemmy.ca 6 points 10 months ago* (last edited 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