Hi Andy,
I don't think that's the problem here because it isn't time dependent, is it? Gerfried said that forwarding works initially. I assume that he's talking about the same application although he doesn't say so explicitly. I suppose the initial app could have been trusted and the later one not.
If anyone is interested in reading the specification of the
X11 Security Extension, I've provided a link to the PDF. It's actually readable and makes sense except that I wouldn't have the foggiest idea how to specify an app as trusted for me. Thank heaven you don't have to deal with that with secure shell. Using "ssh -Y" instead of "ssh -X" causes secure shell to mark all apps as trusted.
Hi Gerfried,
You've probably got the "new and improved" X11. I waited more than a half hour and then again an hour after logging in and forwarding continued to work. I've set my ServerAliveInterval, which you said didn't help and I've set my AddressFamily to inet, which cuts out consideration of IPv6 addresses. The use of IPv6 addresses has caused some weird problems in the past but I don't remember anything being time dependent.
Those are the only two options I have set so I'm betting that the "new and improved" X11 is the problem. My version is 1.1.2; I stopped upgrading when I heard about all of the bugs. X11 is easy to remove. Delete the app in /Applications/Utilities/X11.app, all of the package receipts in /Library/Receipts that begin with "X11" and the directories /private/etc/X11 and /usr/X11R6. Then reinstall from the system restore DVD. I've got the X11Update2006 update so you should be OK in this regard to install that update.
If that doesn't fix the problem then I would have to guess that something is weird about the remote UNIX machines. However, the error message suggests that the problem is on your Mac so I think that reverting to an older version of X11 will work.
--
Gary
~~~~
Under any conditions, anywhere, whatever you are doing,
there is some ordinance under which you can be booked.
-- Robert D. Sprecht, Rand Corp.