[Mono-list] Mono requres X server on Linux?
Brooke Wallace
bwallace at kyocera-wireless.com
Wed Apr 19 22:24:26 EDT 2006
Hi,
We are porting a .NET app to Linux via Mono. I'm finding that even though our application does not display any graphics, unless the DISPLAY environment variable is correctly set, the application generates an X server related error message. This is a command line application that's just parsing XML files and generating a new set of files.
Does Mono inherently require an X server to connect to?
Is there an option to disable this requirement?
Are there any graphic libraries/functions that we should avoid so that our app doesn't try to connect to an X server?
-Brooke
Exception (System.ArgumentNullException): Resource Name: KWC.ResEdit.ResourceControls.Dialog.Dialog
Message: Could not open display (X-Server required. Check you DISPLAY environment variable)
Parameter name: Display
Source: System.Windows.Forms
Stack Trace:
in <0x0066f> System.Windows.Forms.XplatUIX11:SetDisplay (IntPtrdisplay_handle)
in <0x0008b> System.Windows.Forms.XplatUIX11:.ctor ()
in <0x00040> System.Windows.Forms.XplatUIX11:GetInstance ()
in <0x00061> System.Windows.Forms.XplatUI:.cctor ()
NULL CRI - InitializeResource() resource: DN = UIRS_DIALOG; RN = KWC.ResEdit.ResourceControls.Dialog.Dialog; Path = /mnt/local/views/bwallace/KSW_THUNDER_QB_DEV_0597/buildtools/bin/rsrctools/ResourceControls/Kauai/Dialog.dll
NULL CreateResourceInstance() resource: KDSSharedResources - KWC.ResEdit.ResourceControls.Dialog.Dialog
NULL GetResourceObject() resource: KDSSharedResources
NULL resource: KDSSharedResources
-------------- next part --------------
An HTML attachment was scrubbed...
URL: http://lists.ximian.com/pipermail/mono-list/attachments/20060419/0d68992b/attachment-0001.html
More information about the Mono-list
mailing list