Skip site navigation (1)Skip section navigation (2)
Date:      Fri, 21 Jan 2005 22:03:10 -0500
From:      "Eric W. Bates" <ericx@vineyard.net>
To:        x11@FreeBSD.org
Subject:   rc script for /tmp/.ICE-unix
Message-ID:  <200501220303.j0M33A0G001650@phred.ericx.net>

next in thread | raw e-mail | index | archive | help
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}



Want to link to this message? Use this URL: <https://mail-archive.FreeBSD.org/cgi/mid.cgi?200501220303.j0M33A0G001650>