kdeprintd cannot start child process
Kurt Pfeifle
k1pfeifle at gmx.net
Wed Feb 15 12:00:30 CET 2006
On Wednesday 15 February 2006 07:21, Nolan Rumble wrote:
> Can the dcop binary be executed
> from a ssh terminal or does it have to be executed from the users'
> console?
From a users' Konsole (i.e. *inside* a KDE session) dcop should not
have any problems to automatically identify its dcopserver and connect
to it.
It's different from a SSH session. A SSH session is not part of the
KDE session (even if one is running; is it?), but something "alien",
coming from the outside.
See "dcop --help".
To connect to a dcop server (if one is running) from an SSH session,
I need to do these steps:
1. First, list all my sessions:
-------------------------------
kurt at p1515:~> dcop --user kurt --list-sessions
Active sessions for user /home/kurt :
.DCOPserver_p15159004__20
.DCOPserver_p15159004_unix_1087
.DCOPserver_p15159004_unix_1103
.DCOPserver_p15159004_unix_1104
.DCOPserver_p15159004_unix_1105
OK, I want the second one (":1087" is the $DISPLAY used for my current
remote NX session)...
2. Second, connect to the respective dcopserver:
------------------------------------------------
kurt at p1515:~> dcop --session .DCOPserver_p15159004_unix_1087 --user kurt
kwin
kicker
kxkb
kded
knotify
arkick
kio_uiserver
kcookiejar
klauncher
khotkeys
kmail
konqueror-3727
kdesktop
konsole-12609
klipper
ksmserver
kaccess
Notice, I do not have a kdeprintd running either (because there is no
printing going on right now).
3. Third, more dcop fun:
------------------------
dcop --session .DCOPserver_p15159004_unix_1087 --user kurt kmail
dcop --session .DCOPserver_p15159004_unix_1087 --user kurt kmail default
dcop --session .DCOPserver_p15159004_unix_1087 --user kurt kmail default checkAccount "GMX.net"
Cheers,
Kurt
More information about the kde-print
mailing list