VectorLinux

Please login or register.

Login with username, password and session length
Advanced search  

News:

Visit our home page for VL info. For support and documentation, visit the Vector Linux Knowledge Center or search the Knowledge Center and this Forum using the search box above.

Author Topic: Can run a Mono-ap as root, but not as user  (Read 2315 times)

Megamieuwsel

  • Ex-Officio
  • Vectorite
  • ****
  • Posts: 210
  • Dude In The Snappy Hat
Can run a Mono-ap as root, but not as user
« on: May 09, 2008, 11:51:13 am »

Got me stumped here:

Configuring my laptop with 5.9 std Gold, I came to the point where I had to install MONO in order to run an app, I need to loot graphical sites.(Yes; I got it from an "adult" site, so bite me  :P )
It worked fine on my Desktop(VL5.8 SOHO) but on my lappy I ran into the following:

Mono works.
The app works too, but only as root...
When I try to run it in my user-account, the following is spit to the screen:
Code: [Select]
Unhandled Exception: System.TypeInitializationException: An exception was thrown by the type initializer for System.Windows.Forms.XplatUI ---> System.TypeInitializationException: An exception was thrown by the type initializer for System.Drawing.GDIPlus ---> System.DllNotFoundException: gdiplus.dll
  at (wrapper managed-to-native) System.Drawing.GDIPlus:GdiplusStartup (ulong&,System.Drawing.GdiplusStartupInput&,System.Drawing.GdiplusStartupOutput&)
  at System.Drawing.GDIPlus..cctor () [0x00000] --- End of inner exception stack trace ---

  at System.Drawing.Graphics.FromHdcInternal (IntPtr hdc) [0x00000]
  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 PGRipper.MainForm.Main (System.String[] Args) [0x00000]
Looks like some libs are reserved for root, without any logic as to the "why" of it..
Need pointers to fix this.
And then I'm not even 'plainin' bout not getting the desktop-link reacting(It just sits there as a turd)...
Thanks in advance.
« Last Edit: May 09, 2008, 11:53:36 am by SuSE-Refugee »
Logged
<Lame sig>