Por que o eclipse reporta um erro quando eu o uso sob uma conta hadoop?

1

Eu criei duas contas, uma é um usuário comum, a outra é apenas para hadoop, que é um superusuário como root. Eu posso carregar o eclipse normalmente sob a minha conta de usuário comum, mas eu não poderia usá-lo na conta hadoop. Eu tentei desinstalar o eclipse e reinstalá-lo sob a conta hadoop mas ainda não funciona.

Abaixo está o erro relatado:

$ eclipse&
[1] 28486
hadoop@city-ubuntu:/home/city$ No protocol specified
No protocol specified

(eclipse:28487): GLib-GObject-WARNING **: invalid (NULL) pointer instance

(eclipse:28487): GLib-GObject-CRITICAL **: g_signal_connect_data: assertion 'G_TYPE_CHECK_INSTANCE (instance)' failed

** (eclipse:28487): WARNING **: The connection is closed

(eclipse:28487): Gtk-CRITICAL **: IA__gtk_settings_get_for_screen: assertion 'GDK_IS_SCREEN (screen)' failed

(eclipse:28487): Gtk-WARNING **: Screen for GtkWindow not set; you must always set
a screen for a GtkWindow before using the window

(eclipse:28487): Gtk-WARNING **: Screen for GtkWindow not set; you must always set
a screen for a GtkWindow before using the window

(eclipse:28487): Gdk-CRITICAL **: IA__gdk_screen_get_display: assertion 'GDK_IS_SCREEN (screen)' failed

(eclipse:28487): Gdk-CRITICAL **: IA__gdk_display_get_pointer: assertion 'GDK_IS_DISPLAY (display)' failed

(eclipse:28487): Gtk-WARNING **: Screen for GtkWindow not set; you must always set
a screen for a GtkWindow before using the window

(eclipse:28487): Gdk-CRITICAL **: IA__gdk_screen_get_n_monitors: assertion 'GDK_IS_SCREEN (screen)' failed

(eclipse:28487): Gtk-WARNING **: Screen for GtkWindow not set; you must always set
a screen for a GtkWindow before using the window

(eclipse:28487): Gdk-CRITICAL **: IA__gdk_screen_get_monitor_geometry: assertion 'GDK_IS_SCREEN (screen)' failed

(eclipse:28487): Gdk-CRITICAL **: IA__gdk_screen_get_default_colormap: assertion 'GDK_IS_SCREEN (screen)' failed

(eclipse:28487): Gdk-CRITICAL **: IA__gdk_colormap_get_visual: assertion 'GDK_IS_COLORMAP (colormap)' failed

(eclipse:28487): Gdk-CRITICAL **: IA__gdk_screen_get_default_colormap: assertion 'GDK_IS_SCREEN (screen)' failed

(eclipse:28487): Gdk-CRITICAL **: IA__gdk_screen_get_root_window: assertion 'GDK_IS_SCREEN (screen)' failed

(eclipse:28487): Gdk-CRITICAL **: IA__gdk_screen_get_root_window: assertion 'GDK_IS_SCREEN (screen)' failed

(eclipse:28487): Gdk-CRITICAL **: IA__gdk_window_new: assertion 'GDK_IS_WINDOW (parent)' failed
Segmentation fault (core dumped)

[1]+  Exit 139                eclipse

Eu instalei o eclipse com este comando:

sudo apt-get install eclipse.

O que está errado?

    
por city 04.08.2013 / 23:42

0 respostas