From owner-freebsd-questions@FreeBSD.ORG Thu Feb 3 15:48:07 2005 Return-Path: Delivered-To: freebsd-questions@freebsd.org Received: from mx1.FreeBSD.org (mx1.freebsd.org [216.136.204.125]) by hub.freebsd.org (Postfix) with ESMTP id 8007116A4CE for ; Thu, 3 Feb 2005 15:48:07 +0000 (GMT) Received: from heineken.flexi-surf.co.uk (smtp.flexi-surf.co.uk [62.41.128.20]) by mx1.FreeBSD.org (Postfix) with ESMTP id C61E943D1F for ; Thu, 3 Feb 2005 15:48:05 +0000 (GMT) (envelope-from nbco@screaming.net) Received: from [192.168.2.3] ([62.55.106.101])j13DaFc31317; Thu, 3 Feb 2005 13:36:15 GMT From: nbco To: freebsd-questions@freebsd.org, BSD Mail Date: Thu, 3 Feb 2005 15:47:53 +0000 User-Agent: KMail/1.7.2 References: <8be663db050202232855e7adbe@mail.gmail.com> <200502022348.13621.kstewart@owt.com> <8be663db0502030104175acebe@mail.gmail.com> In-Reply-To: <8be663db0502030104175acebe@mail.gmail.com> MIME-Version: 1.0 Content-Type: text/plain; charset="us-ascii" Content-Transfer-Encoding: 7bit Content-Disposition: inline Message-Id: <200502031547.53481.nbco@screaming.net> Subject: Re: couldn't start KDE. X-BeenThere: freebsd-questions@freebsd.org X-Mailman-Version: 2.1.1 Precedence: list Reply-To: nbco@screaming.net List-Id: User questions List-Unsubscribe: , List-Archive: List-Post: List-Help: List-Subscribe: , X-List-Received-Date: Thu, 03 Feb 2005 15:48:07 -0000 On Thursday 03 February 2005 09:04, BSD Mail wrote: > On Wed, 2 Feb 2005 23:48:13 -0800, Kent Stewart wrote: > > On Wednesday 02 February 2005 11:28 pm, BSD Mail wrote: > > Did you see the error message about /tmp/.ICE-unix. Check the > > ownership. > > > > Kent > > Sorry I forgot to mention that this is the second thing I tried > actually. I noticed the permissions for 3 other directory and the > .ICE-unix under /'tmp as root:wheel I ran chown -R user:user on them > it got rid of most the errors but still, I was getting an error about > that .ICE-unix directory. the third thing I did is I rm -rf > everything under /tmp and started kde again. Less errors and still > showing the .ICE-unix error and my previous attachment was the least > error I was able to get. Hi, In relaton to the .ICE_unix directory, UPDATING deals with it in part (see below). I like having clear_tmp_enable="YES" so to avoid this problem, I created the directory /etc/rc.local with the following line: mkdir -p -m 1777 /tmp/.ICE-unix This means that I can still clear out my tmp directories automatically on reboot and maintain the ICE-unix permissions. I hope this helps .nbco 20041229: AFFECTS: users of x11/kdebase3, x11-servers/xorg-server AUTHOR: lofi@freebsd.org If KDE does not start anymore after upgrading Xorg to version 6.8.1 (X restarts when the KDE splash screen has reached the third icon), please check whether the directory /tmp/.ICE-unix exists, is owned by root and has permissions 1777 (read/write/access for everybody + sticky bit). To make sure everything is in working order, do (as root): mkdir -p /tmp/.ICE-unix && chmod 1777 /tmp/.ICE-unix && chown root:wheel /tmp/.ICE-unix Also, make sure you do NOT have clear_tmp_enable="YES" set in /etc/rc.conf, as it will remove the directory on every reboot and applications will re-create it with the wrong ownership. Users of daily_clean_tmps_enable in /etc/periodic.conf should make sure daily_clean_tmps_ignore contains /tmp/.ICE-unix.