Gentoo Websites Logo
Go to: Gentoo Home Documentation Forums Lists Bugs Planet Store Wiki Get Gentoo!
Bug 788262 - dev-util/gnome-builder (wayland native) requires a desktop session with D-Bus. Please set DBUS_SESSION_BUS_ADDRESS.
Summary: dev-util/gnome-builder (wayland native) requires a desktop session with D-Bus...
Status: UNCONFIRMED
Alias: None
Product: Gentoo Linux
Classification: Unclassified
Component: Current packages (show other bugs)
Hardware: All Linux
: Normal normal (vote)
Assignee: Gentoo Linux Gnome Desktop Team
URL:
Whiteboard:
Keywords:
Depends on:
Blocks:
 
Reported: 2021-05-05 01:09 UTC by Szymon Scholz
Modified: 2021-05-10 06:51 UTC (History)
3 users (show)

See Also:
Package list:
Runtime testing required: ---


Attachments
strace log (strace-gnome-builder.xz,12.41 KB, application/x-xz)
2021-05-05 01:09 UTC, Szymon Scholz
Details

Note You need to log in before you can comment on or make changes to this bug.
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.