Missing XInputExtension when using XForwarding over SSH

I recently had some issues whilst trying to tunnel an Xsession over to another machine (basically as I was too lazy to walk downstairs to my Mythtv box to use xxdiff to analyse 2 config files).

Using this command
ssh -X mythtv

resulted in many error messages once i ran any app that would have launched a Xdisplay:

mythtv ~ # xxdiff httpd.conf httpd.conf.old
X Error: BadDrawable (invalid Pixmap or Window parameter) 9
Major opcode: 55
Minor opcode: 0
Resource id: 0x1a6
X Error: BadWindow (invalid Window parameter) 3
Major opcode: 2
Minor opcode: 0
Resource id: 0x1a6
Xlib: extension "XInputExtension" missing on display "localhost:10.0".
Failed to get list of devices
X Error: BadWindow (invalid Window parameter) 3
Major opcode: 2
Minor opcode: 0
Resource id: 0x1a6
X Error: BadWindow (invalid Window parameter) 3
Major opcode: 2
Minor opcode: 0
Resource id: 0x1a6
X Error of failed request: BadGC (invalid GC parameter)
Major opcode of failed request: 60 (X_FreeGC)
Resource id in failed request: 0x3200000
Serial number of failed request: 131
Current serial number in output stream: 133

Apparently the current version of SSH limits the X Window extensions that can be used. XInputExtension is one of these. If instead you use “-Y” it will accept ALL these X Window extensions and it works

ssh -Y mythtv

Great!

Laziness promotes education.

November 28, 2007. trivial shennanigans. Tags: . 6 Comments.

6 Comments

  1. Pandammonium replied:

    Gotta love laziness!

    I didn’t get blown up by two IRA bombs due to sheer laziness.

    November 28th, 2007 at 5:52 pm. Permalink.

  2. Ferg replied:

    Laziness is efficiency of effort!

    November 29th, 2007 at 12:23 pm. Permalink.

  3. Pandammonium replied:

    They’ve invented an active laziness, or proactive laziness, or something like that, where you expend a bit of effort now, and it saves you a load of effort later. An example is paying your bills by direct debit: there’s the initial hassle of setting them up, but then you don’t have to do anything else after that.

    December 3rd, 2007 at 2:27 am. Permalink.

  4. JRD replied:

    Thanks a lot for the tip ! I didn’t understood the error !

    March 9th, 2008 at 6:25 pm. Permalink.

  5. Ferg replied:

    NP glad it was of use.Nice site by the way. I’ve been trying to get into manga for a while now. I’m a big comics fan, but I’m finding Manga hard. I’ve so far read two Bleach issues, and onto issue no 2 of Othello. I’ll keep persevering.

    March 9th, 2008 at 6:38 pm. Permalink.

  6. asd replied:

    saved my day, thanks!

    September 9th, 2008 at 9:36 pm. Permalink.

Bad Behavior has blocked 151 access attempts in the last 7 days.