From owner-freebsd-questions Wed Dec 12 18: 0:58 2001 Delivered-To: freebsd-questions@freebsd.org Received: from bean.epix.net (bean.epix.net [199.224.64.57]) by hub.freebsd.org (Postfix) with ESMTP id 3890637B419 for ; Wed, 12 Dec 2001 18:00:53 -0800 (PST) Received: from epix.net (clsm-58ppp54.epix.net [209.74.58.54]) by bean.epix.net (8.12.1/2001112001/PL) with ESMTP id fBD20n5n013769 for ; Wed, 12 Dec 2001 21:00:50 -0500 (EST) Message-ID: <3C180BD1.D876F2C2@epix.net> Date: Wed, 12 Dec 2001 21:00:49 -0500 From: Dave Kaufman X-Mailer: Mozilla 4.7 [en] (Win98; U) X-Accept-Language: en MIME-Version: 1.0 To: freebsd-questions@freebsd.org Subject: re: kde (dcopserver) propblem Content-Type: multipart/mixed; boundary="------------CA6050D4CE64BA2EDE38721B" Sender: owner-freebsd-questions@FreeBSD.ORG Precedence: bulk List-ID: List-Archive: (Web Archive) List-Help: (List Instructions) List-Subscribe: List-Unsubscribe: X-Loop: FreeBSD.ORG This is a multi-part message in MIME format. --------------CA6050D4CE64BA2EDE38721B Content-Type: text/plain; charset=us-ascii Content-Transfer-Encoding: 7bit i have been having the same problem when running startx to start kde with the dcopserver. how does one make use of the .diff patch for kde? sorry if this is a no brainer but this is my first time with any kind of 'unix' type system. thanks Dave --------------CA6050D4CE64BA2EDE38721B Content-Type: message/rfc822 Content-Transfer-Encoding: 7bit Content-Disposition: inline Return-Path: Received: from bean.epix.net ([199.224.64.57]) by hickory.epix.net with ESMTP id <20011212212002.WNCA29893.hickory@bean.epix.net> for ; Wed, 12 Dec 2001 16:20:02 -0500 Received: from CollegeMisericordia ([65.194.222.114]) by bean.epix.net (8.12.1/2001112001/PL) with SMTP id fBCLK35n024223 for ; Wed, 12 Dec 2001 16:20:03 -0500 (EST) Message-ID: <003a01c18353$065f07e0$2503640a@CollegeMisericordia> From: "Dave Kaufman" To: Subject: Fw: kde (dcopserver) propblem Date: Wed, 12 Dec 2001 16:21:50 -0500 MIME-Version: 1.0 Content-Type: multipart/mixed; boundary="----=_NextPart_000_0032_01C18329.1A9ED840" X-Priority: 3 X-MSMail-Priority: Normal X-Mailer: Microsoft Outlook Express 5.00.2615.200 X-MimeOLE: Produced By Microsoft MimeOLE V5.00.2615.200 X-Mozilla-Status2: 00000000 This is a multi-part message in MIME format. ------=_NextPart_000_0032_01C18329.1A9ED840 Content-Type: text/plain; charset="iso-8859-1" Content-Transfer-Encoding: 7bit ----- Original Message ----- From: Beech Rintoul To: Mike D ; Sent: Wednesday, December 12, 2001 12:23 PM Subject: Re: kde (dcopserver) propblem > On Wednesday 12 December 2001 12:13 am, Mike D wrote: > > the first 3/4 times I try to "startx" I get this (or something along these > > lines): > > > > There was an error setting up the inter-process communication for KDE > > could not read network connection list > > Please check that the "dcopserver" program is running > > > > Any suggestions why this may be happening? After 3/4 attempts, kde starts > > ok. > > > Try this patch, I got from KDE. Seems to cure the problem. > > Beech > > > ------------------------------------------------------------------- > Beech Rintoul - IT Manager - Instructor - akbeech@anchoragerescue.org > /"\ ASCII Ribbon Campaign | Anchorage Gospel Rescue Mission > \ / - NO HTML/RTF in e-mail | P.O. Box 230510 > X - NO Word docs in e-mail | Anchorage, AK 99523-0510 > / \ ----------------------------------------------------------------- > > > > > > > > > > > > ------=_NextPart_000_0032_01C18329.1A9ED840 Content-Type: application/octet-stream; name="KDE-ICE.diff" Content-Transfer-Encoding: quoted-printable Content-Disposition: attachment; filename="KDE-ICE.diff" Index: listen.c=0A= =3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D= =3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D= =3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=0A= -|RCS file: = /usr/ports/x11/kdelibs2/work/kdelibs-2.2.1/dcop/KDE-ICE/listen.c,v=0A= +|RCS file: = /usr/ports/x11/kdelibs2/work/kdelibs-2.2.1/dcop/KDE-ICE/listen.c,v=0A= retrieving revision 1.1retrieving revision 1.2=0A= diff -u -3 -d -p -r1.1 -r1.2=0A= --- listen.c 2001/03/10 06:00:07 1.1=0A= +++ listen.c 2001/09/27 05:07:01 1.2=0A= @@ -32,6 +32,7 @@ Author: Ralph Mor, X Consortium=0A= #include "KDE-ICE/ICElibint.h"=0A= #include "KDE-ICE/Xtrans.h"=0A= #include =0A= +#include =0A= =0A= =0C=0A= Status=0A= @@ -46,12 +47,21 @@ char *errorStringRet;=0A= struct _IceListenObj *listenObjs;=0A= char *networkId;=0A= int transCount, partial, i, j;=0A= + int result =3D -1;=0A= + int count =3D 0;=0A= Status status =3D 1;=0A= XtransConnInfo *transConns =3D NULL;=0A= =0A= + while ((result < 0) && (count < 5)) =0A= + {=0A= + char buf[128];=0A= + sprintf(buf, "dcop%d-%d", getpid(), time(NULL)+count);=0A= + result =3D _KDE_IceTransMakeAllCOTSServerListeners (buf, = &partial,=0A= + &transCount, &transConns);=0A= + count++;=0A= + }=0A= =0A= - if ((_KDE_IceTransMakeAllCOTSServerListeners (NULL, &partial,=0A= - &transCount, &transConns) < 0) || (transCount < 1))=0A= + if ((result < 0) || (transCount < 1))=0A= {=0A= *listenObjsRet =3D NULL;=0A= *countRet =3D 0;=0A= ------=_NextPart_000_0032_01C18329.1A9ED840-- --------------CA6050D4CE64BA2EDE38721B-- To Unsubscribe: send mail to majordomo@FreeBSD.org with "unsubscribe freebsd-questions" in the body of the message