launch eclipse,and an error occurs.
Posted
by chillwarmoon
on Stack Overflow
See other posts from Stack Overflow
or by chillwarmoon
Published on 2010-06-13T03:39:35Z
Indexed on
2010/06/13
3:42 UTC
Read the original article
Hit count: 420
environment: Ubuntu 9.10 Eclipse eclipse-jee-galileo-SR2-linux-gtk
When I login the ubuntu,and run the eclipse, it works. but when I changed to root user and then launch eclipse,there is an error occurs:
(eclipse:5632): GLib-GObject-WARNING **: invalid (NULL) pointer instance
(eclipse:5632): GLib-GObject-CRITICAL **: g_signal_connect_data: assertion `G_TYPE_CHECK_INSTANCE (instance)' failed
(eclipse:5632): Gtk-CRITICAL **: gtk_settings_get_for_screen: assertion `GDK_IS_SCREEN (screen)' failed
(eclipse:5632): Gtk-WARNING **: Screen for GtkWindow not set; you must always set a screen for a GtkWindow before using the window
(eclipse:5632): Gtk-WARNING **: Screen for GtkWindow not set; you must always set a screen for a GtkWindow before using the window
(eclipse:5632): Gdk-CRITICAL **: gdk_screen_get_display: assertion `GDK_IS_SCREEN (screen)' failed
(eclipse:5632): Gdk-CRITICAL **: gdk_display_get_pointer: assertion `GDK_IS_DISPLAY (display)' failed
(eclipse:5632): Gtk-WARNING **: Screen for GtkWindow not set; you must always set a screen for a GtkWindow before using the window
(eclipse:5632): Gdk-CRITICAL **: gdk_screen_get_n_monitors: assertion `GDK_IS_SCREEN (screen)' failed
(eclipse:5632): Gtk-WARNING **: Screen for GtkWindow not set; you must always set a screen for a GtkWindow before using the window
(eclipse:5632): Gdk-CRITICAL **: get_monitor: assertion `GDK_IS_SCREEN (screen)' failed Segmentation fault
But when I login in Ubuntu as root, and run eclipse, it is ok. I changed to another non-root user,there is an error too.
How to deal with this problem. I am looking forward to your reply. thanks.
© Stack Overflow or respective owner