Opened 10 years ago

Closed 6 years ago

#28558 closed defect (fixed)

dbus: can't start dbus-session launchagent

Reported by: torstensteinert@… Owned by: MarcusCalhoun-Lopez (Marcus Calhoun-Lopez)
Priority: Normal Milestone:
Component: ports Version: 1.9.2
Keywords: Cc: ddennedy (Dan Dennedy)
Port: dbus

Description (last modified by ryandesign (Ryan Schmidt))

I installed kdenlive on a fresh MacBook-Pro. After some problems with atlas it finished the install. According to I entered the post install commands. The second-to-last one failed with the error "Socket is not connected". Here is the output:

bash-3.2$ sudo chown -R torsten ~/Library/Preferences/KDE
bash-3.2$ sudo launchctl load -w /Library/LaunchAgents/org.freedesktop.dbus-session.plist
launchctl: Dubious ownership on file (skipping): /Library/LaunchAgents/org.freedesktop.dbus-session.plist
nothing found to load
bash-3.2$ sudo launchctl load -w /Library/LaunchDaemons/org.freedesktop.dbus-system.plist 
org.freedesktop.dbus-system: Already loaded
bash-3.2$ sudo chown torsten /Library/LaunchAgents/org.freedesktop.dbus-session.plist 
bash-3.2$ launchctl load -w /Library/LaunchAgents/org.freedesktop.dbus-session.plist 
Bug: launchctl.c:2325 (23930):13: (dbfd = open(g_job_overrides_db_path, O_RDONLY | O_EXLOCK | O_CREAT, S_IRUSR | S_IWUSR)) != -1
launch_msg(): Socket is not connected

Change History (7)

comment:1 Changed 10 years ago by ryandesign (Ryan Schmidt)

Description: modified (diff)
Keywords: postinstall removed
Owner: changed from macports-tickets@… to mcalhoun@…
Port: dbus added; kdenlive removed
Summary: kdenlive - post install commands faildbus: can't start dbus-session launchagent

comment:2 Changed 10 years ago by mtalexander (Mike Alexander)

I don't know if this is the entire problem since I've never tried to install kdenlive, but you don't want "sudo" on the second command. You want to start the session daemon as yourself, not as root:

launchctl load -w /Library/LaunchAgents/org.freedesktop.dbus-session.plist

comment:3 Changed 9 years ago by ddennedy (Dan Dennedy)

You can see later in his list of commands he did launch as user, but it failed with error. However, as kdenlive port maintainer, I wish I were so lucky as to even receive an error. I got to hear because for most if 2011 now I have been unable to get dbus --session to launch (ps shows only --system) and I am still trying despite having rebuilt dbus several times over the months :-(

comment:4 Changed 9 years ago by ddennedy (Dan Dennedy)

Cc: dan@… added

Cc Me!

comment:5 Changed 6 years ago by MarcusCalhoun-Lopez (Marcus Calhoun-Lopez)

Apologies for not acknowledging this earlier.
Is it still an issue?

comment:6 Changed 6 years ago by ddennedy (Dan Dennedy)

This has not been an issue for me for a couple of years now.

comment:7 Changed 6 years ago by MarcusCalhoun-Lopez (Marcus Calhoun-Lopez)

Resolution: fixed
Status: newclosed

Somewhere along the way, the problem seems to have been fixed.

Note: See TracTickets for help on using tickets.