Bug 44182 - Cannot launch with external console
Summary: Cannot launch with external console
Status: RESOLVED FIXED
Alias: None
Product: Xamarin Studio
Classification: Desktop
Component: Linux Packaging ()
Version: 6.1.0 (C8)
Hardware: PC Linux
: --- normal
Target Milestone: master
Assignee: Jo Shields
URL:
: 45770 56083 56869 57076 58476 ()
Depends on:
Blocks:
 
Reported: 2016-09-12 11:15 UTC by Jo Shields
Modified: 2017-11-10 16:14 UTC (History)
11 users (show)

Tags:
Is this bug a regression?: ---
Last known good build:

Notice (2018-05-24): bugzilla.xamarin.com is now in read-only mode.

Please join us on Visual Studio Developer Community and in the Xamarin and Mono organizations on GitHub to continue tracking issues. Bugzilla will remain available for reference in read-only mode. We will continue to work on open Bugzilla bugs, copy them to the new locations as needed for follow-up, and add the new items under Related Links.

Our sincere thanks to everyone who has contributed on this bug tracker over the years. Thanks also for your understanding as we make these adjustments and improvements for the future.


Please create a new report on Developer Community or GitHub with your current version information, steps to reproduce, and relevant error messages or log files if you are hitting an issue that looks similar to this resolved bug and you do not yet see a matching new report.

Related Links:
Status:
RESOLVED FIXED

Description Jo Shields 2016-09-12 11:15:50 UTC
We need a way to run on an external console - ideally without building/bundling an old gnome-terminal.
Comment 1 Jo Shields 2016-09-28 16:41:58 UTC
FlatPak has a way to do this over dbus, but it means adding a dbus dependency to GnomePlatform
Comment 2 Jo Shields 2016-10-21 12:07:41 UTC
*** Bug 45770 has been marked as a duplicate of this bug. ***
Comment 3 oggdroid 2016-10-22 12:28:46 UTC
Getting back to https://bugzilla.xamarin.com/show_bug.cgi?id=45770 I confirm that Debugging doesn't start for C# console project as well.

I have reported one more bug attributed to dbus issues: https://bugzilla.xamarin.com/show_bug.cgi?id=45771

Are there any workarounds for it? Because of the dbus issues the FlatPak installation of MonoDevelop is unfortunately hardly usable.
Comment 4 Jo Shields 2016-11-29 09:08:42 UTC
There's a whole series of bugs related to breaking out of the sandbox - this one, 45771, and more.

I need a new version of DBus# to fix them all, and they're all blocked on one engineer who hasn't been able to assign any time to the issue yet.
Comment 5 tschneider 2016-12-12 02:31:48 UTC
I think its important that the application experience in the flatpak environment be identical to the environment in the host. One should not need to build special logic or functionality into an application to break outside the sandbox.

For example, consider a hypothetical application which needs to access ps, nslookup, or some other system utility. An application may need user permissions etc which are respected by the host.

With the current application I do not believe this is possible. As oggdroid said the flatpack version of monodevelop is not usable.
Comment 6 Jo Shields 2017-05-18 11:02:37 UTC
*** Bug 56083 has been marked as a duplicate of this bug. ***
Comment 7 Jo Shields 2017-06-02 09:59:22 UTC
*** Bug 57076 has been marked as a duplicate of this bug. ***
Comment 8 Jo Shields 2017-07-06 08:04:49 UTC
*** Bug 56869 has been marked as a duplicate of this bug. ***
Comment 9 Anil Mujagic 2017-10-24 05:05:58 UTC
The default experience, where one is not able to start a simple Hello World application, is really not good. Is there any chance this is going to be fixed at all?

Is Flatpak actually a good solution for a development tool, where you need to interact with the system more than with a "normal" user application?
Comment 10 Jo Shields 2017-10-24 16:08:36 UTC
There's actually been some movement here - DBus# master now supports the required magic to break out of the sandbox. I've simply not had the time to implement the sandbox break into the MonoDevelop process spawning code in GnomePlatform
Comment 11 Jo Shields 2017-11-09 17:39:56 UTC
*** Bug 58476 has been marked as a duplicate of this bug. ***
Comment 12 Jo Shields 2017-11-09 17:42:38 UTC
Fixed in git, should arrive in the alpha update branch by the end of today - `flatpak install --user --from http://download.mono-project.com/repo/monodevelop-alpha.flatpakref`