Opened 11 years ago
Closed 11 years ago
#41506 closed defect (fixed)
gnome-session failed start
Reported by: | zoleg@… | Owned by: | dbevans (David B. Evans) |
---|---|---|---|
Priority: | Normal | Milestone: | |
Component: | ports | Version: | 2.2.1 |
Keywords: | Cc: | cooljeanius (Eric Gallager), vaslinux@… | |
Port: | gnome-session |
Description
OS X 10.9, XCode 5.0.2, macports 2.2.1, gnome 3.8.2 and xorg builded from sources
from xterm:
bash-3.2$ gnome-session Failed to start message bus: launch_msg("CheckIn") IPC failure: Operation not permitted EOF in dbus-launch reading address from bus daemon bash-3.2
dbus worked
bash-3.2$ ps awx|grep -i bus 24014 ?? S 0:00.12 /opt/local/bin/dbus-daemon --nofork --session 24016 ?? S 0:00.02 /opt/local/libexec/at-spi-bus-launcher 24017 ?? S 0:00.08 /opt/local/bin/dbus-daemon --config-file=/opt/local/etc/at-spi2/accessibility.conf --nofork --print-address 3 30610 s002 S+ 0:00.01 grep -i bus bash-3.2$
Change History (8)
comment:1 Changed 11 years ago by cooljeanius (Eric Gallager)
Cc: | egall@… added |
---|
comment:2 Changed 11 years ago by ryandesign (Ryan Carsten Schmidt)
Cc: | devans@… added |
---|
comment:4 Changed 11 years ago by larryv (Lawrence Velázquez)
Cc: | vaslinux@… added |
---|
comment:5 Changed 11 years ago by dbevans (David B. Evans)
Owner: | changed from macports-tickets@… to devans@… |
---|---|
Status: | new → assigned |
comment:6 Changed 11 years ago by dbevans (David B. Evans)
gnome-session is using the existence of the environment variable DBUS_SESSION_BUS_ADDRESS as a test of whether a valid session dbus instance is running or not. If not, then it tries to start one using dbus-launch which doesn't work properly on MacPorts due to our launchd based implementation. This is the error message that you are seeing.
I'm working on a more transparent fix for this, but in the meantime, you can work around the problem by setting DBUS_SESSION_BUS_ADDRESS by hand before trying to start gnome-session. The following will do this correctly (assuming you have a running session dbus).
export DBUS_SESSION_BUS_ADDRESS="unix:path=`launchctl getenv DBUS_LAUNCHD_SESSION_BUS_SOCKET`"
comment:7 Changed 11 years ago by dbevans (David B. Evans)
Cc: | devans@… removed |
---|---|
Keywords: | gnome gnome-session removed |
Port: | gnome-session added |
comment:8 Changed 11 years ago by dbevans (David B. Evans)
Resolution: | → fixed |
---|---|
Status: | assigned → closed |
Fixed in r114306. Manually setting DBUS_SESSION_BUS_ADDRESS is no longer required.
Cc Me!