[Mono-list] problem running mono under centos 5 CLI
iLinux85
ilinuxer.85 at gmail.com
Sat Apr 20 18:29:09 UTC 2013
hello
i have vps server (virtual private server) running on linux centos 5 32 bit
, i installed vncserver x windows , gnome and kde environment and i connect
to the vnc server from vncviewer in my windows 7 desktop
now i excute the command
#mono Radegast.exe
in terminal and i got
[ERROR]: - Unhandled 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 y ou DISPLAY environment variable)
Parameter name: Display
at System.Windows.Forms.XplatUIX11.SetDisplay (IntPtr display_handle)
[0x00000]
at System.Windows.Forms.XplatUIX11..ctor () [0x00000]
at System.Windows.Forms.XplatUIX11.GetInstance () [0x00000]
at System.Windows.Forms.XplatUI..cctor () [0x00000]
--- End of inner exception stack trace ---
at System.Windows.Forms.Application.EnableVisualStyles () [0x00000]
at Radegast.MainProgram.RunRadegast (System.String[] args) [0x00000]
at Radegast.MainProgram.Main (System.String[] args) [0x00000] : An
exception was thrown by the type initializer for
System.Windows.Forms.XplatUI
at System.Windows.Forms.Application.EnableVisualStyles () [0x00000]
at Radegast.MainProgram.RunRadegast (System.String[] args) [0x00000]
at Radegast.MainProgram.Main (System.String[] args) [0x00000]
mono version is
# mono -V
Mono JIT compiler version 2.4.2.3 (tarball Sat Apr 20 19:49:33 MSD 2013)
Copyright (C) 2002-2008 Novell, Inc and Contributors. www.mono-project.com
TLS: __thread
GC: Included Boehm (with typed GC)
SIGSEGV: altstack
Notifications: epoll
Architecture: x86
Disabled: none
--
View this message in context: http://mono.1490590.n4.nabble.com/problem-running-mono-under-centos-5-CLI-tp4659433.html
Sent from the Mono - General mailing list archive at Nabble.com.
More information about the Mono-list
mailing list