From owner-freebsd-x11@FreeBSD.ORG Sat Jan 22 03:03:13 2005 Return-Path: Delivered-To: freebsd-x11@freebsd.org Received: from mx1.FreeBSD.org (mx1.freebsd.org [216.136.204.125]) by hub.freebsd.org (Postfix) with ESMTP id 2640A16A4CF for ; Sat, 22 Jan 2005 03:03:13 +0000 (GMT) Received: from phred.ericx.net (phred.ericx.net [204.128.227.37]) by mx1.FreeBSD.org (Postfix) with SMTP id 58B7A43D46 for ; Sat, 22 Jan 2005 03:03:12 +0000 (GMT) (envelope-from ericx@phred.ericx.net) Received: from phred.ericx.net (localhost.ericx.net [127.0.0.1]) by phred.ericx.net (8.13.1/8.13.1) with ESMTP id j0M33B1I001653; Fri, 21 Jan 2005 22:03:11 -0500 (EST) (envelope-from ericx@phred.ericx.net) Received: (from root@localhost) by phred.ericx.net (8.13.1/8.13.1/Submit) id j0M33A0G001650; Fri, 21 Jan 2005 22:03:10 -0500 (EST) (envelope-from ericx) Message-Id: <200501220303.j0M33A0G001650@phred.ericx.net> To: x11@FreeBSD.org From: "Eric W. Bates" Sender: "Eric W. Bates" Date: Fri, 21 Jan 2005 22:03:10 -0500 Subject: rc script for /tmp/.ICE-unix X-BeenThere: freebsd-x11@freebsd.org X-Mailman-Version: 2.1.1 Precedence: list Reply-To: "Eric W. Bates" List-Id: X11 on FreeBSD -- maintaining and support List-Unsubscribe: , List-Archive: List-Post: List-Help: List-Subscribe: , X-List-Received-Date: Sat, 22 Jan 2005 03:03:13 -0000 FreeBSD 5.3-RELEASE-p2 xorg-libraries-6.8.1 kdebase-3.3.2 I'm not entirely clear what is going on. And you folks probably have it nailed already. However, when starting KDE (startx --> startkde), it typically fails because somewhere in the start up procedure, the dir '/tmp/.ICE-unix' is created mode 1777 by the user running startx. KDE subsequently fails when ICE complains that the ownership of '/tmp/.ICE-unix' should be 'root'. So I wrote a stupid little rc to create the dir at boot (since /tmp is usually an mfs on my systems). Here it is: /usr/local/etc/rc.d/xorg-ICE.sh #!/bin/sh ICEDIR='.ICE-unix' mkdir ${ICEDIR} chown root:wheel ${ICEDIR} chmod 1777 ${ICEDIR}