[Mono-winforms-list] Mono WinFormsApp run at GNOME Terminal without x-server on openSUSE
monkey at jpobst.com
Sat May 23 11:15:18 EDT 2009
Winforms requires an X server to operate on Linux. I do not believe
there is any way around this requirement.
peter tsai wrote:
> Environment openSUSE 11.1 i586 and mono 2.4 and svn
> in GNOME Termial
> # init 3
> after system reboot
> # export DISPLAY=:0.0
> # mono WinFormsApp.exe
> program crash
> I've been unable to get Mono 2.4 + MWF to work without x-server running
> Unhandled Exception: System.TypeInitializationException: An exception was
> thrown by the type initializer for System.Windows.Forms.XplatUI --->
> System.ArgumentNullException: Could not open display (X-Server required.
> Check you DISPLAY environment variable)
> Parameter name: Display
> at System.Windows.Forms.XplatUIX11.SetDisplay (IntPtr display_handle)
> [0x00000] ...
> Any help would be appreciated.
More information about the Mono-winforms-list