Hi

I'm trying to run a windows executable on ubuntu 12.04 with mono 2.10.8.1 and am getting an exception. I'll only post the top of the stacktrace so as not to add too much clutter:

X11 Error encountered:
Error: BadRequest (invalid request code or no such operation)
Request: 153 (19)
Resource ID: 0x52
Serial: 17
Hwnd: Hwnd, Mapped:False ClientWindow:0x52, WholeWindow:0x52, Zombie=False, Parent:[<null>]
Control: <handle 52 non-existant> at System.Environment.get_StackTrace()
at System.Windows.Forms.XplatUIX11.HandleError(IntPtr display, XErrorEvent ByRef error_event)
at OpenTK.Platform.X11.Glx.ChooseFBConfig(IntPtr , Int32 , System.Int32[] , Int32 ByRef )
at OpenTK.Platform.X11.X11GraphicsMode.SelectVisualUs ingFBConfig(ColorFormat color, Int32 depth, Int32 stencil, Int32 samples, ColorFormat accum, Int32 buffers, Boolean stereo)
at OpenTK.Platform.X11.X11GraphicsMode.SelectGraphics Mode(ColorFormat color, Int32 depth, Int32 stencil, Int32 samples, ColorFormat accum, Int32 buffers, Boolean stereo)


There's a bunch more to the stack I could post if necessary. The executable I attempt to run with mono is:
$ mono ArdupilotMegaPlanner10.exe

Any idea how to go about fixing this? I've tried looking for anything missing so far everthing I've installe has not helped.
Thanks...