Subject: misc/29447: xfce4 doesn't start due missing /tmp/.ICE-unix directory (xorg and pkgsrc)
To: None <misc-bug-people@netbsd.org, gnats-admin@netbsd.org,>
From: None <jens.weisse@bsd-crew.de>
List: netbsd-bugs
Date: 02/19/2005 11:34:01
>Number:         29447
>Category:       misc
>Synopsis:       xfce4 doesn't start due missing /tmp/.ICE-unix directory   (xorg and pkgsrc)
>Confidential:   no
>Severity:       non-critical
>Priority:       low
>Responsible:    misc-bug-people
>State:          open
>Class:          sw-bug
>Submitter-Id:   net
>Arrival-Date:   Sat Feb 19 11:34:00 +0000 2005
>Originator:     Jens Weisse
>Release:        NetBSD 2.0  (5.12.2004)
>Organization:
>Environment:
NetBSD schlapper 2.0 NetBSD 2.0 (GENERIC) #0: Sat Dec  4 22:23:30 CET 2004  jens@kniffo:/daten/NetBSD/usr/src/sys/arch/i386/compile/obj/GENERIC i386
>Description:
It's a problem with pkgsrc (13.2.2005), X.org and NetBSD. The iceauth program can't create the /tmp/.ICE-unix directory for non-root accounts. And after each reboot is the /tmp directory clean. So startxfce4 and gnome doesn't start. 


>How-To-Repeat:
Reboot -> the /tmp directory is empty  -> startxfce4 and gnome doesn'n start for non-root accounts 
>Fix:
login as root  (startxfce4 or gnome)

or create after each reboot the directory with correct permissions

bash-3.00# cat /etc.rc.local
[...]
mkdir /tmp/.ICE-unix
chmod 1777  /tmp/.ICE-unix