[27027] in Athena Bugs
Re: weird new athena ssh problem running rm6
daemon@ATHENA.MIT.EDU (Jonathon Weiss)
Mon Jan 8 15:10:13 2007
Message-Id: <200701082009.l08K9jJ0006166@speaker-for-the-dead.mit.edu>
From: Jonathon Weiss <jweiss@mit.edu>
To: Jonathon Weiss <jweiss@mit.edu>
In-reply-to: Your message of "Mon, 08 Jan 2007 14:01:43 EST."
<200701081901.l08J1hfr005988@speaker-for-the-dead.mit.edu>
Date: Mon, 08 Jan 2007 15:09:45 -0500
X-Spam-Flag: NO
X-Spam-Score: 0.00
Cc: bugs@mit.edu, ops@mit.edu
Errors-To: bugs-bounces@mit.edu
>
> I've run into an X app that will not run using the new gssapi-with-mic
> ssh client (from a server using the an older athena sshd).
>
> The application is the 'rm6' program used to configure Sun StorEdge
> A1000 disk arrays.
>
> I've tested this using the new ssh client on bot sun and linux, and
> against Athena 9.2 and 9.3 servers (though I'm not sure I managed
> every possible combination).
>
> Strangely, running other X programs (xcalc was my test case) seems to
> work without a problem. Less surprisingly, using the older 9.4 or
> the 9.3 (becasue it's more convenient) ssh client, is a sufficient
> work-around for the problem.
>
> The specific error is:
>
> alcyone.mit.edu# rm6
> alcyone.mit.edu# X Error of failed request: BadWindow (invalid Window parameter)
> Major opcode of failed request: 3 (X_GetWindowAttributes)
> Resource id in failed request: 0x280003
> Serial number of failed request: 13
> Current serial number in output stream: 14
Tom Yu pointed me at the '-Y' option to the ssh client which seems to
also solve the problem. From the man page:
-Y Enables trusted X11 forwarding. Trusted X11 forward-
ings are not subjected to the X11 SECURITY extension
controls.
which is a little scary, but this is presumably something that we were
allowing wihtout any thoguht at all in the past, so I'm not really
sure I care.
Jonathon