You are not logged in.

Dear visitor, welcome to KDE-Forum.org. If this is your first visit here, please read the Help. It explains in detail how this page works. To use all features of this page, you should consider registering. Please use the registration form, to register here or read more information about the registration process. If you are already registered, please login here.

1

Monday, July 28th 2008, 11:02am

Apps don't want to connect to DCOP

I'm using KDEmo4.0.99
dcopserver is launched, but the apps don't want to connect to it.

Source code

1
2
3
.DCOPserver_freakhost_:0                                                                
.DCOPserver_freakhost__0                                                                
.ICEauthority


Source code

1
 3605 ?        S      0:00 /opt/kde/bin/dcopserver


Source code

1
[freak@~]$ dcop

--> nothing

2

Monday, July 28th 2008, 11:07am

Hmm, works for me.
Which distro are you using?

OhReally

Beginner

Posts: 52

Location: Den Haag, NL

  • Send private message

3

Monday, July 28th 2008, 11:45am

Hi FreakGuard,

Could you post the output of these commands:

Source code

1
2
3
$ ps aux | grep -i dcop
$ dcop --list-sessions --all-users
$ env | sort


Especially in the output of the last command: please, filter out all irrelevant lines.

Also, the file ${HOME}/.xsession-errors may hold some additional info.

Rob


Edit:
One more command, just to be sure

Source code

1
$ find ${HOME} -name "*DCOP*" -exec ls -l {} \;

Don't forget to include the backslash-semicolon.

This post has been edited 1 times, last edit by "OhReally" (Jul 28th 2008, 12:25pm)


4

Monday, July 28th 2008, 12:30pm

I'm using ArchLinux (KDEmod4)

Source code

1
2
[freak@~]$ ps aux | grep -i dcop
freak 3605 0.0 0.1 94856 6804 ? S 11:05 0:00 /opt/kde/bin/dcopserver


Source code

1
2
3
[freak@~]$ dcop --list-sessions --all-users
Active sessions for user /home/freak :
.DCOPserver_freakhost__0


Source code

1
2
3
4
5
6
7
8
9
10
11
12
13
14
15
16
17
18
19
DBUS_SESSION_BUS_ADDRESS=unix:abstract=/tmp/dbus-zBV9ZURCdL,guid=e99a1703aa92c279d5ed9d2a488d8bbe
DESKTOP_SESSION=kde 
DESKTOP_STARTUP_ID= 
DISPLAY=:0 
DM_CONTROL=/var/run/xdmctl
KDEDIR=/opt/kdemod 
KDEDIRS=/opt/kdemod:/opt/kdemod 
KDEHOME=/home/freak/.kdemod 
KDE_FULL_SESSION=true 
KDE_MULTIHEAD=false 
KDE_SESSION_UID=1000 
KDE_SESSION_VERSION=4 
KONSOLE_DBUS_SERVICE=:1.87 
KONSOLE_DBUS_SESSION=/Sessions/1
PKG_CONFIG_PATH=:/opt/kde/lib/pkgconfig:/opt/qt/lib/pkgconfig:/opt/kdemod/lib/pkgconfig 
QTDIR=/opt/qt
QT_PLUGIN_PATH=/home/freak/.kdemod/lib/kde4/plugins/:/opt/kdemod/lib/kde4/plugins/
QT_XFT=true
SESSION_MANAGER=local/freakhost:/tmp/.ICE-unix/3537

Source code

1
2
[freak@~]$ grep -i dcop .xsession-errors
kdeinit4: preparing to launch /opt/kde/bin/dcopserver


Source code

1
2
3
[freak@~]$ find ${HOME} -name "*DCOP*" -exec ls -l {} \;
lrwxrwxrwx 1 freak wheel 36 28. Jul 00:13 /home/freak/.DCOPserver_freakhost_:0 -> /home/freak/.DCOPserver_freakhost__0
-rw-r--r-- 1 freak wheel 56 28. Jul 11:05 /home/freak/.DCOPserver_freakhost__0

OhReally

Beginner

Posts: 52

Location: Den Haag, NL

  • Send private message

5

Monday, July 28th 2008, 12:45pm

I don't have any experience with ArchLinux nor KDEmod4, but one thing draws my attention here:

/opt/kde/bin/dcopserver
KDEDIR=/opt/kdemod
KDEDIRS=/opt/kdemod:/opt/kdemod


Could it be a version problem?

I'm just thinking out loud here, and I'll see if I can find some more, but this may be relevant...

6

Monday, July 28th 2008, 12:56pm

most likely...

Source code

1
2
[freak@~]$ yaourt -Qo dcopserver
/opt/kde/bin/dcopserver is owned by kdelibs3 3.5.9-1


but in kdelibs4, there's no dcopserver

7

Monday, July 28th 2008, 1:10pm

Quoted

but in kdelibs4, there's no dcopserver

Right, KDE4 doesn't use dcop anymore, it uses dbus

OhReally

Beginner

Posts: 52

Location: Den Haag, NL

  • Send private message

8

Monday, July 28th 2008, 1:15pm

Thank you, Ingo.

But this probably means FreakGuard is using kdeinit from KDE3 as well, because dcopserver is started, and why would kdeinit4 start dcopserver if dcopserver is not used by KDE4.
And if I understand correctly, the apps are also trying to connect to DCOP, so the apps may not be KDE4 as well...

FreakGuard, to me it looks like your KDE4 install is incomplete.
Ingo, what do you think?

9

Monday, July 28th 2008, 1:32pm

I think more of some missing knowlegde from my side... I'll check dbus then.
Btw: someone could tell me a small doc of dbus? Don't find anything.

10

Monday, July 28th 2008, 1:33pm

Right. On my system i have kdeinit running alongside kdeinit4.
There are no problems with that.

Quoted

FreakGuard, to me it looks like your KDE4 install is incomplete.


Maybe even an incomplete KDE3 installation, as KDE4 seems to run. It's somehow strange that, as OhReally stated,

Quoted

/opt/kde/bin/dcopserver
KDEDIR=/opt/kdemod
KDEDIRS=/opt/kdemod:/opt/kdemod


Don't also know anything about this kdemod thing. It must have something messed up.
FreakGuard, what do you get, when you start kdeinit manually? the kde3 version.

Similar threads