Mailing Lists: Apple Mailing Lists

Image of Mac OS face in stamp
 
[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index]

Re: Questions about 2.1.1 --> 2.1.2 and 2.1.3 + lockups





On Jan 23, 2008 7:24 PM, Jeremy Huddleston <email@hidden> wrote:
> scm-leop:~ scm$ ps x |grep X |grep -v grep
>  146   ??  S      0:00.06 /usr/bin/login -fp
> scm /bin/sh -c /usr/X11/bin/xclipboard
>  147   ??  S      0:00.04 /bin/bash --login /usr/X11/bin/startx
>  173   ??  S
> 2:29.24 /Users/scm/Applications/Utilities/X11.app/Contents/MacOS/
> X11 :0 -auth /Users/scm/.serverauth.147
>  177   ??  S      0:00.08 /usr/X11/bin/xclipboard

Ok, well it looks like you copied the old X11.app from /Applications/
Utilities/X11.app to ~/Applications/Utilities.

When you installed the package, it put the new one in /Applications/
Utilities.

When launchd (or you manually for that matter) runs startx to start
the server, xinit does a search (using launch services) to find
X11.app.  It then does a funky execv() trick to execute /usr/X11/bin/
XQuartz, but tell it the execuatable is in the X11.app package.  This
is esentially how we get XQuartz to have the menu, icon, localization,
etc.

So in your case, you're actually using the latest XQuartz, but you're
using the old menu, localization, etc.  I'd just delete ~scm/
Applications/Utilities/X11.app

Also, does this 'ps' output correspond to when you have 2 X11 icons?
It looks like you should only have one.

> scm-leop:~ scm$ echo $DISPLAY
> :0.0

Hmm... are you setting this anywhere in your {/etc/,~/.}
{profile,bashrc}?


Thank you so much for your fast response - you were right about X11.app - I am not sure how I got it there, when I always launched it from /Application/Utilities ?!? I got rid of the ~ one, anyway (scm-leop:~ scm$ rm -fR ~/Applications/Utilities/X11.app/ )

As far as the other question is concerned, here is what I got:

scm-leop:~ scm$ sudo grep -r DISPLAY /etc/*
/etc/sudoers:Defaults   env_keep += "DISPLAY XAUTHORIZATION XAUTHORITY"

scm-leop:~ scm$ grep DISPLAY ./.*
./.bash_history:echo $DISPLAY
./.profile:export DISPLAY=:0.0
./.viminfo:     export DISPLAY=:0.0

Should I get rid of the .profile entry for $DISPLAY?

Thanks again,
Stefan
 _______________________________________________
Do not post admin requests to the list. They will be ignored.
X11-users mailing list      (email@hidden)
Help/Unsubscribe/Update your Subscription: http://lists.apple.com/mailman/options/x11-users/email@hidden

This email sent to email@hidden

References: 
 >Questions about 2.1.1 --> 2.1.2 and 2.1.3 + lockups (From: Netfortius <email@hidden>)
 >Re: Questions about 2.1.1 --> 2.1.2 and 2.1.3 + lockups (From: Jeremy Huddleston <email@hidden>)
 >Re: Questions about 2.1.1 --> 2.1.2 and 2.1.3 + lockups (From: Netfortius <email@hidden>)
 >Re: Questions about 2.1.1 --> 2.1.2 and 2.1.3 + lockups (From: Jeremy Huddleston <email@hidden>)



Visit the Apple Store online or at retail locations.
1-800-MY-APPLE

Contact Apple | Terms of Use | Privacy Policy

Copyright © 2007 Apple Inc. All rights reserved.