Dcop startup error

Ralf Habacker kde-cygwin@mail.kde.org
Mon, 30 Sep 2002 09:06:41 +0200

> This isn't dcop's fault, it's an installation problem.
> strace is useless here...
yes, it is a cygwin installation problem

> See the log on your picture.
> Ralf, isn't this the old known bug ?
> [: ==: unknown command
This is a problem in the startkde script, but without any consequenses.

> dcop tries to write in /.

dcop trys to write to //.DCOP..., which is interpreted as a computer name rather
than a directory.

$ export HOME=/
$ dcopserver
_KDE_IceTransmkdir: Owner of /tmp/.ICE-unix should be set to root
Can not create file //.DCOPserver_BRAMSCHE_BRAMSCHE-0: No such file or directory
DCOPServer self-test failed.

I guess the home path settings in /etc/profile are wrong.

A check may be to set HOME to an existing dir without trailing '/' , so that
dcopserver could write in that dir.

habacker@BRAMSCHE /
$ export HOME=/tmp
$ dcopserver
_KDE_IceTransmkdir: Owner of /tmp/.ICE-unix should be set to root
iceauth:  creating new authority file /tmp/.ICEauthority
DCOP: register 'anonymous-716' -> number of clients is now 1
DCOPServer up and running.
DCOP: unregister 'anonymous-716'

If this work, your you have problems with your home directory settings in

See /etc/profile. There must be a part like below:

USER=`id -un`

# Set up USER's home directory
if [ -z "$HOME" ]; then

if [ ! -d $HOME ]; then
  mkdir -p $HOME

export HOME USER

If this code doesn't work, there must be an HOME environment setting before
starting cygwin. In this case comment the if statement.

# Set up USER's home directory
#if [ -z "$HOME" ]; then