[MacPorts] #41506: gnome-session failed start
MacPorts
noreply at macports.org
Wed Dec 4 08:25:17 PST 2013
#41506: gnome-session failed start
----------------------+---------------------------------
Reporter: zoleg@… | Owner: devans@…
Type: defect | Status: assigned
Priority: Normal | Milestone:
Component: ports | Version: 2.2.1
Resolution: | Keywords: gnome gnome-session
Port: |
----------------------+---------------------------------
Comment (by devans@…):
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`"
}}}
--
Ticket URL: <https://trac.macports.org/ticket/41506#comment:6>
MacPorts <http://www.macports.org/>
Ports system for OS X
More information about the macports-tickets
mailing list