Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

Don't run dbus-launch if XDG_RUNTIME_DIR/bus is available #21

Closed
glondu opened this issue Jan 23, 2020 · 4 comments · Fixed by #22
Closed

Don't run dbus-launch if XDG_RUNTIME_DIR/bus is available #21

glondu opened this issue Jan 23, 2020 · 4 comments · Fixed by #22

Comments

@glondu
Copy link

glondu commented Jan 23, 2020

This is a wishlist forwarded from https://bugs.debian.org/836118 :

The major D-Bus implementations (libdbus, GDBus, sd-bus) now have a fallback code path, before trying X11 autolaunch, when DBUS_SESSION_BUS_ADDRESS is unset: if XDG_RUNTIME_DIR
is set, and XDG_RUNTIME_DIR/bus exists, is a socket and is owned by the process's uid, then they will use it. In particular, dbus-user-session sets up that situation.

It would be nice if obus implemented this fallback as well.

@meadofpoetry
Copy link
Collaborator

Well, it shouldn't be hard to implement this one, I'll check this out.

@meadofpoetry
Copy link
Collaborator

meadofpoetry commented Jan 23, 2020

Ok @glondu, could you test a branch, if it works as expected?

@pmetzger
Copy link
Member

@Freyr666 @glondu if it works as expected, we can merge #22

@glondu
Copy link
Author

glondu commented Jan 27, 2020

Ok @glondu, could you test a branch, if it works as expected?

Yes. Thank you for your quick reply!

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
None yet
Projects
None yet
Development

Successfully merging a pull request may close this issue.

3 participants