[2 days left] What’s wrong with your cloud strategy? Learn why multicloud solutions matter with Nimble Storage.Register Now


kde - session forwarding via network?

Posted on 2006-10-31
Medium Priority
Last Modified: 2013-12-15
I'm trying to run remotely kde application.
I'm logging from kde to remote via ssh (with Xforwarding), then I'm running kde application from remote machine. Upon start it says

There was an error setting up inter-process communication for KDE. The message returned by the system was:
Could not read network connection list. /home/username/.DCOPserver_remotename_localhost_10
Please check that dcopserver programm is running.

It obviously run only the kde workstation(and is listening only on unix socket), but not the remote (remote has no kde at all, just some libraries). Also

How can I get it working?
Question by:ravenpl
Welcome to Experts Exchange

Add your voice to the tech community where 5M+ people just like you are talking about what matters.

  • Help others & share knowledge
  • Earn cash & points
  • Learn & ask questions
LVL 14

Expert Comment

ID: 17841514
is x running on remote?
LVL 43

Author Comment

ID: 17841687
No - not even installed...
But note - it's propably kde related, as other X clients are working OK (like firefox).
LVL 20

Expert Comment

ID: 17847099
"...it's propably kde related..."
And I would say so.
I just did the test :
I loged out ( ended up my KDE session) and switched to text mode but still kept running system in runlevel 5. Then I typed netstat and , you know what, no DCOPserver connections were shown in the list of connections.
Once I returned to X and launched new KDE session I typed netsat command and I got quite few ( exactly 12)
unix  3     [ ]       STREAM    CONNECTED    23119  /tmp/.ICE-unix/dcop13941-1162347498
lines in the list with different I-Node numbers ( 23119 , 22969 , 22959 and so on ).

dcopserver is a deamon which provides inter-process communication (DCOP) facilities to all KDE applications. The DCOP facilities are accessible from the command shell via the dcop command line tool. DCOP is essential for all KDE applications. ---> http://www.kde.org/areas/sysadmin/startup.php
Learn how to optimize MySQL for your business need

With the increasing importance of apps & networks in both business & personal interconnections, perfor. has become one of the key metrics of successful communication. This ebook is a hands-on business-case-driven guide to understanding MySQL query parameter tuning & database perf

LVL 43

Author Comment

ID: 17848130
nedvis: I'm aware what dcopserver is. But was my question aswered?
LVL 40

Expert Comment

ID: 17888373
Maybe a little OT, but have you checked nx from nomachine?
It provides a better performance over the network (I have
successfully used KDE from a remote system (linux or windows)
using nx).

On my KDE the links you mention are:
Display = :0
/home/{user}/.DCOPserver_{nodename}_:0 -> /home/nico/.DCOPserver_{nodename}__0

with the latter containing:

Using NX logon:
(display was 1003)
.DCOPserver_first_unix:1003 -> /home/nico/.DCOPserver_first_unix_1003

with the latter containing:

Using ssh -X I get an equivalent set of files (ending in _10 (display :10)

In stead of trying to run the whole shebang (startkde) what does f.e.
running kwrite give you (should start a dcop too).

Can DCOP create all the needed files?

And start kde refuses to run when I allready have a kdm running.

Any messages in the .xsession-errors file on the remote systeM?
LVL 43

Author Comment

ID: 17888430
nx is not a sollution, the compression is not required - running through 1gbit network.
The remote have no X installed (and therefore no kde).
But have some X applications (they work fine) and some kdeapplications - don't work.
So basically:
there is no remote X, therefore no .xsession-errors
there is no dcopserver running remotely(maybe it should?)
ssh -X  does not create any .DCOPserver* files

let me explain the situation I have:
I'm logged to local workstation, using kde(suse). However my workstation is not so strong machine, so some applications are run from remote(LAN) server. Normal applications, that uses X only work fine. However running kdevelop or icemon fails(in fact it runs, but without menu - all I can is to close it).
LVL 40

Expert Comment

ID: 17888765
(Definite OT.: I didn't mean to propose nx as an exact solution...,
and nx does more than just compress, it also allows for batching & asynchrone
event handling between appl. & X server. also a 1Gbit network is only 200-400Mbit
worth unless you use Jumbo frames.)

.DCOPserver files are created by the dcopserver part of KDE.
they are a means to allow programs to find their dcopserver for the various
tasks it provides for the kde framework.

The dcop server belongs to the kdelibs part of kde, you should have it.
It is not started through ssh, but it is activated when a kde program needs it.
(if it then doesn't start .... ;-(  )
The output in .xsession-error is effectively the stdout/stderr from various programs
run from a session manager. It should show up in the SSH session screen or an xterm that you run on remote.

Is the dcop program startable from the kde application?
(Try to start something like kwrite, or another simple one )
LVL 40

Expert Comment

ID: 17888804
You should be able to run dcopserver just by hand like:

dcopserver <enter>

The the links are created. If dcopserver is start from application Y
it will also kill the dcopserver again. It is was running before then
it will be used and further left alone.

LVL 43

Author Comment

ID: 17888953
> also a 1Gbit network is only 200-400Mbit worth unless you use Jumbo frames
Not really. In fact it's double 1gbit, and in one tcp stream I can utilize bandwidth of 1.6gbps
It really depend on the hardware, so don't be so fast in such estimations.

Ok, I installed kdelibs on remote, tried run dcopserver
: [user@server ~]$ dcopserver
: dcopserver: 'iceauth' not found in path, aborting.
: DCOPServer self-test failed.
: sh: iceauth: command not found
kdeinit fails as well with same reason
I will not install xorg server for that.
Any other ideas?
LVL 40

Accepted Solution

noci earned 1500 total points
ID: 17889090
The whole purpose for dcopserver is to add a ipc/rpc like interface
for kde on top of the X ICE protocol to allow kde apps to talk with each other.

On gentoo 'iceauth' is a separate package for x11-apps.
that depends on x11-libs/libICE & x11-libs/libX11.
LVL 43

Author Comment

ID: 17948010
After I installed almost whole kde it started to work, but not really like I wanted.
Strange, but running same application locally and remotely(same binary executable) shows different results. Not only the look is worse, but some menus and features are just not available while running remotely.
LVL 40

Expert Comment

ID: 17950905
Remote X does limit support of some parts.
It might also limit on facilities that qt exports when some X parts are missing.
(Mostly the bandwith consuming stuff, like XV etc.)
xdpyinfo might give some clue here.
(look for extentions).

Featured Post

How to Use the Help Bell

Need to boost the visibility of your question for solutions? Use the Experts Exchange Help Bell to confirm priority levels and contact subject-matter experts for question attention.  Check out this how-to article for more information.

Question has a verified solution.

If you are experiencing a similar issue, please ask a related question

It’s 2016. Password authentication should be dead — or at least close to dying. But, unfortunately, it has not traversed Quagga stage yet. Using password authentication is like laundering hotel guest linens with a washboard — it’s Passé.
In part one, we reviewed the prerequisites required for installing SQL Server vNext. In this part we will explore how to install Microsoft's SQL Server on Ubuntu 16.04.
Learn how to navigate the file tree with the shell. Use pwd to print the current working directory: Use ls to list a directory's contents: Use cd to change to a new directory: Use wildcards instead of typing out long directory names: Use ../ to move…
This demo shows you how to set up the containerized NetScaler CPX with NetScaler Management and Analytics System in a non-routable Mesos/Marathon environment for use with Micro-Services applications.
Suggested Courses

649 members asked questions and received personalized solutions in the past 7 days.

Join the community of 500,000 technology professionals and ask your questions.

Join & Ask a Question