BadAtom/BadWindow errors with ssh X11 forwarding

Although I'm not sure if the "problem" resides in the version of XFree86 or the OpenSSH client or server version, I sometimes receive the following errors when using standard (ssh -X) X11 forwarding with OpenSSH:

warning, error event received:
X Error of failed request:  BadAtom (invalid Atom parameter)
  Major opcode of failed request:  18 (X_ChangeProperty)
  Atom id in failed request:  0x1b3
  Serial number of failed request:  944
  Current serial number in output stream:  946

warning, error event received:
X Error of failed request:  BadWindow (invalid Window parameter)
  Major opcode of failed request:  25 (X_SendEvent)
  Resource id in failed request:  0x16000d5
  Serial number of failed request:  2055
  Current serial number in output stream:  2056

Using "trusted" X11 forwarding (ssh -Y) appears to fix the problem. The ForwardX11Trusted=yes directive may be specified in ~/.ssh/config as an alternative to specifying the -Y flag on the command line.

Back to brandonhutchinson.com.
Last modified: 03/29/2004