rc script for /tmp/.ICE-unix
Eric W. Bates
ericx at vineyard.net
Fri Jan 21 19:03:13 PST 2005
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}
More information about the freebsd-x11
mailing list