[Mono-winforms-list] Mono WinFormsApp run at GNOME Terminal without x-server on openSUSE

peter tsai tsai at pinnacle.com.tw
Sat May 23 02:56:53 EDT 2009

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.
View this message in context: http://www.nabble.com/Mono-WinFormsApp-run-at-GNOME-Terminal-without-x-server-on-openSUSE-tp23681857p23681857.html
Sent from the Mono - WinForms mailing list archive at Nabble.com.

More information about the Mono-winforms-list mailing list