Re: x11 2.1.4 does not launch after update
Re: x11 2.1.4 does not launch after update
- Subject: Re: x11 2.1.4 does not launch after update
- From: Tim Cox <email@hidden>
- Date: Tue, 26 Feb 2008 13:16:26 +0100
- Keywords: CERN SpamKiller Note: -50 Charset: west-latin
I've been exploring how X11 is working for me (or semi-working,
perhaps may be the way to put it) in more detail. Although X11 seems
to work fine locally on my iMac, it seems to get disrupted by using
ssh to a remote linux box.
Here's what I have learnt:
- I first ensured my .bashrc had no possible 'strange' commands left
inside it. (I also note that I am using identical .bashrc files on my
iMac and the remote linux box and it works perfectly happily for X11
on the linux side.)
- I try xclock and xterm from my iMac locally, launched from terminal.
X11 is auto-launched and the appropriate windows pop. I then quit X11.
- I try 'ssh -X remote.linux.box' from my iMac.
This automatically launches X11 OK. However, issuing any X11 commands
gives nothing. The commands apparently run but no X window appears.
- I log off the remote machine so I am back in Terminal on my local
iMac.
I try xclock and xterm again. Nothing happens. The commands apparently
run but no windows appear. DISPLAY appears to be set to the usual sort
of thing and just as it was before I attempted ssh.
- I try to quit X11. It quits but then relaunches within a few seconds.
I quit it again. This time it stays quit.
- I try xclock again from terminal. X11 auto-launches and the xclock
window appears.
- I repeat 'ssh -X remote.linux.box' but without first quitting X11.
This time X11 apps launched on the remote box DO pop windows back to
my iMac.
- I log off and test things still work locally. They do.
- I quit X11. It quits without any relaunching.
- I try 'ssh -Y remote.linux.box'.
X11 auto-launches BUT now I find X11 app windows DO pop on my iMac.
- I repeat all the above several times until I am as convinced as I
can be that they are reproducible.
Summary:
1) If I first launch X11 on my iMac and then use 'ssh -X remote' then
windows pop OK back to my iMac.
2) If I am NOT running X11 already, and use 'ssh -X remote' then X11
auto-launches but windows fail to pop, and this failure-to-pop remains
in effect even after logging off the remote machine. When I quit X11
it launches itself again.
3) If I am NOT running X11 already, and use 'ssh -Y remote' then X11
auto-launches and windows pop OK.
Does this make sense to anyone?!
Regards, Tim
On Feb 25, 2008, at 18:53 , Tim Cox wrote:
OK, so it turns out I'm not a good candidate to test your fix. I
started changing org.x.X11.plist and then realized I should first
test whether my broken .bashrc still breaks X11. So I put back the
'set noclobber' in bashrc and found that X11 was still happy to
launch from new Terminal windows.
Even after a reboot. My .bashrc is definitely reverted to what I was
certain was a bad version, and org.x.X11.plist is the standard,
unmodified version, and now X11 launches just as it should.
And just as definitely, removing 'set noclobber' in 2.1.2 and 2.1.3
fixed this failure-to-laucnh thing.
Argh!
Tim
On Feb 25, 2008, at 17:51 , Jeremy Huddleston wrote:
True. I was just hoping you'd confirm this solves the problem with
broken startup scripts. It should, but I haven't tested it yet.
--Jeremy
On Feb 25, 2008, at 08:49, Tim Cox wrote:
Thanks! But I'm happy enough just to remove an unwanted (and
clearly inappropriate anyway) line from my .bashrc.
Regards, Tim
On Feb 25, 2008, at 17:40 , Jeremy Huddleston wrote:
Tim, if you edit /System/Library/LaunchAgents/org.x.X11.plist to
have:
<key>ProgramArguments</key>
<array>
<string>/bin/bash</string>
<string>--login</string>
<string>-c</string>
<string>/usr/X11/bin/startx</string>
</array>
instead of the block that is there, it should work (you may need
to reboot) for you with that startup script.
On Feb 25, 2008, at 03:13, Tim Cox wrote:
I had exactly the same situation you show in your system log and
traced it back to having 'set noclobber' in my .bashrc (which I
have soft-linked to .bash_profile in a probably futile attempt
to minimize the number of distinct startup scripts.) This only
started being a problem with the more recent Xquartz releases (I
think it started with 2.1.3). I am fairly sure that any such
'incompatible' startup-script commands will lead to the pattern
of behaviour you see. Once I removed the 'set noclobber'
everything works fine.
Regards, Tim
On Feb 24, 2008, at 21:09 , Adrian wrote:
Hello,
I recently obtained X11 2.1.4 from a Mac OS X software update.
With this upgrade, I can no longer launch X11. When I try to
launch the console by opening X11.app, the app flashes briefly
on the dock then disappears. The full output from the console
is below. I have tried repairing permissions and reinstalling
2.1.4, but the problem persists.
Some details that may have some bearing on this problem:
1. In the past, I did not run X11 from the standard location
with no problems. When I updated from OS 10.4 to 10.5, all my
applications were migrated over, so I continued to run X11 from
the nonstandard location with no problems.
2. I have used the xterminator application to change some of
the behavior of X11 in the past. However, this application
seems to be incompatible with the latest version of X11 and/or
OS X. When I try to apply changes using the application, X11
does its usual dock pop and disappear, then the system
preferences open.
Any help restoring the functionality of my X11 terminal would
be greatly appreciated. I'm sorry I'm not more knowledgeable
and so can't provide better information. If there is anything
that could help to diagnose this problem, just let me know.
Thanks very much,
Adrian
2/24/08 9:59:22 AM [0x0-0x16016].org.x.X11[139] Last login: Sun
Feb 24 09:56:43 on console
2/24/08 10:01:38 AM [0x0-0x1a01a].org.x.X11[229] X11.app:
main(): argc=2
2/24/08 10:01:38 AM [0x0-0x1a01a].org.x.X11[229] argv[0] = /
Applications/Utilities/X11.app/Contents/MacOS/X11
2/24/08 10:01:38 AM [0x0-0x1a01a].org.x.X11[229] argv[1] = -
psn_0_106522
2/24/08 10:01:38 AM defaults[242]
The domain/default pair of (org.x.X11, no_auth) does not exist
2/24/08 10:01:38 AM org.x.X11[230] 2008-02-24 10:01:38.400
defaults[242:10b]
2/24/08 10:01:38 AM org.x.X11[230] The domain/default pair of
(org.x.X11, no_auth) does not exist
2/24/08 10:01:38 AM defaults[243]
The domain/default pair of (org.x.X11, no_auth) does not exist
2/24/08 10:01:38 AM org.x.X11[230] 2008-02-24 10:01:38.411
defaults[243:10b]
2/24/08 10:01:38 AM org.x.X11[230] The domain/default pair of
(org.x.X11, no_auth) does not exist
2/24/08 10:01:38 AM defaults[244]
The domain/default pair of (org.x.X11, nolisten_tcp) does not
exist
2/24/08 10:01:38 AM org.x.X11[230] 2008-02-24 10:01:38.422
defaults[244:10b]
2/24/08 10:01:38 AM org.x.X11[230] The domain/default pair of
(org.x.X11, nolisten_tcp) does not exist
2/24/08 10:01:38 AM org.x.X11[230] xauth: creating new
authority file /Users/adrian/.serverauth.230
2/24/08 10:01:38 AM org.x.X11[230] xinit: Detected Xquartz
startup, setting file=X, argv[0]=/Applications/Internet/
Terminal/X11.app/Contents/MacOS/X11
2/24/08 10:01:38 AM org.x.X11[230] XQuartz starting:
2/24/08 10:01:38 AM org.x.X11[230] X.org Release 7.2
2/24/08 10:01:38 AM org.x.X11[230] X.Org X Server 1.3.0-apple10
2/24/08 10:01:38 AM org.x.X11[230] Build Date: 20080213
2/24/08 10:01:38 AM org.x.X11[230] TransformProcessType: Success
2/24/08 10:01:38 AM org.x.X11[230] Xquartz: run by launchd for
fd 0
2/24/08 10:01:38 AM [0x0-0x1a01a].org.x.X11[229] X11.app:
Closing the display and sleeping for 2s to allow the X server
to start up.
2/24/08 10:01:38 AM [0x0-0x1a01a].org.x.X11[229] X11.app:
Launching /usr/X11/bin/xterm:
2/24/08 10:01:38 AM [0x0-0x1a01a].org.x.X11[229] argv[0] = /
usr/bin/login
2/24/08 10:01:38 AM [0x0-0x1a01a].org.x.X11[229] argv[1] = -fp
2/24/08 10:01:38 AM [0x0-0x1a01a].org.x.X11[229] argv[2] =
adrian
2/24/08 10:01:38 AM [0x0-0x1a01a].org.x.X11[229] argv[3] = /
bin/sh
2/24/08 10:01:38 AM [0x0-0x1a01a].org.x.X11[229] argv[4] = -c
2/24/08 10:01:38 AM [0x0-0x1a01a].org.x.X11[229] argv[5] = /
usr/X11/bin/xterm
2/24/08 10:01:38 AM org.x.X11[230] waiting for X server to shut
down .
2/24/08 10:01:38 AM org.x.X11[230] Quitting XQuartz...
2/24/08 10:01:39 AM com.apple.launchd[79] (org.x.X11)
Throttling respawn: Will start in 9 seconds
2/24/08 10:01:48 AM defaults[280]
The domain/default pair of (org.x.X11, no_auth) does not exist
2/24/08 10:01:48 AM org.x.X11[268] 2008-02-24 10:01:48.814
defaults[280:10b]
2/24/08 10:01:48 AM org.x.X11[268] The domain/default pair of
(org.x.X11, no_auth) does not exist
2/24/08 10:01:48 AM defaults[281]
The domain/default pair of (org.x.X11, no_auth) does not exist
2/24/08 10:01:48 AM org.x.X11[268] 2008-02-24 10:01:48.839
defaults[281:10b]
2/24/08 10:01:48 AM org.x.X11[268] The domain/default pair of
(org.x.X11, no_auth) does not exist
2/24/08 10:01:48 AM defaults[282]
The domain/default pair of (org.x.X11, nolisten_tcp) does not
exist
2/24/08 10:01:48 AM org.x.X11[268] 2008-02-24 10:01:48.851
defaults[282:10b]
2/24/08 10:01:48 AM org.x.X11[268] The domain/default pair of
(org.x.X11, nolisten_tcp) does not exist
2/24/08 10:01:48 AM org.x.X11[268] xauth: creating new
authority file /Users/adrian/.serverauth.268
2/24/08 10:01:48 AM org.x.X11[268] xinit: Detected Xquartz
startup, setting file=X, argv[0]=/Applications/Internet/
Terminal/X11.app/Contents/MacOS/X11
2/24/08 10:01:48 AM org.x.X11[268] XQuartz starting:
2/24/08 10:01:48 AM org.x.X11[268] X.org Release 7.2
2/24/08 10:01:48 AM org.x.X11[268] X.Org X Server 1.3.0-apple10
2/24/08 10:01:48 AM org.x.X11[268] Build Date: 20080213
2/24/08 10:01:48 AM org.x.X11[268] TransformProcessType: Success
2/24/08 10:01:48 AM org.x.X11[268] Xquartz: run by launchd for
fd 0
2/24/08 10:01:49 AM org.x.X11[268] waiting for X server to shut
down
2/24/08 10:01:49 AM [0x0-0x1a01a].org.x.X11[229] X connection
to /tmp/launch-Lp8tLZ/:0 broken (explicit kill or server
shutdown).
_______________________________________________
Do not post admin requests to the list. They will be ignored.
X11-users mailing list (email@hidden)
This email sent to email@hidden
_______________________________________________
Do not post admin requests to the list. They will be ignored.
X11-users mailing list (email@hidden)
This email sent to email@hidden
_______________________________________________
Do not post admin requests to the list. They will be ignored.
X11-users mailing list (email@hidden)
This email sent to email@hidden
_______________________________________________
Do not post admin requests to the list. They will be ignored.
X11-users mailing list (email@hidden)
This email sent to email@hidden