From owner-freebsd-questions@FreeBSD.ORG Mon Aug 18 02:38:53 2008 Return-Path: Delivered-To: freebsd-questions@freebsd.org Received: from mx1.freebsd.org (mx1.freebsd.org [IPv6:2001:4f8:fff6::34]) by hub.freebsd.org (Postfix) with ESMTP id 497291065671 for ; Mon, 18 Aug 2008 02:38:53 +0000 (UTC) (envelope-from kline@thought.org) Received: from aristotle.thought.org (ns1.thought.org [209.180.213.210]) by mx1.freebsd.org (Postfix) with ESMTP id EE8928FC14 for ; Mon, 18 Aug 2008 02:38:52 +0000 (UTC) (envelope-from kline@thought.org) Received: from ethos.thought.org (ethos.thought.org [10.47.0.180]) (authenticated bits=0) by aristotle.thought.org (8.14.2/8.14.2) with ESMTP id m7I2cwRS005197; Sun, 17 Aug 2008 19:38:58 -0700 (PDT) (envelope-from kline@thought.org) From: Gary Kline To: nightrecon@verizon.net In-Reply-To: References: <20080817220431.GA1187@thought.org> <20080817231959.GB3376@thought.org> Content-Type: text/plain Date: Sun, 17 Aug 2008 19:38:47 -0700 Message-Id: <1219027127.4994.37.camel@localhost> Mime-Version: 1.0 X-Mailer: Evolution 2.6.1 Content-Transfer-Encoding: 7bit X-Spam-Status: No, score=-4.4 required=3.6 tests=ALL_TRUSTED,BAYES_00 autolearn=ham version=3.2.3 X-Spam-Checker-Version: SpamAssassin 3.2.3 (2007-08-08) on aristotle.thought.org Cc: freebsd-questions@freebsd.org Subject: Re: kde troubles.... 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: Mon, 18 Aug 2008 02:38:53 -0000 On Sun, 2008-08-17 at 20:17 -0400, Michael Powell wrote: > Gary Kline wrote: > > [snip] > > > > the err message is gone, but KDE creates an /rmpty kdm.pid and > > does nothing. > > This is not good. The file should contain a number. > > [snip] > > It would also be helpful to know how you are trying to run KDE. There are > two ways, the first being to have a line like: > > ttyv8 "/usr/local/bin/kdm -nodaemon" xterm on secure > > in /etc/ttys which starts kdm as a graphical login at boot. The other is to > boot and login as user, then do the "startx" command which needs "startkde" > to be in .xinitrc and/or .xsession in your Home directory. i do not have KDE start by /etc/ttys; i start it as root via kdm. i just tried startxx and have my KDE env back up. i have many many more spps that i had thought; will axe most. the thing of note is that as root, startx splat a screen full of X11 errors that prob'ly are meaningful to X11 wizards. it looked like there were two or more illegal actions... is there any way of my capturing the output and posting it to the list ? > > > Nothing else; what else neeeds cleaning? > > Not sure what got munged with your power glitch, but a couple of times in > the past when I've had trouble getting KDE to start I would login as root > (or su) without X running and delete some stuff. Look in your user home > directory for something like .DCOPserver_hostname_:0; there will be two - > one is a link to the other. Delete both of these and delete the > ksocket-yourusername folder in /tmp. > > Also while in /tmp look for .X0-lock and delete. Look for the > folders .ICE-unix and .X11-unix and delete all the sockets you find in > these two folders. Make note both of these folders should have the sticky > bit set. Also delete the /var/run/kdm.pid again like before. > > This is how I've gotten KDE to start in the past after an "uh-oh". It also > may not pertain to your particular situation. One thing you can do to > troubleshoot X if you are using "startx" (ie not starting kdm at login with > the ttys line above) is to have an empty .xinitrc and/or .xsession. Then > when you run X the twm window manager should come up, as it is the default > for X. This way you can drive a wedge between "Is it an X problem or a KDE > problem?" > o xdm by itsekf brings up root; startx with startkde brings up kde. For reasons beyond me, kdm balks at creating /var/run/kdm.pid. Oh, and since I did a complete portupgrade recently, I did an X -configure and am now using the new xorg.conf. thanks much. time to call it a century! gary > Good luck and I hope you get it going. > > -Mike > > > > _______________________________________________ > freebsd-questions@freebsd.org mailing list > http://lists.freebsd.org/mailman/listinfo/freebsd-questions > To unsubscribe, send any mail to "freebsd-questions-unsubscribe@freebsd.org"