寄件人﹕ Jeremy Huddleston <email@hidden>
收件人﹕ Michael Leung
<email@hidden>
副本(CC) Allen Bennett <email@hidden>; email@hidden
傳送日期﹕ 2010/3/1 (一) 12:40:07 PM
主題: Re: Snow Leopard 10.6.2 takes a long time to run 'X11.app' (with system log)
Yeah... I didn't look through your original email carefully enough, but my guess is you didn't 'ditto' correctly... it doesn't matter. Just do the following as root:
chown -R michael:staff ~michael
I'm guessing that your username is 'michael' here.
--Jeremy
On Feb 28, 2010, at 15:28, Michael Leung wrote:
> n219079205039:~ Michael$ ls -l /Users
> total 16
> drwxr-xr-x 20 root admin 680 Mar 1 00:18 Michael
> -rw-r--r-- 1 root admin 4118 Mar
1 07:20 PortDetect.log
> drwxrwxrwt 5 root wheel 170 Feb 28 14:43 Shared
> n219079205039:~ Michael$
>
> Is that normal? Thanks in advance!
>
>
> ________________________________
> 寄件人﹕ Allen Bennett <
email@hidden>
> 收件人﹕ Jeremy Huddleston <
email@hidden>
> 副本(CC) Michael Leung <
email@hidden>;
email@hidden> 傳送日期﹕ 2010/3/1 (一) 6:17:51 AM
> 主題: Re: Snow Leopard 10.6.2 takes a long time to run 'X11.app' (with system
log)
>
> Check the permissions on your home folder:
> In Terminal run "ls -l /Users"
>
> The leftmost part of the output for your home folder should be drwx and you should be the owner and the group should be staff. (The name of the folder will be the last item in the column.)
>
> -Allen Bennett
>
email@hidden>
>
>
> On Feb 28, 2010, at 3:11 PM, Jeremy Huddleston wrote:
>
>> xauth spinning would cause X11 not to finish starting.
>>
>> Mar 1 00:46:06 n219073058253 org.x.startx[335]: xauth: timeout in locking authority file /Users/Michael/.Xauthority
>>
>> What type of file system do you have your $HOME on?
>>
>>
>> On Feb 28, 2010, at 08:56, Michael Leung wrote:
>>
>>>
Hello everyone, English is not my mother tongue so may not be exactly correct, sorry about that. Background:
>>> I have a MacBook White (13-inch, Mid 2009) that isn't unibody, and was running Leopard 10.5.
>>> I did a clean installation and now Snow Leopard 10.6.2, with iLife, iWork, and many many apps.
>>> I am the only one who will use the Mac and my user account is as the 'admin'. I previously had a problem concerning X11 too:
http://discussions.apple.com/thread.jspa?threadID=2343732 What I've done: (1) rename my HD to 'Michaels_Home' under 'Get Info' from Finder (I can't rename in Disk Utility though)
>>> (2) press return (enter)
>>> (3) change my home folder path to the '/Volumes/Michaels_Home/Users/Michael' (
http://eshop.macsales.com/Reviews/Framework.cfm?page=Tips/relocate3/relocate3.html)
>>> (4) restart
>>> (5) log in and open X11
>>> (6) problem solved!! ========== *BUT NOW*I have a problem after:
>>> (1) log in as the _root_ user, and use command +ditto -V xyz xyz+ to copy my home folder from '/Volumes/Michaels_Home/Users/Michael' to '/Users>Michael'
>>> (2) change my home folder path to the '/Users/Michael' (
http://eshop.macsales.com/Reviews/Framework.cfm?page=Tips/relocate3/relocate3.html)
>>> (3) use the Mac OS X Snow Leopard USD$29 disc to boot my Mac up
>>> (4) delete the 'Michaels_Home' partition (I had 3 partitions: (1) Macintosh HD (2)
Michaels_Home (3) Windows XP Professional)
>>> (5) resize the 'Macintosh HD' partition
>>> (6) boot from Macintosh HD
>>> (7) find that there's a problem about X11 The problem: it takes a *long time* for X11 to start. When I try to open the 'X11.app', the X11 icon begins jumping on the Dock, but nothing happens.
>>> Jumping and jumping... finally, it doesn't jump any more, with just the X11 icon on the dock.
>>> What's more, there is no white dot under the icon, which means the app isn't running at the moment.
>>> I right-clicked the icon, it shows me 'application not responding'. So, I open the Activity Monitor, and I can see there are 3 apps related to X11 are running:
>>> (1) X11
>>> (2) X11.bin
>>> (3) xauth *At the moment now, if you would wait for about 1.5 min., X11 will open.* Please see below for the system log (from
'FREEZING' to 'WORKING')
>>> ==========
>>> Mar 1 00:42:10 n219073058253 [0x0-0x22022].org.x.X11[327]: X11.app: main(): argc=2
>>> Mar 1 00:42:10 n219073058253 [0x0-0x22022].org.x.X11[327]: argv[0] = /Applications/Utilities/X11.app/Contents/MacOS/X11.bin
>>> Mar 1 00:42:10 n219073058253 [0x0-0x22022].org.x.X11[327]: argv[1] = -psn_0_139298
>>> Mar 1 00:42:10 n219073058253 [0x0-0x22022].org.x.X11[327]: Waiting for startup parameters via Mach IPC.
>>> Mar 1 00:42:10 n219073058253 org.x.startx[335]: font_cache: Scanning user font directories to generate X11 font caches
>>> Mar 1 00:42:10 n219073058253 org.x.startx[335]: font_cache: Updating FC cache
>>> Mar 1 00:42:10 n219073058253 org.x.privileged_startx[344]: font_cache: Scanning system font directories to generate X11 font
caches
>>> Mar 1 00:42:10 n219073058253 defaults[370]: \nThe domain/default pair of (org.x.X11, dpi) does not exist
>>> Mar 1 00:42:12 n219073058253 org.x.privileged_startx[344]: font_cache: Updating FC cache
>>> Mar 1 00:42:13 n219073058253 org.x.startx[335]: font_cache: Done
>>> Mar 1 00:42:14 n219073058253 org.x.privileged_startx[344]: font_cache: Done
>>> Mar 1 00:42:31 n219073058253 org.x.startx[335]: xauth: timeout in locking authority file /Users/Michael/.serverauth.335
>>> Mar 1 00:42:51 n219073058253 org.x.startx[335]: xauth: timeout in locking authority file /Users/Michael/.Xauthority
>>> Mar 1 00:43:31: --- last message repeated 1 time ---
>>> Mar 1 00:43:31 n219073058253 org.x.startx[335]: xauth: timeout in locking authority file /Users/Michael/.Xauthority
>>> Mar
1 00:43:51: --- last message repeated 1 time ---
>>> Mar 1 00:43:51 n219073058253 [0x0-0x22022].org.x.X11[327]: X11.app: Listening on socket for fd handoff: (4) /var/tmp/tmp.0.9OYerf
>>> Mar 1 00:43:51 n219073058253 [0x0-0x22022].org.x.X11[327]: X11.app: Thread created for handoff. Returning success to tell caller to connect and push the fd.
>>> Mar 1 00:43:51 n219073058253 [0x0-0x22022].org.x.X11[327]: X11.app: Received new $DISPLAY fd: 6 ... sleeping to allow xinitrc to catchup.
>>> Mar 1 00:43:51 n219073058253 [0x0-0x22022].org.x.X11[327]: X11.app: do_start_x11_server(): argc=6
>>> Mar 1 00:43:51 n219073058253 [0x0-0x22022].org.x.X11[327]: argv[0] = /usr/X11/bin/X
>>> Mar 1 00:43:51 n219073058253 [0x0-0x22022].org.x.X11[327]: argv[1] = :0
>>> Mar 1 00:43:51 n219073058253
[0x0-0x22022].org.x.X11[327]: argv[2] = -nolisten
>>> Mar 1 00:43:51 n219073058253 [0x0-0x22022].org.x.X11[327]: argv[3] = tcp
>>> Mar 1 00:43:51 n219073058253 [0x0-0x22022].org.x.X11[327]: argv[4] = -auth
>>> Mar 1 00:43:51 n219073058253 [0x0-0x22022].org.x.X11[327]: argv[5] = /Users/Michael/.serverauth.335
>>> Mar 1 00:43:51 n219073058253 org.x.startx[335]: Xquartz: Handoff connection established (try 1 of 5) on fd 6, "/var/tmp/tmp.0.9OYerf". Sending message.
>>> Mar 1 00:43:51 n219073058253 org.x.startx[335]: Xquartz: Message sent. Closing handoff fd.
>>> Mar 1 00:43:51 n219073058253 [0x0-0x22022].org.x.X11[327]: Xquartz starting:
>>> Mar 1 00:43:51 n219073058253 [0x0-0x22022].org.x.X11[327]: X.Org X Server 1.4.2-apple45
>>> Mar 1 00:43:51
n219073058253 [0x0-0x22022].org.x.X11[327]: Build Date: 20090705
>>> Mar 1 00:43:51 n219073058253 [0x0-0x22022].org.x.X11[327]: (EE) XKB: Couldn't open rules file /usr/X11/share/X11/xkb/rules/base
>>> Mar 1 00:43:54: --- last message repeated 1 time ---
>>> Mar 1 00:43:54 n219073058253 [0x0-0x22022].org.x.X11[327]: X11.app Handing off fd to server thread via DarwinListenOnOpenFD(6)
>>> Mar 1 00:43:54 n219073058253 [0x0-0x22022].org.x.X11[327]: DarwinListenOnOpenFD: 6
>>> Mar 1 00:43:54 n219073058253 [0x0-0x22022].org.x.X11[327]: Calling ListenOnOpenFD() for new fd: 6
>>> Mar 1 00:43:54 n219073058253 [0x0-0x22022].org.x.X11[327]: X11.app: Launching /usr/X11/bin/xterm:
>>> Mar 1 00:43:54 n219073058253 [0x0-0x22022].org.x.X11[327]: argv[0] = /bin/sh
>>> Mar 1 00:43:54 n219073058253
[0x0-0x22022].org.x.X11[327]: argv[1] = -c
>>> Mar 1 00:43:54 n219073058253 [0x0-0x22022].org.x.X11[327]: argv[2] = /usr/X11/bin/xterm
>>> ========== I quit the X11:
>>> ==========
>>> Mar 1 00:45:45 n219073058253 [0x0-0x22022].org.x.X11[327]: Quitting Xquartz...
>>> Mar 1 00:45:45 n219073058253 org.x.startx[335]: /usr/X11/bin/xinit: connection to X server lost.
>>> Mar 1 00:45:45 n219073058253 org.x.startx[335]: waiting for X server to shut down
>>> ========== AFTER quitting X11, I can see something related X11 is stilling running:
>>> ==========
>>> Mar 1 00:46:06 n219073058253 org.x.startx[335]: xauth: timeout in locking authority file /Users/Michael/.Xauthority
>>> ========== So what actually causes this problem?
>>> Thanks in advance!
>>>