Opened 13 years ago
Last modified 20 months ago
#33187 assigned defect
kdeinit4 doesn't start: complains about dbus not running
Reported by: | vlsd (Vlad) | Owned by: | NicosPavlov |
---|---|---|---|
Priority: | Normal | Milestone: | |
Component: | ports | Version: | 2.0.3 |
Keywords: | Cc: | nerdling (Jeremy Lavergne), drkp (Dan Ports), mkae (Marko Käning), cooljeanius (Eric Gallager), ShadSterling (Shad Sterling) | |
Port: | kdelibs4 |
Description
So, I'm trying to get kdenlive to work, but I can't start kdeinit4. There are only two relevant lines in system.log that appear when I try to run it:
Feb 7 20:23:51 mrcrowley [0x0-0x146146].org.kde.kdeinit4[0]: klauncher(55089) kdemain: No DBUS session-bus found. Check if you have started the DBUS server. Feb 7 20:23:51 mrcrowley [0x0-0x146146].org.kde.kdeinit4[0]: kdeinit4: Communication error with launcher. Exiting!
So, apparently it can't connect to the dbus session. However, I have a session started (as per the instructions given in port notes dbus
) and other programs, like Inkscape, connect to it just fine. Am I missing something?
Change History (11)
comment:1 Changed 13 years ago by mf2k (Frank Schima)
Cc: | snc@… sharky@… michaelld@… added |
---|
comment:2 Changed 13 years ago by nerdling (Jeremy Lavergne)
Cc: | dports@… mk@… added |
---|
comment:3 follow-up: 4 Changed 12 years ago by ddennedy (Dan Dennedy)
comment:4 Changed 12 years ago by vlsd (Vlad)
Replying to dan@…:
I have had a lot of problems getting dbus-session to run, but today I ran the following and it is working now:
launchctl unload -w /Library/LaunchAgents/org.freedesktop.dbus-session.plist launchctl load -w /Library/LaunchAgents/org.freedesktop.dbus-session.plist
Tried that, it does not work. Also, I know that dbus IS running, because when I do a ps ax |grep dbus
I get the following:
80701 ?? Ss 0:00.00 /opt/local/bin/dbus-daemon --system --nofork 80834 s003 R+ 0:00.00 grep --color=always dbus
Also tried updating MacPorts and definitions and trying to install everything again. I now get this message
klauncher(94397) kdemain: No DBUS session-bus found. Check if you have started the DBUS server. kdeinit4: Communication error with launcher. Exiting! QDBusConnection: session D-Bus connection created before QCoreApplication. Application may misbehave. kded(94405): KUniqueApplication: Cannot find the D-Bus session server: "Failed to connect to socket /tmp/launch-dNLMHB/unix_domain_listener: Connection refused"
comment:6 Changed 11 years ago by sharky@…
Cc: | sharky@… removed |
---|
comment:7 Changed 6 years ago by jmroot (Joshua Root)
Owner: | changed from macports-tickets@… to NicosPavlov |
---|---|
Status: | new → assigned |
comment:8 Changed 6 years ago by Liontooth (David Liontooth)
I'm getting the same behavior:
$ ps x | grep dbus 27267 ?? S 0:00.01 /opt/local/bin/dbus-daemon --nofork --session $ kioclient ls 'fish://user@host:22/home/user/' klauncher(27310) kdemain: No DBUS session-bus found. Check if you have started the DBUS server. kdeinit4: Communication error with launcher. Exiting! kioclient(27305): couldn't create slave: "Cannot talk to klauncher: The name org.kde.klauncher was not provided by any .service files" kdeinit4: Shutting down running client.
Konqueror fails with "Cannot Initiate the fish Protocol. Technical Reason: Unable to Launch Process"
Cheers, Dave
comment:9 Changed 6 years ago by NicosPavlov
Did you indeed start the dbus agent and helper agent for KDE4 as indicated in the notes? Do both return with "*: service already loaded"?
Don't forget that dbus needs to be started as the local user (not with sudo) before any KDE programs will launch. To start it run the following command: launchctl load -w /Library/LaunchAgents/org.freedesktop.dbus-session.plist An agent must be started to maintain KDE's desktop file system configuration cache. To start it run the following command: launchctl load -w /Library/LaunchAgents/org.macports.kdecache.plist
comment:10 Changed 2 years ago by cooljeanius (Eric Gallager)
Cc: | cooljeanius added |
---|
comment:11 Changed 20 months ago by ShadSterling (Shad Sterling)
Cc: | ShadSterling added |
---|
I have had a lot of problems getting dbus-session to run, but today I ran the following and it is working now: