From owner-freebsd-current@FreeBSD.ORG Thu Jan 6 23:08:36 2005 Return-Path: Delivered-To: freebsd-current@freebsd.org Received: from mx1.FreeBSD.org (mx1.freebsd.org [216.136.204.125]) by hub.freebsd.org (Postfix) with ESMTP id D4C7D16A4CE for ; Thu, 6 Jan 2005 23:08:36 +0000 (GMT) Received: from lp1001.snu.ac.kr (lp1001.snu.ac.kr [147.46.70.11]) by mx1.FreeBSD.org (Postfix) with ESMTP id 578DF43D45 for ; Thu, 6 Jan 2005 23:08:36 +0000 (GMT) (envelope-from spamrefuse@yahoo.com) Received: from [IPv6:::1] (localhost [127.0.0.1]) (authenticated (0 bits)) by lp1001.snu.ac.kr (8.13.1/8.11.6) with ESMTP id j06N6HIR031783 for ; Fri, 7 Jan 2005 08:06:18 +0900 Message-ID: <41DDC4F2.5090709@yahoo.com> Date: Fri, 07 Jan 2005 08:08:34 +0900 From: Rob User-Agent: Mozilla/5.0 (X11; U; FreeBSD i386; en-US; rv:1.7.5) Gecko/20050105 X-Accept-Language: en-us, en MIME-Version: 1.0 To: freebsd-current Content-Type: text/plain; charset=us-ascii; format=flowed Content-Transfer-Encoding: 7bit Subject: Xorg ICE vs. Xfce4 (4.2-RC3) needs fixing /etc/rc.d/cleartmp X-BeenThere: freebsd-current@freebsd.org X-Mailman-Version: 2.1.1 Precedence: list List-Id: Discussions about the use of FreeBSD-current List-Unsubscribe: , List-Archive: List-Post: List-Help: List-Subscribe: , X-List-Received-Date: Thu, 06 Jan 2005 23:08:36 -0000 Hi, I'm testing Xfce 4.2-RC3, but it has following problems at startup: ---------------- .xsession-errors _IceTransmkdir: ERROR: euid != 0,directory /tmp/.ICE-unix will not be created. _IceTransSocketUNIXCreateListener: mkdir(/tmp/.ICE-unix) failed, errno = 2 _IceTransMakeAllCOTSServerListeners: failed to create listener for local xfce4-session: Unable to establish ICE listeners: Cannot establish any listening sockets Then I create /tmp/.ICE-unix, which still does not make Xfce happy: ---------------- .xsession-errors _IceTransmkdir: ERROR: Mode of /tmp/.ICE-unix must be set to 1777 _IceTransSocketUNIXCreateListener: mkdir(/tmp/.ICE-unix) failed, errno = 1 _IceTransMakeAllCOTSServerListeners: failed to create listener for local xfce4-session: Unable to establish ICE listeners: Cannot establish any listening sockets The patch below from Pawel Worach solves the problem. Cheers, Rob. http://lists.freebsd.org/mailman/htdig/freebsd-current/2004-November/042445.html Index: etc/rc.d/cleartmp =================================================================== RCS file: /export/ctm/cvs/src/etc/rc.d/cleartmp,v retrieving revision 1.11 diff -u -r1.11 cleartmp --- etc/rc.d/cleartmp 7 Oct 2004 13:55:25 -0000 1.11 +++ etc/rc.d/cleartmp 5 Nov 2004 20:18:12 -0000 @@ -35,5 +35,5 @@ # restarting X # rm -f /tmp/.X[0-9]-lock -rm -fr /tmp/.X11-unix -mkdir -m 1777 /tmp/.X11-unix +rm -fr /tmp/.X11-unix /tmp/.font-unix /tmp/.ICE-unix +mkdir -m 1777 /tmp/.X11-unix /tmp/.font-unix /tmp/.ICE-unix