Gentoo Websites Logo
Go to: Gentoo Home Documentation Forums Lists Bugs Planet Store Wiki Get Gentoo!

Bug 788262

Summary: dev-util/gnome-builder (wayland native) requires a desktop session with D-Bus. Please set DBUS_SESSION_BUS_ADDRESS.
Product: Gentoo Linux Reporter: Szymon Scholz <szymonscholz>
Component: Current packagesAssignee: Gentoo Linux Gnome Desktop Team <gnome>
Status: UNCONFIRMED ---    
Severity: normal CC: 89q1r14hd, jstein, szymonscholz
Priority: Normal    
Version: unspecified   
Hardware: All   
OS: Linux   
Whiteboard:
Package list:
Runtime testing required: ---
Attachments: strace log

Description Szymon Scholz 2021-05-05 01:09:13 UTC
Created attachment 706071 [details]
strace log

Hi, after fresh installation of gnome-builder in pure wayland environment, it cannot run. 

=== Error ===
raspher@enermax ~ $ gnome-builder
02:54:30.2592                           ide-application[ 23688]:    ERROR: GNOME Builder requires a desktop session with D-Bus. Please set DBUS_SESSION_BUS_ADDRESS.
Trace/breakpoint trap

=== EIX ===
Installed versions:  3.38.2^t(01:39:07 AM 05/05/2021)(clang devhelp doc git glade gtk-doc spell sysprof -test PYTHON_SINGLE_TARGET="python3_8 -python3_7")

=== Temporary (tricky) fix ===
After some googling i found quick (tricky) workaround, but it's unusable when executing application from a application launcher. The fix: before running `gnome-builder` in shell, run `export $(dbus-launch)`.

*Fix: does not work with dmenu/wofi/bemenu etc.
Comment 1 Matt Turner gentoo-dev 2021-05-07 23:01:15 UTC
Are you not running dbus?
Comment 2 Mart Raudsepp gentoo-dev 2021-05-10 06:51:47 UTC
Your desktop sessions are expected to run a user dbus session. Not doing so is not supported and I'm curious how you start your desktop session to miss this. Maybe we need some documentation improvements, as I assume the xinitrc.d stuff that takes care of it isn't ran in case of pure wayland and we might need some other means to help users with that.