From owner-freebsd-questions@FreeBSD.ORG Tue Jul 17 04:54:54 2007 Return-Path: X-Original-To: FreeBSD-questions@freebsd.org Delivered-To: FreeBSD-questions@freebsd.org Received: from mx1.freebsd.org (mx1.freebsd.org [69.147.83.52]) by hub.freebsd.org (Postfix) with ESMTP id F074A16A400 for ; Tue, 17 Jul 2007 04:54:54 +0000 (UTC) (envelope-from ABabiy@shaw.ca) Received: from pd3mo2so.prod.shaw.ca (shawidc-mo1.cg.shawcable.net [24.71.223.10]) by mx1.freebsd.org (Postfix) with ESMTP id CF36113C441 for ; Tue, 17 Jul 2007 04:54:54 +0000 (UTC) (envelope-from ABabiy@shaw.ca) Received: from pd3mr1so.prod.shaw.ca (pd3mr1so-qfe3.prod.shaw.ca [10.0.141.177]) by l-daemon (Sun ONE Messaging Server 6.0 HotFix 1.01 (built Mar 15 2004)) with ESMTP id <0JLB00CUX4BIYXA0@l-daemon> for FreeBSD-questions@freebsd.org; Mon, 16 Jul 2007 22:54:54 -0600 (MDT) Received: from pn2ml3so.prod.shaw.ca ([10.0.121.147]) by pd3mr1so.prod.shaw.ca (Sun Java System Messaging Server 6.2-7.05 (built Sep 5 2006)) with ESMTP id <0JLB002PD4BIDWV0@pd3mr1so.prod.shaw.ca> for FreeBSD-questions@freebsd.org; Mon, 16 Jul 2007 22:54:54 -0600 (MDT) Received: from [192.168.2.106] ([70.71.25.56]) by l-daemon (Sun ONE Messaging Server 6.0 HotFix 1.01 (built Mar 15 2004)) with ESMTP id <0JLB007XK4BHMHK1@l-daemon> for FreeBSD-questions@freebsd.org; Mon, 16 Jul 2007 22:54:53 -0600 (MDT) Date: Mon, 16 Jul 2007 21:54:52 -0700 From: Andriy Babiy In-reply-to: <469B73A9.8060204@cs.okstate.edu> To: Reid Linnemann Message-id: <200707162154.52596.ABabiy@shaw.ca> Organization: home MIME-version: 1.0 Content-type: text/plain; charset=utf-8 Content-transfer-encoding: 7bit Content-disposition: inline References: <200707160052.42861.ABabiy@shaw.ca> <469B73A9.8060204@cs.okstate.edu> User-Agent: KMail/1.9.7 Cc: FreeBSD-questions Subject: Re: kdm/startkde problem after upgrade X-BeenThere: freebsd-questions@freebsd.org X-Mailman-Version: 2.1.5 Precedence: list List-Id: User questions List-Unsubscribe: , List-Archive: List-Post: List-Help: List-Subscribe: , X-List-Received-Date: Tue, 17 Jul 2007 04:54:55 -0000 > > $ uname -a > > FreeBSD ABC.DEF.com 6.2-STABLE FreeBSD 6.2-STABLE #0: Wed Jul 11 > > 06:07:39 PDT 2007 root@:/usr/obj/usr/src/sys/AMD64 amd64 > > > > kdm is configured as a login manager in /etc/ttys. > > > > After upgrade to KDE 3.5.7 and X server 7.2 (that was time consuming, > > but no errors) I receive an error message on startup: > > Jul 16 00:13:10 FreeBSD-amd64 kdm-bin[792]: X server > > "/usr/X11R6/bin/X" cannot be executed > > Jul 16 00:13:10 FreeBSD-amd64 kdm-bin[789]: X server for display :0 > > can't be started, session disabled > > > > When I logged in, startkde brings another error message: > > xsetroot: unable to open display '' > > Warning: kbuildsycoca is unable to register with DCOP. > > kbuildsycoca running... > > kdeinit: Aborting. $DISPLAY is not set. > > There was an error setting up inter-process communications for KDE. > > The message returned by the system was: > > > > Could not read network connection list. > > /home/andrey/.DCOPserver_FreeBSD-amd64.kde.com_NODISPLAY > > > > Please check that the "dcopserver" program is running! > > Reusing existing ksycoca > > kbuildsycoca: WARNING: '/usr/local/share/applications/kde/ark.desktop' > > specifies undefined mimetype/servicetype 'application/x-tbz2' > > <...> > > A lot of messages of the same nature about undefined > > mimetype/servicetype. <...> > > xset: unable to open display "" > > xset: unable to open display "" > > xsetroot: unable to open display '' > > startkde: Starting up... > > ksplash: cannot connect to X server > > xprop: unable to open display '' > > kdeinit: Aborting. $DISPLAY is not set. > > Warning: connect() failed: : No such file or directory > > ksmserver: cannot connect to X server > > ERROR: Couldn't attach to DCOP server! > > startkde: Shutting down... > > Warning: connect() failed: : No such file or directory > > Error: Can't contact kdeinit! > > startkde: Running shutdown scripts... > > > > Interesting, when I issue startx, KDE is up and running. > > I ran X -configure, and then X -config /root/xorg.conf.new as root; X > > server starts properly, so I copied new config to /etc/X11. I assume > > my problem is KDE related. Errors are about DCOP server, as I can see. > > Could anyone help me fix this problem? Thank you in advance! > > # ls -lF /usr/X11R6 > lrwxr-xr-x 1 root wheel 10 Jun 18 08:29 /usr/X11R6@ -> /usr/local > > If yours does not look like that, then you forgot to merge /usr/X11R6 > into /usr/local, which by the looks of the first message (Jul 16 > 00:13:10 FreeBSD-amd64 kdm-bin[792]: X server "/usr/X11R6/bin/X" cannot > be executed) is exactly what has happened. As of Xorg 7, X11BASE is now > /usr/local rather than /usr/X11R6, so the Xorg servers will not be at > /usr/X11R6/bin. Read the Xorg 7.2 entry in /usr/ports/UPDATING. > Specifically, there is a tool (mergebase.sh) included to make the merge > step extremely easy. Yes. Sure. Thank you. Perhaps I was too sleepy. My fault. Everything is OK. Andriy