Re: X11-2.1.2-rc3
Re: X11-2.1.2-rc3
- Subject: Re: X11-2.1.2-rc3
- From: Jeremy Huddleston <email@hidden>
- Date: Thu, 10 Jan 2008 00:34:35 -0800
That was really with the new xauth? There should be more messages.
Also, did you change startx to do the 'xauth -v remove ...' instead of
'xauth remove ...'?
I'll send you a new xauth with more debugging...
On Jan 10, 2008, at 00:08, John Koren wrote:
Jeremy,
here is the Console output using the new xauth you sent me.
1/10/08 12:00:04 AM org.x.X11[650] Quitting XQuartz...
1/10/08 12:00:04 AM org.x.X11[650] xinit: connection to X server
lost.
1/10/08 12:00:04 AM org.x.X11[650] meta mod is 4
1/10/08 12:00:04 AM org.x.X11[650] jklt:0
1/10/08 12:00:04 AM [0x0-0x37037].org.x.X11[649] Last login: Wed
Jan 9 23:47:33 on tty??
1/10/08 12:00:04 AM org.x.X11[650] Bus error
Looks like the display is for some reason :0.
-John
On Jan 9, 2008 11:29 PM, Jeremy Huddleston <email@hidden>
wrote:
John, please CC xquartz-dev so others can potentially help out...
This is an xauth issue. It looks like the 'xauth remove' at the end
of startx is crashing for some reason. If you look at the end of /
usr/
X11/bin/startx, you'll see this:
if [ x"$removelist" != x ]; then
xauth remove $removelist
fi
can you change it to:
if [ x"$removelist" != x ]; then
echo $removelist >&2
xauth -v remove $removelist
fi
and report the output to console when you quit X.
--Jeremy
On Jan 9, 2008, at 22:41, John Koren wrote:
> Here is the crashlog:
>
> Process: xauth [390]
> Path: /usr/X11/bin/xauth
> Identifier: xauth
> Version: ??? (???)
> Code Type: PPC (Native)
> Parent Process: bash [344]
>
> Date/Time: 2008-01-09 22:30:23.663 -0800
> OS Version: Mac OS X 10.5.1 (9B18)
> Report Version: 6
>
> Exception Type: EXC_BAD_ACCESS (SIGBUS)
> Exception Codes: KERN_PROTECTION_FAILURE at 0x0000000000000004
> Crashed Thread: 0
>
> Thread 0 Crashed:
> 0 xauth 0x00004664 remove_entry + 84
> 1 xauth 0x000044f0 iterdpy + 608
> 2 xauth 0x000067d8 main + 680
>
> Thread 0 crashed with PPC Thread State 32:
> srr0: 0x00004664 srr1: 0x0200f030 dar: 0x00000004 dsisr:
> 0x40000000
> r0: 0x00000004 r1: 0xbffff950 r2: 0x00004620 r3:
> 0x00007fc0
> r4: 0x00000001 r5: 0x003004c0 r6: 0xbffffaa8 r7:
> 0x00000030
> r8: 0x00000030 r9: 0x00000010 r10: 0x00037018 r11:
> 0x0000869c
> r12: 0x00004610 r13: 0xbffffb94 r14: 0x00000002 r15:
> 0x00000000
> r16: 0x00000001 r17: 0xbffffaa8 r18: 0x00000000 r19:
> 0x00300510
> r20: 0x003003b0 r21: 0x003004f0 r22: 0x003004e0 r23:
> 0xbffffaa8
> r24: 0x00000010 r25: 0x00000012 r26: 0x00000001 r27:
> 0x00060010
> r28: 0x00300380 r29: 0x00000000 r30: 0x00300360 r31:
> 0x00004620
> cr: 0x28042488 xer: 0x00000004 lr: 0x00004620 ctr:
> 0x00004610
> vrsave: 0x00000000
>
> Binary Images:
> 0x1000 - 0x7ff7 +xauth ??? (???) /usr/X11/bin/xauth
> 0xb000 - 0xcff2 +libXau.6.dylib ??? (???)
> <cf9bd2749f2bb6a7b3e2c9da27c46246> /usr/X11/lib/libXau.6.dylib
> 0x15000 - 0x23ffb +libXext.6.dylib ??? (???)
> <5cc1d4071731370b32af0e83540f0d2e> /usr/X11/lib/libXext.6.dylib
> 0x2a000 - 0x2bffe +libXmuu.1.dylib ??? (???)
> <b69d833cf769c9c373d6635845091492> /usr/X11/lib/libXmuu.1.dylib
> 0x2f000 - 0x32ff7 +libXdmcp.6.dylib ??? (???)
> <e48e787916efb7bfffa5718e11bb4bc0> /usr/X11/lib/libXdmcp.6.dylib
> 0x13b000 - 0x229fff +libX11.6.dylib ??? (???)
> <69532fbf1d581e37407717874985ceaf> /usr/X11/lib/libX11.6.dylib
> 0x8fe00000 - 0x8fe309d3 dyld 95.3 (???)
> <a7be977c203ec5c76b2f25a7aef66554> /usr/lib/dyld
> 0x93b7c000 - 0x93d15fe3 libSystem.B.dylib ??? (???)
> <8a6cd873dfa7ada786efac188f95ed1b> /usr/lib/libSystem.B.dylib
> 0x94ab0000 - 0x94abbffb libgcc_s.1.dylib ??? (???)
> <ea47fd375407f162c76d14d64ba246cd> /usr/lib/libgcc_s.1.dylib
> 0x96898000 - 0x9689dff6 libmathCommon.A.dylib ??? (???) /usr/lib/
> system/libmathCommon.A.dylib
> 0xffff8000 - 0xffff9703 libSystem.B.dylib ??? (???) /usr/lib/
> libSystem.B.dylib
>
>
> ---------- Forwarded message ----------
> From: John Koren < email@hidden>
> Date: Jan 9, 2008 10:22 PM
> Subject: Re: X11-2.1.2-rc3
> To: Jeremy Huddleston < email@hidden>
>
>
> 1) The bus error is still there.
> What I found is that when I quit X11.app two new files of 0 size are
> created in my home directory: .Xauthority-c, .Xauthority-l.
> Wen I delete those I can restart X11.
>
> 2) I will check the crash logs.
> 3) My startx gas already /usr/X11/bin in the PATH.
>
> -John
>
>
> On Jan 9, 2008 9:14 PM, Jeremy Huddleston <email@hidden >
> wrote:
> Are you still getting that bus error when you exit? Are you
getting a
> crash report? I'd really like to see a back-trace of that.
>
> I forget which version of org.x.X11.plist was in rc3. could you
copy-
> paste /System/Library/LaunchAgents/org.x.X11.plist for me here. I
> want to see if I can reproduce this.
>
> Also, you could try rc4 which is what I will probably ship pending
> solving your problem.
>
> If you don't want to dl the whole thing, it just changes:
> /usr/X11/bin/startx:
> puts /usr/X11/bin in $PATH
> org.x.X11.plist:
> <?xml version="1.0" encoding="UTF-8"?>
> <!DOCTYPE plist PUBLIC "-//Apple Computer//DTD PLIST 1.0//EN" " http://www.apple.com/DTDs/PropertyList-1.0.dtd
> ">
> <plist version="1.0">
> <dict>
> <key>Label</key>
> <string>org.x.X11</string>
> <key>ProgramArguments</key>
> <array>
>
> <string>/bin/bash</string>
> <string>--login</string>
>
> <string>/usr/X11/bin/startx</string>
> </array>
> <key>Sockets</key>
> <dict>
> <key>:0</key>
> <dict>
> <key>SecureSocketWithKey</
key>
> <string>DISPLAY</
> string>
> </dict>
> </dict>
> <key>ServiceIPC</key>
> <true/>
> </dict>
> </plist>
>
> --Jeremy
>
>
> On Jan 9, 2008, at 21:06, John Koren wrote:
>
> > Not surprisingly, removing ~/.xinitrc did not solve the problem.
> > After reboot, X11 starts but then when I quit it it cannot be
> > restarted again.
> >
> > By the way, the way I installed X11 was:
> > 1) Delete all X11 stuff from /usr and /etc
> > 2) reinstall X11 from the Leopard distribution
> > 3) install X11-2.1.2-rc3
> >
> > -John
> >
> > On Jan 9, 2008 7:55 PM, Jeremy Huddleston < email@hidden>
> > wrote:
> > You should be able to just remove that as all that stuff is done
by
> > the system xinitrc and the xset is not necessary as it's already
in
> > the font path.
> >
> > But I don't see anything there which would lead to the bus
error...
> > can you try without using your ~/.xinitrc and let me know how it
> goes?
> >
> > On Jan 9, 2008, at 19:42, John Koren wrote:
> >
> > > I will look into the bus error that occurs when quitting X11.
> > > It is possible that the problem in locking of the . Xauthority
is
> > > related to not having the file in the proper state after
quitting.
> > > What is strange, however, that the only way to restart X11 is to
> > > reboot - logging out is not sufficient.
> > >
> > > Below is my .xinitrc file.
> > >
> > > -John
> > >
> > >
> > > #!/bin/sh
> > >
> > > userresources=$HOME/.Xresources
> > > usermodmap=$HOME/.Xmodmap
> > > sysresources=/etc/X11/xinit/.Xresources
> > > sysmodmap=/etc/X11/xinit/.Xmodmap
> > >
> > > # merge in defaults and keymaps
> > >
> > > if [ -f "$sysresources" ]; then
> > > xrdb -merge "$sysresources"
> > > fi
> > >
> > > if [ -f "$sysmodmap" ]; then
> > > xmodmap "$sysmodmap"
> > > fi
> > >
> > > if [ -f "$userresources" ]; then
> > > xrdb -merge "$userresources"
> > > fi
> > >
> > > if [ -f "$usermodmap" ]; then
> > > xmodmap "$usermodmap"
> > > fi
> > >
> > > xset fp+ /usr/X11R6/lib/X11/fonts/TTF
> > >
> > > #exec /usr/local/bin/autocutsel &
> > > #exec /opt/local/bin/rxvt -tcw &
> > >
> > > exec quartz-wm
> > >
> > > On Jan 9, 2008 7:04 PM, Jeremy Huddleston < email@hidden
>
> > > wrote:
> > > Yeah, from the log file, it has nothing to do with .xinitrc...
> it's
> > > all in the:
> > >
> > > xauth: error in locking authority file /Users/jk/.Xauthority
> > >
> > > I'm wondering about that Bus Error when you quit X11... can you
> > > investigate that? Also, can you provide me with your
~/.xinitrc?
> > >
> > >
> > > On Jan 9, 2008, at 13:10, John Koren wrote:
> > >
> > > > Jeremy,
> > > >
> > > > The problem is the error which seems to be related to
> > > authentication.
> > > >
> > > > First time after the reboot the X11 starts up correctly. After
> > > > quitting X11.app and restarting it the problem comes up.
Because
> > of
> > > > this error, any subsequent starts of X11.app do not
> read .xinitrc
> > > > and quartz-wm is not started.
> > > >
> > > > Console output below: What I did here is I started X11 using
> > > > X11.app, which started correctly. Then I quit X11.app and
> > restarted
> > > > it again. After the restart the error occurs.
> > > >
> > > > -John
> > > >
> > > > First start of X11.app:
> > > >
> > > > 1/8/08 11:13:08 PM [0x0-0x1a01a].org.x.X11[182] X11.app:
main():
> > > > argc=2
> > > > 1/8/08 11:13:08 PM [0x0-0x1a01a].org.x.X11[182] argv[0] = /
> > > > Applications/Utilities/X11.app/Contents/MacOS/X11
> > > > 1/8/08 11:13:08 PM [0x0-0x1a01a].org.x.X11[182] argv[1] = -
> > > > psn_0_106522
> > > > 1/8/08 11:13:09 PM org.x.X11[183] xauth: creating new
authority
> > > > file /Users/jk/.serverauth.183
> > > > 1/8/08 11:13:09 PM org.x.X11[183] xinit: Detected Xquartz
> startup,
> > > > setting file=X, argv[0]=/Applications/Utilities/X11.app/
> Contents/
> > > > MacOS/X11
> > > > 1/8/08 11:13:09 PM org.x.X11[183] XQuartz starting:
> > > > 1/8/08 11:13:09 PM org.x.X11 [183] X.org Release 7.2
> > > > 1/8/08 11:13:09 PM org.x.X11[183] X.Org X Server 1.3.0-apple6
> > > > 1/8/08 11:13:09 PM org.x.X11[183] Build Date: 20080106
> > > > 1/8/08 11:13:09 PM org.x.X11 [183] TransformProcessType:
Success
> > > > 1/8/08 11:13:09 PM org.x.X11[183] Xquartz: run by launchd for
> fd 0
> > > > 1/8/08 11:13:09 PM org.x.X11[183] _XSERVTransmkdir: ERROR:
> euid !=
> > > > 0,directory /tmp/.X11-unix will not be created.
> > > > 1/8/08 11:13:10 PM [0x0-0x1a01a].org.x.X11[182] X11.app:
Closing
> > the
> > > > display and sleeping for 2s to allow the X server to start up.
> > > > 1/8/08 11:13:10 PM [0x0-0x1a01a].org.x.X11[182] X11.app :
> > Launching /
> > > > opt/local/bin/rxvt -tcw:
> > > > 1/8/08 11:13:10 PM [0x0-0x1a01a].org.x.X11[182] argv[0] = /
usr/
> > bin/
> > > > login
> > > > 1/8/08 11:13:10 PM [0x0-0x1a01a].org.x.X11[182] argv[1] = -fp
> > > > 1/8/08 11:13:10 PM [0x0-0x1a01a].org.x.X11[182] argv[2] = jk
> > > > 1/8/08 11:13:10 PM [0x0-0x1a01a].org.x.X11[182] argv[3] = /
> bin/sh
> > > > 1/8/08 11:13:10 PM [0x0-0x1a01a].org.x.X11[182] argv[4] = -c
> > > > 1/8/08 11:13:10 PM [0x0-0x1a01a].org.x.X11[182] argv[5] = /
opt/
> > > > local/bin/rxvt -tcw
> > > >
> > > > Quit X11.app:
> > > >
> > > > 1/8/08 11:15:26 PM org.x.X11[183] Quitting XQuartz...
> > > > 1/8/08 11:15:26 PM [0x0-0x1a01a].org.x.X11[182] X connection
> to /
> > > tmp/
> > > > launch-Jz9Buh/:0 broken (explicit kill or server shutdown).
> > > > 1/8/08 11:15:26 PM org.x.X11[183] xinit: connection to X
server
> > > lost.
> > > > 1/8/08 11:15:26 PM org.x.X11 [183] meta mod is 4
> > > > 1/8/08 11:15:26 PM [0x0-0x1a01a].org.x.X11[182] Last login:
Tue
> > Jan
> > > > 8 23:12:46 on ttys000
> > > > 1/8/08 11:15:26 PM org.x.X11[183] Bus error
> > > >
> > > > Restart X11.app:
> > > >
> > > > 1/8/08 11:15:52 PM [0x0-0x1d01d].org.x.X11[236] X11.app:
main():
> > > > argc=2
> > > > 1/8/08 11:15:52 PM [0x0-0x1d01d].org.x.X11[236] argv[0] = /
> > > > Applications/Utilities/X11.app/Contents/MacOS/X11
> > > > 1/8/08 11:15:52 PM [0x0-0x1d01d].org.x.X11[236] argv[1] = -
> > > > psn_0_118813
> > > > 1/8/08 11:15:52 PM org.x.X11 [237] xauth: creating new
> authority
> > > > file /Users/jk/.serverauth.237
> > > > 1/8/08 11:15:52 PM org.x.X11[237] xauth: error in locking
> > authority
> > > > file /Users/jk/.Xauthority
> > > > 1/8/08 11:15:52 PM org.x.X11[237] xauth: error in locking
> > authority
> > > > file /Users/jk/.Xauthority
> > > > 1/8/08 11:15:52 PM org.x.X11[237] xauth: error in locking
> > authority
> > > > file /Users/jk/.Xauthority
> > > > 1/8/08 11:15:52 PM org.x.X11[237] xauth: error in locking
> > authority
> > > > file /Users/jk/.Xauthority
> > > > 1/8/08 11:15:52 PM org.x.X11[237] xinit: Detected Xquartz
> startup,
> > > > setting file=X, argv[0]=/Applications/Utilities/X11.app/
> Contents/
> > > > MacOS/X11
> > > > 1/8/08 11:15:52 PM org.x.X11[237] XQuartz starting:
> > > > 1/8/08 11:15:52 PM org.x.X11[237] X.org Release 7.2
> > > > 1/8/08 11:15:52 PM org.x.X11[237] X.Org X Server 1.3.0-apple6
> > > > 1/8/08 11:15:52 PM org.x.X11[237] Build Date: 20080106
> > > > 1/8/08 11:15:52 PM org.x.X11[237] Xquartz: run by launchd for
> fd 0
> > > > 1/8/08 11:15:53 PM org.x.X11[237] TransformProcessType:
Success
> > > > 1/8/08 11:15:53 PM org.x.X11[237] AUDIT: Tue Jan 8 23:15:53
> 2008:
> > > > 265 X11: client 2 rejected from local host (uid 597)
> > > > 1/8/08 11:15:53 PM org.x.X11[237] Auth name: MIT-MAGIC-
> COOKIE-1
> > > > ID: -1
> > > > 1/8/08 11:15:53 PM org.x.X11[237] Xlib: connection to ":0.0 "
> > > refused
> > > > by server
> > > > 1/8/08 11:15:53 PM org.x.X11[237] Xlib: Invalid MIT-MAGIC-
> COOKIE-1
> > > key
> > > > 1/8/08 11:15:53 PM org.x.X11[237] waiting for X server to
begin
> > > > accepting connections
> > > > 1/8/08 11:15:53 PM [0x0-0x1d01d].org.x.X11[236] X11.app:
Closing
> > the
> > > > display and sleeping for 2s to allow the X server to start up.
> > > > 1/8/08 11:15:53 PM [0x0-0x1d01d].org.x.X11[236] X11.app:
> > Launching /
> > > > opt/local/bin/rxvt -tcw:
> > > > 1/8/08 11:15:53 PM [0x0-0x1d01d].org.x.X11[236] argv[0] = /
usr/
> > bin/
> > > > login
> > > > 1/8/08 11:15:53 PM [0x0-0x1d01d].org.x.X11[236] argv[1] = -fp
> > > > 1/8/08 11:15:53 PM [0x0-0x1d01d].org.x.X11[236] argv[2] = jk
> > > > 1/8/08 11:15:53 PM [0x0-0x1d01d].org.x.X11[236] argv[3] = /
> bin/sh
> > > > 1/8/08 11:15:53 PM [0x0-0x1d01d].org.x.X11[236] argv[4] = -c
> > > > 1/8/08 11:15:53 PM [0x0-0x1d01d].org.x.X11[236] argv[5] = /
opt/
> > > > local/bin/rxvt -tcw
> > > > 1/8/08 11:15:53 PM org.x.X11 [237] .
> > > > 1/8/08 11:15:54 PM org.x.X11[237] AUDIT: Tue Jan 8 23:15:54
> 2008:
> > > > 265 X11: client 2 rejected from local host (uid 597)
> > > > 1/8/08 11:15:54 PM org.x.X11[237] Auth name: MIT-MAGIC-
> COOKIE-1
> > > > ID: -1
> > > > 1/8/08 11:15:54 PM org.x.X11[237] Xlib: connection to ":0.0"
> > refused
> > > > by server
> > > > 1/8/08 11:15:54 PM org.x.X11[237] Xlib: Invalid MIT-MAGIC-
> COOKIE-1
> > > key
> > > > 1/8/08 11:15:54 PM org.x.X11 [237] .
> > > > 1/8/08 11:15:55 PM org.x.X11[237] .
> > > > 1/8/08 11:15:56 PM org.x.X11[237] AUDIT: Tue Jan 8 23:15:56
> 2008:
> > > > 265 X11: client 2 rejected from local host (uid 597)
> > > > 1/8/08 11:15:56 PM org.x.X11 [237] Auth name: MIT-MAGIC-
> COOKIE-1
> > > > ID: -1
> > > > 1/8/08 11:15:56 PM org.x.X11[237] Xlib: connection to ":0.0"
> > refused
> > > > by server
> > > > 1/8/08 11:15:56 PM org.x.X11[237] Xlib: Invalid MIT-MAGIC-
> COOKIE-1
> > > key
> > > > 1/8/08 11:15:56 PM org.x.X11[237] .
> > > > 1/8/08 11:15:57 PM org.x.X11[237] .
> > > > 1/8/08 11:15:58 PM org.x.X11[237] AUDIT: Tue Jan 8 23:15:58
> 2008:
> > > > 265 X11: client 2 rejected from local host (uid 597)
> > > > 1/8/08 11:15:58 PM org.x.X11[237] Auth name: MIT-MAGIC-
> COOKIE-1
> > > > ID: -1
> > > > 1/8/08 11:15:58 PM org.x.X11[237] Xlib: connection to ": 0.0"
> > refused
> > > > by server
> > > > 1/8/08 11:15:58 PM org.x.X11 [237] Xlib: Invalid MIT-MAGIC-
> > COOKIE-1
> > > > key
> > > > 1/8/08 11:15:58 PM org.x.X11[237] .
> > > > 1/8/08 11:15:59 PM org.x.X11 [237] .
> > > >
> > > > On Jan 8, 2008 10:00 PM, Jeremy Huddleston <
> > email@hidden >
> > > > wrote:
> > > > Odd. I just created one here, and it is run instead of the /
> usr/
> > > X11/
> > > > lib/X11/xinit/xinitrc :
> > > >
> > > > ~ $ ps x | grep [Xx]
> > > > 1577 ?? S 0:00.04 /bin/sh /usr/X11/bin/startx
> > > > 1594 ?? S 0: 00.02 xinit /Users/jeremy/.xinitrc -- :
0 -
> > > auth /
> > > > Users/jeremy/.serverauth.1577
> > > >
> > > > ^^^^ see? ^^^^
> > > >
> > > > 1595 ?? S 0:02.51 /Applications/Utilities/X11.app/
> > Contents/
> > > > MacOS/X11 :0 -auth /Users/jeremy/.serverauth.1577
> > > > 1597 ?? S 0: 00.15 xterm
> > > > 1631 s001 R+ 0:00.01 ps x
> > > >
> > > > What is the output of 'ps x | grep [Xx]' for you?
> > > >
> > > > Would you mind putting in some debug echo statements into /
usr/
> > X11/
> > > > bin/
> > > > startx and checking Console.app to find out what's going on?
> > > >
> > > > --Jeremy
> > > >
> > > > On Jan 8, 2008, at 21:42, John Koren wrote:
> > > >
> > > > > Jeremy,
> > > > >
> > > > > it appears that ~/.xinitrc is not executed with the new
setup.
> > > > >
> > > > > -John
> > > >
> > > >
> > > >
> > >
> > >
> >
> >
>
>
>
Attachment:
smime.p7s
Description: S/MIME cryptographic signature
_______________________________________________
Do not post admin requests to the list. They will be ignored.
X11-users mailing list (email@hidden)
This email sent to email@hidden