[Xquartz-dev] problem with X11 lockfiles in /tmp

Tom Lane tgl at sss.pgh.pa.us
Wed Jul 14 15:42:22 PDT 2010


"Brian Bender" <zt4q4o402 at sneakemail.com> writes:
> On Wed, Jul 14, 2010 at 12:47 PM, Dave Ray apple-at-jonive.com
> |Xquartz-dev/Allow to me| <nqnva7ftdt at sneakemail.com> wrote:
>> When I run X11, it creates lockfiles
>>  /tmp/.X0-lock and /tmp/.X11-unix/X0
>> 
>> If I quit X11 normally and run it again, it creates lockfiles:
>>  /tmp/.X1-lock and /tmp/.X11-unix/X1
>> 
> FWIW, I'm seeing the same thing, new lockfiles every run.

Likewise:

pro:~ tgl$ ls -la /tmp/.X11-unix
total 0
drwxrwxrwt   5 root  wheel  170 Jul 10 22:37 .
drwxrwxrwt  25 root  wheel  850 Jul 14 09:23 ..
srwxrwxrwx   1 tgl   wheel    0 Jun 16 00:07 X0
srwxrwxrwx   1 tgl   wheel    0 Jul  1 23:48 X1
srwxrwxrwx   1 tgl   wheel    0 Jul 10 22:38 X2

X2 was evidently created when I quit 2.5.1_rc2 and updated to 2.5.1.
The timestamp of the X1 file is consistent with the idea that it was
created when upgrading to rc2 from rc1.  I don't recall having restarted
X11 anytime recently except for the upgrades.

ps shows that the server is just doing what it was told:

pro:~ tgl$ ps auxww | grep X
tgl      14952   1.2  2.7  2841796  56820   ??  S    Sat10PM  14:18.99 /Applications/Utilities/XQuartz.app/Contents/MacOS/X11.bin -psn_0_12082053
tgl      19717   0.3  0.0  2425520    100 s004  R+    6:38PM   0:00.01 grep X
tgl      15104   0.0  0.3  2735072   5896   ??  S    Sat10PM   0:08.76 /opt/X11/bin/quartz-wm
tgl      15017   0.0  0.0  2446148    872   ??  S    Sat10PM   0:00.01 /opt/X11/bin/X :2 -nolisten tcp -auth /Users/tgl/.serverauth.14962
tgl      15015   0.0  0.0  2436140    636   ??  S    Sat10PM   0:00.00 /opt/X11/bin/xinit /opt/X11/lib/X11/xinit/xinitrc -- /opt/X11/bin/X :2 -nolisten tcp -auth /Users/tgl/.serverauth.14962
tgl      14962   0.0  0.0  2435464    744   ??  S    Sat10PM   0:00.03 /bin/sh /opt/X11/bin/startx

			regards, tom lane


More information about the Xquartz-dev mailing list