You are not logged in.

1

Saturday, October 30th 2004, 12:52pm

call dcop from different user

Hi

I'm trying to call dcop of user "cweiske" from the apache2 which runs under username "apache". Now a simple "dcop --user cweiske ..." doesn't work as the apache user may not access cweiske's dcop server.
As I didn't find a real howTo or explanation how to set up such a inter-user-dcop; can you help me?

It has to do something with the /home/cweiske/.ICEauthority, but there is no man page for it..

Thanks!

anda_skoa

Professional

Posts: 1,273

Location: Graz, Austria

Occupation: Software Developer

  • Send private message

2

Saturday, October 30th 2004, 4:11pm

Maybe you can copy the users .ICEauthority file to the home directory of teh apache user (creating one if necessary)

Also check that you have set the DISPLAY variable correctly.

Edit: maybe this offers another solution: http://developer.kde.org/documentation/library/kdeqt/kde3arch/xmlrpc.html

Cheers,
_
Qt/KDE Developer
Debian User

3

Sunday, October 31st 2004, 8:34am

Quoted

Original von anda_skoa

Maybe you can copy the users .ICEauthority file to the home directory of teh apache user (creating one if necessary)

I'll try this one, thanks.

Quoted

Also check that you have set the DISPLAY variable correctly.

What does the DISPLAY has to do with it? I thought that's just for X applications with GUI and not for command lines.


Quoted

Edit: maybe this offers another solution: http://developer.kde.org/documentation/library/kdeqt/kde3arch/xmlrpc.html

Problem is that this nice tool is not in the distribution package and unmaintained since kde 3.2, so it's not really an option...

anda_skoa

Professional

Posts: 1,273

Location: Graz, Austria

Occupation: Software Developer

  • Send private message

4

Monday, November 1st 2004, 10:36pm

Quoted

Original von cweiske

Quoted

Original von anda_skoa

Also check that you have set the DISPLAY variable correctly.

What does the DISPLAY has to do with it? I thought that's just for X applications with GUI and not for command lines.

To identify the targeted DCOP server properly. As a user can potentially have more than one KDE session running, a DCOP server is bound to a session, which is identified by the DISPLAY it displays to.

Quoted


Quoted

Edit: maybe this offers another solution: http://developer.kde.org/documentation/library/kdeqt/kde3arch/xmlrpc.html

Problem is that this nice tool is not in the distribution package and unmaintained since kde 3.2, so it's not really an option...


Ah, too bad :(

Cheers,
_
Qt/KDE Developer
Debian User