Linux – Monodevelop doesn’t run the project. When I try to run nothing happens

debuggingfedoralinuxmono

I've been trying to get Monodevelop up and running for almost a week now, first on my redhat and now on my fedora.

The debugger doesn't work, when trying to debug I get this error:
enter image description here

I tried re-installing Monodevelop, but it's the same.
I've looked at google, and the only thing I could find, was from three years ago, and it said it was a bug.

Here is the program I tried to run:

using System;

namespace ArteriumTarreDal
{
    class MainClass
    {
        public static void Main (string[] args)
        {
            Console.WriteLine ("Hello World!");
        }
    }
}

EDIT:

I'm running Fedora 20 x86_64 and just installed Monodevelop 4.0 through this instruction and repository: stackoverflow

For installation instructions with apt-get or yum, see: http://software.opensuse.org/download/package?project=home:tpokorra:mono&package=monodevelop-opt

Same problem with Monodevelop 4.0:
enter image description here

Anyone got any clue what this is error is. And how to fix it?

EDIT: I got it working on Fedora 20 x86_64 KDE, but I still can't find how to fix it on Gnome.

EDIT:
I just got this exact same issue on Debian 7 "KDE" in Monodevelop 5.4.

Best Answer

This is due to a recent gnome-terminal change. Recent gnome-terminal no longer accepts the --disable-factory argument.

Install the xterm package, then in a gnome-terminal session do the following:

$ unset GNOME_DESKTOP_SESSION_ID 
$ monodevelop

This will cause monodevelop to use xterm as its external terminal and all should be well.

Related Question