Showing results for 
Search instead for 
Did you mean: 
Sign up Log in

Earn badges and make progress

You're on your way to the next level! Join the Kudos program to earn points and save your progress.

Deleted user Avatar
Deleted user

Level 1: Seed

25 / 150 points

Next: Root


1 badge earned


Participate in fun challenges

Challenges come and go, but your rewards stay with you. Do more to earn more!


Gift kudos to your peers

What goes around comes around! Share the love by gifting kudos to your peers.


Rise up in the ranks

Keep earning points to reach the top of the leaderboard. It resets every quarter so you always have a chance!


Come for the products,
stay for the community

The Atlassian Community can help you and your team get more value out of Atlassian products and practices.

Atlassian Community about banner
Community Members
Community Events
Community Groups

Discovery tool command "mono Discovery.exe -s" not working in ubuntu 18.0.4

Pratap Singh
I'm New Here
I'm New Here
Those new to the Atlassian Community have posted less than three times. Give them a warm welcome!
May 02, 2023

I am trying to deploy discovery tool in linux environment, I followed the steps as mentioned in documentation and after installing mono and downloading and extracting the discovery tool package and when I am running the command "mono Discovery.exe -s", I am getting below error 

 root@monomc:/opt/Discovery_3.1.8/Discovery# mono Discovery.exe -s
Show Setting Dialog...
05/02/2023 12:37:17 : Error opening the Discovery configuration
05/02/2023 12:37:17 : Exceptions:
05/02/2023 12:37:17 : The type initializer for 'System.Windows.Forms.WindowsFormsSynchronizationContext' threw an exception.
at System.Windows.Forms.Control..ctor () [0x0000d] in <28e46de2d20c496895000ef0abfc2106>:0
at System.Windows.Forms.ScrollableControl..ctor () [0x00000] in <28e46de2d20c496895000ef0abfc2106>:0
at System.Windows.Forms.ContainerControl..ctor () [0x0000e] in <28e46de2d20c496895000ef0abfc2106>:0
at System.Windows.Forms.Form..ctor () [0x00012] in <28e46de2d20c496895000ef0abfc2106>:0
at Insight.Discovery.Forms.frmSettings..ctor () [0x00021] in <db97e6f384764597a826a534944c1c82>:0
at (wrapper remoting-invoke-with-check) Insight.Discovery.Forms.frmSettings..ctor()
at Insight.Discovery.CommandLineLogic.CommandClasses.SettingsCommand.ShowSettingsDialog () [0x0000a] in <db97e6f384764597a826a534944c1
at Insight.Discovery.CommandLineLogic.CommandClasses.SettingsCommand.ExecuteCommand () [0x00000] in <db97e6f384764597a826a534944c1c82>
05/02/2023 12:37:17 : The type initializer for 'System.Windows.Forms.XplatUI' threw an exception.
at System.Windows.Forms.Theme.get_MenuAccessKeysUnderlined () [0x00000] in <28e46de2d20c496895000ef0abfc2106>:0
at System.Windows.Forms.SystemInformation.get_MenuAccessKeysUnderlined () [0x00005] in <28e46de2d20c496895000ef0abfc2106>:0
at System.Windows.Forms.Control..ctor () [0x000d6] in <28e46de2d20c496895000ef0abfc2106>:0
at (wrapper remoting-invoke-with-check) System.Windows.Forms.Control..ctor()
at System.Windows.Forms.WindowsFormsSynchronizationContext..cctor () [0x00000] in <28e46de2d20c496895000ef0abfc2106>:0
05/02/2023 12:37:17 : Could not open display (X-Server required. Check your DISPLAY environment variable)
Parameter name: Display
at System.Windows.Forms.XplatUIX11.SetDisplay (System.IntPtr display_handle) [0x003d0] in <28e46de2d20c496895000ef0abfc2106>:0
at System.Windows.Forms.XplatUIX11..ctor () [0x00077] in <28e46de2d20c496895000ef0abfc2106>:0
at System.Windows.Forms.XplatUIX11.GetInstance () [0x00019] in <28e46de2d20c496895000ef0abfc2106>:0
at System.Windows.Forms.XplatUI..cctor () [0x000c0] in <28e46de2d20c496895000ef0abfc2106>:0 

0 answers

Suggest an answer

Log in or Sign up to answer