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.
dcop over ssh - a problem?
Hi there!
Yesterday I downloaded the Slack-package of amarok and installed it. It is wonderfull. In the docs I found the dcop commands and tried them ... works nice. Now, here is my problem:
amarok runs on one machine... most of the time the screensaver is on and it only plays the music, while I am sitting 2-3 meter away, working on another Linux box. I tried to connect to the first one via ssh and controll amarok via dcop. But I just got errors it could not be started or something like that.
Is there some limitation that I have to really be on the machine I want to run dcop-commands from shell?
I hope someone can help me, if you need to see the error, let me know...I'll post it.
Greetings, Sascha
try this.
Over ssh I run this command normally
dcop --user nameofuser knotify Notify notify notify Me "$1" nofile nosound 2 0
Running this command:
dcop amarok
I get this error:
ERROR: Couldn't attach to DCOP server!
Don't know why... on the machine itself it works like it is supposed to be...
Greetings, Sascha
The ssh session is different from the already running, local, session.
You can try with the --user argument to connect to the DCOP server already running in this other session, as kharkoma suggested.
Cheers,
_
Qt/KDE Developer
Debian User
Beat me anyone! Please!
It works, ... I was just to d**f to recognize what you guys wanted to tell me... was just to blind ...
But you were right!!!!
It works now!
Thanks a lot!
Greetings, Sascha