[Xquartz-dev] Autolaunched X11 doesn't work with fast-user-switching

Merle Reinhart merlereinhart at mac.com
Sun Dec 16 12:49:37 PST 2007


On X11 included with Leopard:

merle% ls -laF /tmp/.X11-unix/
total 0
drwxrwxrwt   2 merle   wheel  136 Dec 16 15:40 ./
drwxrwxrwt  11 root    wheel  476 Dec 16 15:41 ../
srwxrwxrwx   1 merle   wheel    0 Dec 16 15:40 X0=
srwxrwxrwx   1 testme  wheel    0 Dec 16 15:41 X1=



FYI, I can manually launch, in the second user, the X11-2.1.1 package  
X11.app with the :1 parameter and if I set DISPLAY to :1, then it will  
work.  But that is like the Tiger X11.  Looking in /tmp/.X11-unix/  
after manually launching X11.app (2.1.1), I see the same two sockets  
as on the original Leopard X11.


Merle




On Dec 16, 2007, at 3:33 PM, Jeremy Huddleston wrote:

> What's the contents of /tmp/.X11-unix?
>
> What happens if you do:
> DISPLAY=:0 xterm
>
> inside (in this case) an xterm on the merle account?
>
> On Dec 16, 2007, at 12:00, Merle Reinhart wrote:
>
>> I was testing this again with the X11 included with Leopard and  
>> this is what I see after X11 is up and running in two different  
>> accounts, merle and testme.
>>
>>
>>
>> testme% ls -la /tmp/
>> total 16
>> drwxrwxrwt  11 root    wheel  476 Dec 16 13:01 .
>> drwxr-xr-x@  6 root    wheel  204 Dec 16 11:32 ..
>> -r--r--r--   1 merle   wheel   11 Dec 16 12:59 .X0-lock
>> -r--r--r--   1 testme  wheel   11 Dec 16 13:01 .X1-lock
>> drwxrwxrwt   2 merle   wheel  136 Dec 16 13:01 .X11-unix
>> srwxrwxrwx   1 merle   wheel    0 Dec 16 12:18 com.hp.launchport
>> drwx------   2 merle   wheel  102 Dec 16 12:18 launch-4hKjbV
>> drwx------   2 testme  wheel  102 Dec 16 12:19 launch-5F6kkF
>> drwx------   2 merle   wheel  102 Dec 16 12:18 launch-7Z6e7z
>> drwx------   2 testme  wheel  102 Dec 16 12:19 launch-Bpwd9y
>> drwx------   2 merle   wheel  102 Dec 16 12:18 launch-RxHKBP
>> drwx------   2 testme  wheel  102 Dec 16 12:19 launch-UTIeyp
>> drwx------   2 merle   wheel  102 Dec 16 12:18 launchd-146.fUrw5l
>> drwx------   2 testme  wheel  102 Dec 16 12:19 launchd-210.x7HrLe
>>
>>
>> testme% ps -axww | grep -i x11
>> 316 ??         0:00.03 /usr/X11/X11.app/Contents/MacOS/X11
>> 317 ??         0:01.02 /usr/X11/X11.app/Contents/MacOS/X11 -auth / 
>> Users/merle/.Xauthority :0
>> 334 ??         0:00.03 /usr/X11/X11.app/Contents/MacOS/X11
>> 335 ??         0:00.63 /usr/X11/X11.app/Contents/MacOS/X11 -auth / 
>> Users/testme/.Xauthority :1
>> 352 ttys002    0:00.00 grep -i x11
>>
>> So, it would appear that in the original Leopard X11, that X11.app  
>> is somehow seeing that it should use a different display.
>>
>> Merle
>>
>>
>>
>>
>> _______________________________________________
>> Xquartz-dev mailing list
>> Xquartz-dev at lists.macosforge.org
>> http://lists.macosforge.org/mailman/listinfo/xquartz-dev
>
> _______________________________________________
> Xquartz-dev mailing list
> Xquartz-dev at lists.macosforge.org
> http://lists.macosforge.org/mailman/listinfo/xquartz-dev

-------------- next part --------------
A non-text attachment was scrubbed...
Name: smime.p7s
Type: application/pkcs7-signature
Size: 2425 bytes
Desc: not available
Url : http://lists.macosforge.org/pipermail/xquartz-dev/attachments/20071216/6f552a68/smime.bin


More information about the Xquartz-dev mailing list