permisson of /tmp/.X11-unix

Xingbo Gao(Tyler) tylerg "at" gdc.lucent.com
Thu, 20 Apr 2000 02:27:31 +0000


Hi, all

I am using VNC on sun/sparc, and I know it requires the directories
/tmp/.X11-unix world-writable such as 1777 if I want to start a VNC server. So
following the instructions I let my server administrator add a script named
S99x11unix into /etc/rc2.d. 

The script is something like:

#!/bin/ksh

      if [ ! -d /tmp/.X11-unix ]
      then
          mkdir /tmp/.X11-unix
      fi
      chmod 1777 /tmp/.X11-unix


I expect it is excuted automatically every time when the server reboots, but it
seemed that the script was only executed sometimes. This morning I checked the
directories /tmp/.X11-unix again and found they had 755 permissions. So I failed
to run vncserver. 

Does someone know what was going on and tell me what to do?
thanks,

Tyler
---------------------------------------------------------------------
To unsubscribe, send a message with the line: unsubscribe vnc-list
to majordomo "at" uk.research.att.com
See also: http://www.uk.research.att.com/vnc/intouch.html
---------------------------------------------------------------------