Administrator
|
DBUS_SESSION_BUS_ADDRESS will be used by libdbus, which is in turn used by QtDBus which is then used by KLauncher.
Try running: export $DBUS_SESSION_BUS_ADDRESS right after the eval 'dbus-lau...' line.
KDE Sysadmin
[img]content/bcooksley_sig.png[/img] |
Registered Member
|
"export $DBUS_SESSION_BUS_ADDRESS" raises an error: "not a valid identifier". I've tried the following:
But I still have the Dbus error. I'll see if I can create a dbus connection with a sample program... |
Administrator
|
Oops. It was supposed to be:
You can use "qdbus" for testing.
KDE Sysadmin
[img]content/bcooksley_sig.png[/img] |
Registered Member
|
Qt comes with a dbus sample project called "dbus-chat". I start the dbus daemon:
This sounds like bad news. But then, I try this:
And it works ! But starting krita or kdeinit4 the same way doesn't. Still the same "No DBUS session-bus found." error. Thanks! There is also another app: "qdbusviewer". When I run it, I have this error:
So now it sounds like a configuration problem. |
Administrator
|
Unfortunately I do not know why this is occurring. Possibly you may need a patched copy of libdbus which is usable on Mac.
KDE Sysadmin
[img]content/bcooksley_sig.png[/img] |
Registered Member
|
Thanks a lot for all your help. I *think* there are a few adjustments I need to make in libdbus...
|
Registered Member
|
I was wondering, does kdeinit4 needs both a system and session dbus daemon ? Until now I was launching only the session one. And as for now the system daemon won't run, but I'll try to fix that if it is required.
|
Administrator
|
It shouldn't need the system bus, as access to the system bus is not usually permitted from user applications.
KDE Sysadmin
[img]content/bcooksley_sig.png[/img] |
Registered users: bancha, Bing [Bot], Evergrowing, Google [Bot], lockheed, mesutakcan