Unix & Linux Stack Exchange is a question and answer site for users of Linux, FreeBSD and other Un*x-like operating systems. Join them; it only takes a minute:

Sign up
Here's how it works:
  1. Anybody can ask a question
  2. Anybody can answer
  3. The best answers are voted up and rise to the top

After ssh'ing to a machine (with -X) I run qemu and get the following:

X Error of failed request:  BadWindow (invalid Window parameter)
  Major opcode of failed request:  25 (X_SendEvent)
  Resource id in failed request:  0x37d
  Serial number of failed request:  14
  Current serial number in output stream:  17

But I can run xclock or gedit without a problem. (So other programs work fine through X11 forwarding.)

How do I get QEMU to run without this error?

share|improve this question

I found the answer here: http://www.pantz.org/software/ssh/badwindowerrorwithqemu.html.

Use the -Y option with ssh instead of -X, to enable trusted X11 forwarding.

share|improve this answer

Your Answer


By posting your answer, you agree to the privacy policy and terms of service.

Not the answer you're looking for? Browse other questions tagged or ask your own question.