Opened 14 years ago

Closed 13 years ago

Last modified 13 years ago

#29409 closed defect (fixed)

Failed to start message bus: launch_msg("CheckIn") IPC failure: Operation not permitted

Reported by: zoleg@… Owned by: macports-tickets@…
Priority: Normal Milestone:
Component: ports Version: 1.9.2
Keywords: Cc: dbevans (David B. Evans), MarcusCalhoun-Lopez (Marcus Calhoun-Lopez), paniq@…, drkp (Dan Ports), mkae (Marko Käning), rich@…, alexeiz@…, ollie@…
Port: dbus gnome-session

Description

MacOS 10.6.7 install xorg from ports install gnome from ports from Terminal run this 2 commands:

# sudo launchctl load -w /Library/LaunchDaemons/org.freedesktop.dbus-system.plist                                                                            
# launchctl load -w /Library/LaunchAgents/org.freedesktop.dbus-session.plist 

reboot

after reboot start xterm and when i start gnome-session i receive message:

Failed to start message bus: launch_msg("CheckIn") IPC failure: Operation not permitted

EOF in dbus-launch reading address from bus daemon

What wrong? How to start gnome?

Change History (14)

comment:1 Changed 14 years ago by zoleg@…

MacOS 10.6.7
install xorg from ports
install gnome from ports
from Terminal run this 2 commands:

# sudo launchctl load -w /Library/LaunchDaemons/org.freedesktop.dbus-system.plist                                                                            
# launchctl load -w /Library/LaunchAgents/org.freedesktop.dbus-session.plist

reboot

after reboot start xterm and when start gnome-session i receive message:

Failed to start message bus: launch_msg("CheckIn") IPC failure: Operation not permitted

EOF in dbus-launch reading address from bus daemon

What wrong? How to start gnome?

comment:2 Changed 14 years ago by jmroot (Joshua Root)

Cc: devans@… mcalhoun@… added
Keywords: dbus gnome-session removed
Port: dbus gnome-session added
Priority: HighNormal

Please remember to cc the maintainers of the affected ports. As per the ticket guidelines, the High priority is reserved for the use of MacPorts team members.

comment:3 Changed 13 years ago by zoleg@…

Any news?

comment:4 Changed 13 years ago by paniq@…

Cc: paniq@… added

Cc Me!

comment:5 Changed 13 years ago by paniq@…

Same here. I'd really love this to work. No GNOME for me until this is fixed :/

comment:6 Changed 13 years ago by drkp (Dan Ports)

Cc: dports@… added

Cc Me!

comment:7 Changed 13 years ago by drkp (Dan Ports)

gnome-session tries to run dbus-launch if it detects that DBUS_SESSION_BUS_ADDRESS isn't set in the environment. This is the wrong thing to do, because dbus is available (and autostarted) via launchd even if the environment variable isn't set.

comment:8 Changed 13 years ago by mkae (Marko Käning)

Cc: mk@… added

Cc Me!

comment:9 Changed 13 years ago by mkae (Marko Käning)

I suddenly have this issue, although it worked fine for a long time.

markos-imac:~ marko$ /opt/local/bin/dbus-daemon --nofork --session
Failed to start message bus: launch_msg("CheckIn") IPC failure: Operation not permitted

This means that the dbus-daemon started by root is running, but the user's session agent isn't:

psmarkos-imac:~ marko$ ps ax | grep dbus
   52   ??  Ss     0:00.01 /opt/local/bin/dbus-daemon --system --nofork
10244 s002  S+     0:00.00 grep dbus
markos-imac:~ marko$ 

comment:10 Changed 13 years ago by mkae (Marko Käning)

qdbus can't connect to the system dbus:

[ MP-devel ] :RackServer marko$ qdbus --system
Could not connect to D-Bus server: org.freedesktop.DBus.Error.NoServer: Failed to connect to socket /opt/macports-test/var/run/dbus/system_bus_socket: Connection refused
[ MP-devel ] :RackServer marko$ ls -la /opt/macports-test/var/run/dbus/system_bus_socket 
srwxrwxrwx  1 root  messagebus  0 Aug  7 10:18 /opt/macports-test/var/run/dbus/system_bus_socket
[ MP-devel ] :RackServer marko$ 

Is this perhaps the reason why also the user's session dbus won't start?

comment:11 Changed 13 years ago by rich@…

Cc: rich@… added

Cc Me!

comment:12 Changed 13 years ago by alexeiz@…

Cc: alexeiz@… added

Cc Me!

comment:13 Changed 13 years ago by drkp (Dan Ports)

Resolution: fixed
Status: newclosed

Patched gnome-session in r89019.

comment:14 Changed 13 years ago by ollie@…

Cc: ollie@… added

Cc Me!

Note: See TracTickets for help on using tickets.