On Tuesday 15 Jan 2002 11:55, Collins Richey wrote:
> I'm reporting this here as well as for freebsd-questions, because it is
> probably kde related and not necessarily FreeBSD related.
>
> kde does not usually shutdown completely and, as a result, frequently
> fails to start (dcop server unable to establish communications).  I
> start kde from my normal user with 'startx'.  Most of the time I do not
> get a command prompt back after kde termination and have to 'ctrl-c'.
>
> When the 'startx' fails, I have to su -, cd to /tmp and delete
> everything kde related that I can find.  The really critical piece
> seems to be 'rm -r .ICE-unix'.
>
> I'm using the version of kde installed fro the 4.4 install CD.  I
> believe this kded 2.2.2, but there is no about box that I can find to
> verify.
>
> Any ideas?

I have added this to the beginning of startkde...

# Clean up behind any prior session ( advised by Andreas Pour )
MYNAME="`id -un`"
MYDISPLAY="`echo "$DISPLAY" | sed -e 's@:@@;s@\..*@@'`"
for file in /tmp/konqueror* /tmp/kfm_*_$MYDISPLAY /tmp/kio*_$MYDISPLAY \
         /tmp/klauncher* "/tmp/kfm-cache-`id -u`" "/tmp/ksocket-$MYNAME" \
         "/tmp/mcop-$MYNAME" "/tmp/kde-$MYNAME" "/tmp/orbit-$MYNAME" ; do
  if test -e "$file" -a -O "$file" ; then
    rm -rf "$file"
  fi
done

-- 
Peter Ruskin, Wrexham, Wales.  AMD Athlon XP 1600+, 512MB RAM.
Registered Linux User 219434 ( see http://counter.li.org/ ).
Mandrake Linux release 8.1 (Vitamin) for i586
Kernel 2.4.8-34.1mdk-win4lin,  XFree86 4.1.0, patch level 21mdk.
KDE: 2.2.2.  Qt: 2.3.2.  Up 1 day 3 hours 44 minutes.
-------------------------------------------------------------------
_______________________________________________
Linux-users mailing list
Archives, Digests, etc at http://linux.nf/mailman/listinfo/linux-users

Reply via email to