problem with X11 lockfiles in /tmp
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 Pretty soon my /tmp directory looks like: /tmp/.X0-lock /tmp/.X1-lock /tmp/.X2-lock /tmp/.X3-lock ... and /tmp/.X11-unix/X0 /tmp/.X11-unix/X1 /tmp/.X11-unix/X2 /tmp/.X11-unix/X3 ... It happens no matter how I launch or quit X11. Launchd is enabled, I can start X11 by running an X11 app like xterm, clicking on X11.app directly, or typing startx in a terminal. I can quit X11 from X11's menu, or from the exit menu in my window manager. Same results in all cases. I haven't seen this before, and it's causing my window manager to lose my config because it thinks I am in a different X11 session or something. I think the problem has existed for at least 2 dev releases but I only now saw what is happening in the /tmp directory. Why is this happening?
Those files should be deleted upon exit. I just verified that they are removed here... Anything "special" about your configuration? On Jul 14, 2010, at 09:47, Dave Ray 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
Pretty soon my /tmp directory looks like: /tmp/.X0-lock /tmp/.X1-lock /tmp/.X2-lock /tmp/.X3-lock ... and /tmp/.X11-unix/X0 /tmp/.X11-unix/X1 /tmp/.X11-unix/X2 /tmp/.X11-unix/X3 ...
It happens no matter how I launch or quit X11. Launchd is enabled, I can start X11 by running an X11 app like xterm, clicking on X11.app directly, or typing startx in a terminal. I can quit X11 from X11's menu, or from the exit menu in my window manager. Same results in all cases.
I haven't seen this before, and it's causing my window manager to lose my config because it thinks I am in a different X11 session or something.
I think the problem has existed for at least 2 dev releases but I only now saw what is happening in the /tmp directory.
Why is this happening?
_______________________________________________ Xquartz-dev mailing list Xquartz-dev@lists.macosforge.org http://lists.macosforge.org/mailman/listinfo.cgi/xquartz-dev
On Wed, Jul 14, 2010 at 12:47 PM, Dave Ray apple-at-jonive.com |Xquartz-dev/Allow to me| <nqnva7ftdt@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. XQuartz 2.5.1, OS X 10.6.4. XQuartz 2.5.1_rc2 did it as well (I just upgraded, finally). - Brian
"Brian Bender" <zt4q4o402@sneakemail.com> writes:
On Wed, Jul 14, 2010 at 12:47 PM, Dave Ray apple-at-jonive.com |Xquartz-dev/Allow to me| <nqnva7ftdt@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
participants (4)
-
Brian Bender
-
Dave Ray
-
Jeremy Huddleston
-
Tom Lane