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

Wednesday, September 29th 2004, 6:03am

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

2

Wednesday, September 29th 2004, 7:20am

try this.

Over ssh I run this command normally

dcop --user nameofuser knotify Notify notify notify Me "$1" nofile nosound 2 0
Salu2 a to2

My Blog

3

Wednesday, September 29th 2004, 8:23am

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

anda_skoa

Professional

Posts: 1,273

Location: Graz, Austria

Occupation: Software Developer

  • Send private message

4

Wednesday, September 29th 2004, 11:20am

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

5

Wednesday, September 29th 2004, 11:27am

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