On Tuesday 26 September 2006 10:50, Wolfgang Liebich wrote:
> Hi,
> This is probably partiallay OT, but google didn't help me
> much until now.
> I'm logged in on my new computer, Machine N. I have setup ssh
> to connect by DSA key to my old computer, Machine O. Now i
> want to use the dcop program on O to give me a list of all
> open konqueror sessions on O. At first I just want to do
> something like:
> <new machine>:ssh <old machine> '/usr/kde/3.5/bin/dcop'
> But I always get "ERROR: Couldn't attach to a DCOP server'"
> What gives?

dcop will only work properly in the same session as the kdeinit 
that launched it. So, if you start konsole from KDE and run 
dcop it will work. The ssh session is not attached to kdeinit 
in any way so won't contact the dcop server.

I've never had to do what you want to accomplish so I don't have 
a definitive answer. I'd read the docs for dcop and see if 
there's an answer there. Alternatively (thinking out the box 
here), maybe try launch screen from a kde session and attach it 
to an ssh session...

alan
-- 
gentoo-user@gentoo.org mailing list

Reply via email to