From owner-freebsd-questions Tue Mar 26 2:12:42 2002 Delivered-To: freebsd-questions@freebsd.org Received: from andrsn.stanford.edu (andrsn.Stanford.EDU [171.66.112.163]) by hub.freebsd.org (Postfix) with ESMTP id AC57437B41A for ; Tue, 26 Mar 2002 02:12:32 -0800 (PST) Received: from localhost (localhost.stanford.edu [127.0.0.1]) by andrsn.stanford.edu (8.11.6/8.11.6) with ESMTP id g2QA4Hd99755; Tue, 26 Mar 2002 02:04:17 -0800 (PST) (envelope-from andrsn@andrsn.stanford.edu) Date: Tue, 26 Mar 2002 02:04:17 -0800 (PST) From: Annelise Anderson To: Mark Hummel Cc: freebsd-questions@FreeBSD.ORG Subject: Re: What is a DCOPserver and What function Do They Serve??? In-Reply-To: <20020325225125.CGFB1219.sccmmhc01.mchsi.com@there> Message-ID: MIME-Version: 1.0 Content-Type: TEXT/PLAIN; charset=US-ASCII 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 On Mon, 25 Mar 2002, Mark Hummel wrote: > It took me 2 hours to even figure out how to pose this question because my > symptoms are so intermittent. I can't even find a man page about these files > nor can I find anything in my fbsd books. > > My desire is to boot directly to KDE, but I don't want to set that up until I > can get it to work manually the first time and every time. > > I have a cable modem set up with my LinkSys NIC which fbsd does recognize > quite well as dc0. > > mhumm2# dmesg|grep dc0 > dc0: port 0xe000-0xe0ff mem > 0xd5501000-0xd55010ff irq 11 at device 10.0 on pci0 > dc0: Ethernet address: xx:xx:xx:xx:xx:xx > miibus0: on dc0 > > Running startx begins to bring up the KDE start screen, but then > the error occurs: > > There was an error setting up inter-process > communication for KDE. The message returned > by the system was: > > /root/.DCOPserver_mhumm2_:0 > Please check that the "dcopserver" program is running! > > When I click on "ok", I'm sent back to terminal text mode. If I wait for > about 1 minute, I can startx again and stand a 50-50 chance of everything > working fine (except a fatal sound error, but that's another post). > > Sometimes it's 1 retry and sometimes it takes 3, but eventually, KDE does > come up without a dcopserver error. Here are my config files: I do not know the intricacies of these arrangments. My experience with X-4 and KDE is that the setup gets confused if startx is run as root when the user has used the su -m switch, thus keeping in place environment variables such as the user's home directory. The result is a bunch of authentication files of some sort (.Xauthority, .DCOP-this and .DCOP-that, plus some .MCops and some .ICE* stuff, that is owned by root (with group of the user) and all this is just confusing for KDE. There are maybe some sockets also created with "mixed ownership." Fixing the ownership does not seem to help, but deleting these files (as root) and then starting X with startx as a user does seem to work. Or X could be started as root with root environmental variables--echo $HOME should produce /root. In generally deleting all these files (.Xauth*, etc.) and letting X and KDE recreate them seems to work. Annelise -- Annelise Anderson Author of: FreeBSD: An Open-Source Operating System for Your PC Available from: BSDmall.com and amazon.com Book Website: http://www.bittreepress.com/FreeBSD/introbook/ To Unsubscribe: send mail to majordomo@FreeBSD.org with "unsubscribe freebsd-questions" in the body of the message