xfce4-session and XOrg-test

Auke Kok sofar at lunar-linux.org
Thu Oct 7 20:34:36 UTC 2004


Chad Kittel wrote:
> On Thursday 07 October 2004 03:19 pm, Auke Kok wrote:
> 
>>I'm running a virgin XOrg-test and xfce4-1.90 here now and as USER I get
>>the following error: (2.4.27 kernel BTW)
>>
>>(==) Using config file: "/etc/X11/xorg.conf"
>>Could not init font path element /usr/share/fonts/CID/, removing from list!
>>/usr/etc/xdg/xfce4/xinitrc: line 52: xscreensaver: command not found
>>alsa: Mixer attach default error: Permission denied
>>_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
>>
>>waiting for X server to shut down
>># die! die!
>>
>>
>>anyway Xorg is nicely rws--x--x and even /tmp is rwxrwxrwt ... clues
>>anyone???
> 
> 
> Can we add something like this to the POST_INSTALL to make sure this doesn't 
> happen in the future?
> 
> for dir in /tmp/.{ICE,X11}-unix
> do
>  if [ ! -d ${dir} ]
>  then
>   mkdir -p ${dir}
>  fi
>  chown root:root ${dir}
>  chmod 1777 ${dir}
> done

unfortunately LSB means /tmp can and will be wiped during reboots, 
therefore we need to do this during startup... My suggestion would be to 
do this at boot time or in a wrapper script... which is FUCKING 
DANGEROUS since we're talking about a setuid root program

/me REALLY don't likes XOrg at the moment

sofar


More information about the Lunar-dev mailing list