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

DBUS_SESSION_BUS_ADDRESS #6

Open
teohhanhui opened this issue May 17, 2024 · 8 comments
Open

DBUS_SESSION_BUS_ADDRESS #6

teohhanhui opened this issue May 17, 2024 · 8 comments

Comments

@teohhanhui
Copy link
Collaborator

Can we set that somehow? It seems to be used by Steam.

@SO5005
Copy link
Contributor

SO5005 commented May 17, 2024

dbus-launch sets it.

@teohhanhui
Copy link
Collaborator Author

Oh, I see... But apps inside the VM would not be able to talk to services on the host's session bus, right?

@SO5005
Copy link
Contributor

SO5005 commented May 17, 2024

dbus-launch isn't installed per default on fedora, dbus-x11 needs to be installed to get dbus-launch.

@SO5005
Copy link
Contributor

SO5005 commented May 17, 2024

If I run dbus-launch it sets DBUS_SESSION_BUS_ADDRESS to something different than it was before. (originally it was unix:path=/run/user/1000/bus dbus-launch sets it to something like unix:path=/tmp/dbus-CB34ABmjaq,guid=2b0f4a14646900e5ac3fd40366470d34 but it does not export DBUS_SESSION_BUS_ADDRESS)

@slp
Copy link
Owner

slp commented May 17, 2024

The VM can't access the system's dbus. We could implement a unixsock proxy using vsock, but we'd need a strong justification for doing that. How's Steam using it? Is there a fallback behavior if it's not present?

@teohhanhui
Copy link
Collaborator Author

Not sure what Steam is using it for. There's a fallback but before that it's noisy in the log. Simply installing dbus-x11 silences it.

@slp
Copy link
Owner

slp commented May 18, 2024

Not sure what Steam is using it for. There's a fallback but before that it's noisy in the log. Simply installing dbus-x11 silences it.

If that works around the issue, it'd be a good idea to make the package (once we get to it) to depend on it.

@teohhanhui
Copy link
Collaborator Author

Yeah, will try to raise this with RPM Fusion. I think it should be considered a packaging bug.

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

No branches or pull requests

3 participants