How to run mission planner on debian

I had a lot of trouble getting mission planner to run correctly on my linux 64bit debian sid system.

After lots of fiddling and tweaking I found installing ONLY mono-runtime and libmono-winforms2.0-cil makes mission planner run fine. 

So for those of you wanting to run mission planner on debian (usually valid for ubuntu too):

  apt-get install mono-runtime libmono-winforms2.0-cil

will probably do the trick.


After that you should assiociate it with mono to start from the file manager or just run

mono ArdupilotMegaPlanner10.exe

from the commandline.

You need to be a member of diydrones to add comments!

Join diydrones

Email me when people reply –


  • Hi

    In whith serial port can I connect it??


  • Unfortunately version  1.2.12 of the mission planner does not work anymore on mono due to a mono bug. Version 1.2.14 does show an error message:


    And after this a black screen is show. If you click on the navigation tab the naivgation screen is show, and if you click on Flight data tab again the flight data screen is shon, but is no responding.

    So unfortunately, no luck yet...

  • Unfortunately it fails on my computer:

    INFO Program - ******************* Logging Configured *******************
    INFO ArdupilotMega.MainV2 - Mainv2 ctor
    INFO ArdupilotMega.MainV2 - myview width 1008 height 461
    INFO ArdupilotMega.MainV2 - this   width 1193 height 617
    INFO ArdupilotMega.Utilities.Speech - TTS: init, mono = True
    INFO ArdupilotMega.Controls.HUD - Vendor: ATI Technologies Inc.
    INFO ArdupilotMega.Controls.HUD - Version: 3.3.11566 Compatibility Profile Context
    INFO ArdupilotMega.Controls.HUD - Device: ATI Mobility Radeon HD 3400 Series
    HUD resize 292 219
    HUD 1 hz drawtime 319 gl True
    HUD resize 292 219
    HUD resize 292 219
    HUD resize 292 219
    FATAL ArdupilotMega.MainV2 - System.NullReferenceException: Object reference not set to an instance of an object
      at System.Windows.Forms.Control+ControlCollection.Add (System.Windows.Forms.Control value) [0x00000] in <filename unknown>:0
      at Crom.Controls.Docking.FormsDecoratorControlCollection..ctor (System.Windows.Forms.Control owner) [0x00000] in <filename unknown>:0
      at Crom.Controls.Docking.FormsDecorator.get_InternalControls () [0x00000] in <filename unknown>:0
      at Crom.Controls.Docking.FormsDecorator.CreateControlsInstance () [0x00000] in <filename unknown>:0
      at System.Windows.Forms.Control..ctor () [0x00000] in <filename unknown>:0
      at Crom.Controls.Docking.FormsDecorator..ctor () [0x00000] in <filename unknown>:0
      at (wrapper remoting-invoke-with-check) Crom.Controls.Docking.FormsDecorator:.ctor ()
      at Crom.Controls.Docking.FormsTabbedViewControlCollection..ctor (System.Windows.Forms.Control owner) [0x00000] in <filename unknown>:0
      at Crom.Controls.Docking.FormsTabbedView.get_InternalControls () [0x00000] in <filename unknown>:0
      at Crom.Controls.Docking.FormsTabbedView.CreateControlsInstance () [0x00000] in <filename unknown>:0
      at System.Windows.Forms.Control..ctor () [0x00000] in <filename unknown>:0
      at System.Windows.Forms.ScrollableControl..ctor () [0x00000] in <filename unknown>:0
      at System.Windows.Forms.ContainerControl..ctor () [0x00000] in <filename unknown>:0
      at System.Windows.Forms.UserControl..ctor () [0x00000] in <filename unknown>:0
      at Crom.Controls.TabbedDocument.ButtonsPanel..ctor () [0x00000] in <filename unknown>:0
      at Crom.Controls.Docking.FormsTabbedView..ctor () [0x00000] in <filename unknown>:0
      at (wrapper remoting-invoke-with-check) Crom.Controls.Docking.FormsTabbedView:.ctor ()
      at Crom.Controls.Docking.FormsDocker.CreateFormsTabbedView (Size size, Crom.Controls.Docking.ControlPositioner positioner) [0x00000] in <filename unknown>:0
      at Crom.Controls.Docking.FormsDocker.Add (System.Windows.Forms.Form form, zAllowedDock allowedDock, Guid formIdentifier) [0x00000] in <filename unknown>:0
      at Crom.Controls.Docking.DockContainer.Add (System.Windows.Forms.Form form, zAllowedDock allowedDock, Guid formIdentifier) [0x00000] in <filename unknown>:0
      at (wrapper remoting-invoke-with-check) Crom.Controls.Docking.DockContainer:Add (System.Windows.Forms.Form,Crom.Controls.Docking.zAllowedDock,System.Guid)
      at ArdupilotMega.GCSViews.FlightData.CreateFormAndGuid (Crom.Controls.Docking.DockContainer dock, System.Windows.Forms.Control ctl, System.String configguidref) [0x00000] in <filename unknown>:0
      at ArdupilotMega.GCSViews.FlightData.SetupDocking () [0x00000] in <filename unknown>:0
      at ArdupilotMega.GCSViews.FlightData..ctor () [0x00000] in <filename unknown>:0
      at (wrapper remoting-invoke-with-check) ArdupilotMega.GCSViews.FlightData:.ctor ()
      at ArdupilotMega.MainV2..ctor () [0x00000] in <filename unknown>:0

This reply was deleted.


Laurie J. Troy liked Jasper Kueppers's profile
Apr 1
Timothy Miller liked Joseph Udofia's profile
Mar 18
Joseph Udofia liked Joseph Udofia's profile
Mar 3