请问:
我在redhat下用root用户下了个eclipse,然后解压,运行都正常
但切换成其他用户的时候,会报一堆错误。
怎么解决,是要把给其他用户授权吗?
出错信息:
Xlib: connection to ":0.0" refused by server
Xlib: No protocol specified
(eclipse:28156): GLib-GObject-WARNING **: invalid (NULL) pointer instance
(eclipse:28156): GLib-GObject-CRITICAL **: g_signal_connect_data: assertion `G_TYPE_CHECK_INSTANCE (instance)' failed
(eclipse:28156): Gtk-CRITICAL **: gtk_settings_get_for_screen: assertion `GDK_IS_SCREEN (screen)' failed
(eclipse:28156): Gtk-WARNING **: Screen for GtkWindow not set; you must always set
a screen for a GtkWindow before using the window
(eclipse:28156): Gtk-WARNING **: Screen for GtkWindow not set; you must always set
a screen for a GtkWindow before using the window
(eclipse:28156): Gdk-CRITICAL **: gdk_screen_get_display: assertion `GDK_IS_SCREEN (screen)' failed
(eclipse:28156): Gdk-CRITICAL **: gdk_display_get_pointer: assertion `GDK_IS_DISPLAY (display)' failed
(eclipse:28156): Gtk-WARNING **: Screen for GtkWindow not set; you must always set
a screen for a GtkWindow before using the window
(eclipse:28156): Gdk-CRITICAL **: gdk_screen_get_n_monitors: assertion `GDK_IS_SCREEN (screen)' failed
(eclipse:28156): Gtk-WARNING **: Screen for GtkWindow not set; you must always set
a screen for a GtkWindow before using the window
(eclipse:28156): Gdk-CRITICAL **: gdk_screen_get_monitor_geometry: assertion `GDK_IS_SCREEN (screen)' failed
(eclipse:28156): Gdk-CRITICAL **: gdk_screen_get_default_colormap: assertion `GDK_IS_SCREEN (screen)' failed
(eclipse:28156): Gdk-CRITICAL **: gdk_colormap_get_visual: assertion `GDK_IS_COLORMAP (colormap)' failed
(eclipse:28156): Gdk-CRITICAL **: gdk_screen_get_default_colormap: assertion `GDK_IS_SCREEN (screen)' failed
(eclipse:28156): Gdk-CRITICAL **: gdk_screen_get_root_window: assertion `GDK_IS_SCREEN (screen)' failed
(eclipse:28156): Gdk-CRITICAL **: gdk_screen_get_root_window: assertion `GDK_IS_SCREEN (screen)' failed
(eclipse:28156): Gdk-CRITICAL **: gdk_window_new: assertion `GDK_IS_WINDOW (parent)' failed
(eclipse:28156): Gdk-CRITICAL **: gdk_window_enable_synchronized_configure: assertion `GDK_IS_WINDOW (window)' failed
(eclipse:28156): Gdk-CRITICAL **: gdk_window_set_user_data: assertion `window != NULL' failed
(eclipse:28156): Gtk-CRITICAL **: gtk_style_attach: assertion `window != NULL' failed
(eclipse:28156): Gtk-CRITICAL **: gtk_style_set_background: assertion `GTK_IS_STYLE (style)' failed
(eclipse:28156): Gtk-CRITICAL **: gtk_paint_flat_box: assertion `GTK_IS_STYLE (style)' failed
(eclipse:28156): Gdk-CRITICAL **: gdk_window_set_decorations: assertion `GDK_IS_WINDOW (window)' failed
(eclipse:28156): Gdk-CRITICAL **: gdk_window_set_type_hint: assertion `GDK_IS_WINDOW (window)' failed
(eclipse:28156): Gdk-CRITICAL **: gdk_window_set_accept_focus: assertion `GDK_IS_WINDOW (window)' failed
(eclipse:28156): Gdk-CRITICAL **: gdk_window_set_focus_on_map: assertion `GDK_IS_WINDOW (window)' failed
(eclipse:28156): Gdk-CRITICAL **: gdk_window_set_modal_hint: assertion `GDK_IS_WINDOW (window)' failed
(eclipse:28156): Gtk-CRITICAL **: gtk_window_realize_icon: assertion `widget->window != NULL' failed
(eclipse:28156): Gtk-WARNING **: Screen for GtkWindow not set; you must always set
a screen for a GtkWindow before using the window
(eclipse:28156): Gtk-WARNING **: Screen for GtkWindow not set; you must always set
a screen for a GtkWindow before using the window
(eclipse:28156): Gdk-CRITICAL **: gdk_screen_get_display: assertion `GDK_IS_SCREEN (screen)' failed
(eclipse:28156): Gdk-CRITICAL **: gdk_display_get_pointer: assertion `GDK_IS_DISPLAY (display)' failed
(eclipse:28156): Gtk-WARNING **: Screen for GtkWindow not set; you must always set
a screen for a GtkWindow before using the window
(eclipse:28156): Gdk-CRITICAL **: gdk_screen_get_n_monitors: assertion `GDK_IS_SCREEN (screen)' failed
(eclipse:28156): Gtk-WARNING **: Screen for GtkWindow not set; you must always set
a screen for a GtkWindow before using the window
(eclipse:28156): Gdk-CRITICAL **: gdk_screen_get_monitor_geometry: assertion `GDK_IS_SCREEN (screen)' failed
(eclipse:28156): Gdk-CRITICAL **: gdk_window_set_geometry_hints: assertion `GDK_IS_WINDOW (window)' failed
(eclipse:28156): Gdk-CRITICAL **: gdk_window_move: assertion `GDK_IS_WINDOW (window)' failed
(eclipse:28156): GLib-GObject-CRITICAL **: g_object_ref: assertion `G_IS_OBJECT (object)' failed
(eclipse:28156): Gtk-CRITICAL **: gtk_style_attach: assertion `window != NULL' failed
(eclipse:28156): GLib-GObject-CRITICAL **: g_object_ref: assertion `G_IS_OBJECT (object)' failed
(eclipse:28156): Gtk-CRITICAL **: gtk_style_attach: assertion `window != NULL' failed
(eclipse:28156): Gdk-CRITICAL **: gdk_screen_get_default_colormap: assertion `GDK_IS_SCREEN (screen)' failed
(eclipse:28156): Gdk-CRITICAL **: gdk_colormap_get_visual: assertion `GDK_IS_COLORMAP (colormap)' failed
(eclipse:28156): Gdk-CRITICAL **: gdk_screen_get_default_colormap: assertion `GDK_IS_SCREEN (screen)' failed
(eclipse:28156): Gdk-CRITICAL **: gdk_screen_get_root_window: assertion `GDK_IS_SCREEN (screen)' failed
(eclipse:28156): Gdk-CRITICAL **: gdk_window_new: assertion `GDK_IS_WINDOW (parent)' failed
(eclipse:28156): Gdk-CRITICAL **: gdk_window_set_user_data: assertion `window != NULL' failed
(eclipse:28156): Gtk-CRITICAL **: gtk_style_attach: assertion `window != NULL' failed
(eclipse:28156): Gtk-CRITICAL **: gtk_style_set_background: assertion `GTK_IS_STYLE (style)' failed
(eclipse:28156): GLib-GObject-CRITICAL **: g_object_ref: assertion `G_IS_OBJECT (object)' failed
(eclipse:28156): Gtk-CRITICAL **: gtk_style_attach: assertion `window != NULL' failed
(eclipse:28156): Gdk-CRITICAL **: gdk_window_invalidate_rect: assertion `window != NULL' failed
(eclipse:28156): Gdk-CRITICAL **: gdk_window_show: assertion `GDK_IS_WINDOW (window)' failed
(eclipse:28156): Gdk-CRITICAL **: gdk_window_invalidate_rect: assertion `window != NULL' failed
(eclipse:28156): Gdk-CRITICAL **: gdk_window_invalidate_rect: assertion `window != NULL' failed
(eclipse:28156): Gdk-CRITICAL **: gdk_window_unmaximize: assertion `GDK_IS_WINDOW (window)' failed
(eclipse:28156): Gdk-CRITICAL **: gdk_window_unstick: assertion `GDK_IS_WINDOW (window)' failed
(eclipse:28156): Gdk-CRITICAL **: gdk_window_deiconify: assertion `GDK_IS_WINDOW (window)' failed
(eclipse:28156): Gdk-CRITICAL **: gdk_window_unfullscreen: assertion `GDK_IS_WINDOW (window)' failed
(eclipse:28156): Gdk-CRITICAL **: gdk_window_set_keep_above: assertion `GDK_IS_WINDOW (window)' failed
(eclipse:28156): Gdk-CRITICAL **: gdk_window_set_keep_below: assertion `GDK_IS_WINDOW (window)' failed
(eclipse:28156): Gdk-CRITICAL **: gdk_window_show: assertion `GDK_IS_WINDOW (window)' failed
(eclipse:28156): Gtk-WARNING **: Screen for GtkWindow not set; you must always set
a screen for a GtkWindow before using the window
(eclipse:28156): Gdk-CRITICAL **: gdk_window_withdraw: assertion `GDK_IS_WINDOW (window)' failed
(eclipse:28156): Gdk-CRITICAL **: gdk_window_get_state: assertion `GDK_IS_WINDOW (window)' failed
(eclipse:28156): Gdk-CRITICAL **: gdk_window_hide: assertion `GDK_IS_WINDOW (window)' failed
(eclipse:28156): Gtk-CRITICAL **: gtk_style_detach: assertion `GTK_IS_STYLE (style)' failed
(eclipse:28156): GLib-GObject-CRITICAL **: g_object_unref: assertion `G_IS_OBJECT (object)' failed
(eclipse:28156): Gtk-CRITICAL **: gtk_style_detach: assertion `GTK_IS_STYLE (style)' failed
(eclipse:28156): Gdk-CRITICAL **: gdk_window_set_user_data: assertion `window != NULL' failed
(eclipse:28156): Gdk-CRITICAL **: _gdk_window_destroy_hierarchy: assertion `window != NULL' failed
(eclipse:28156): GLib-GObject-CRITICAL **: g_object_unref: assertion `G_IS_OBJECT (object)' failed
(eclipse:28156): Gtk-CRITICAL **: gtk_style_detach: assertion `GTK_IS_STYLE (style)' failed
(eclipse:28156): GLib-GObject-CRITICAL **: g_object_unref: assertion `G_IS_OBJECT (object)' failed
(eclipse:28156): Gtk-CRITICAL **: gtk_style_detach: assertion `GTK_IS_STYLE (style)' failed
(eclipse:28156): GLib-GObject-CRITICAL **: g_object_unref: assertion `G_IS_OBJECT (object)' failed
(eclipse:28156): Gtk-CRITICAL **: gtk_style_detach: assertion `GTK_IS_STYLE (style)' failed
(eclipse:28156): Gdk-CRITICAL **: gdk_window_set_user_data: assertion `window != NULL' failed
(eclipse:28156): Gdk-CRITICAL **: _gdk_window_destroy_hierarchy: assertion `window != NULL' failed
(eclipse:28156): GLib-GObject-CRITICAL **: g_object_unref: assertion `G_IS_OBJECT (object)' failed
(eclipse:28156): GLib-GObject-CRITICAL **: g_object_unref: assertion `G_IS_OBJECT (object)' failed
(eclipse:28156): GLib-GObject-CRITICAL **: g_object_unref: assertion `G_IS_OBJECT (object)' failed
(eclipse:28156): GLib-GObject-CRITICAL **: g_object_unref: assertion `G_IS_OBJECT (object)' failed
(eclipse:28156): GLib-GObject-CRITICAL **: g_object_unref: assertion `G_IS_OBJECT (object)' failed
(eclipse:28156): GLib-GObject-CRITICAL **: g_object_unref: assertion `G_IS_OBJECT (object)' failed
(eclipse:28156): GLib-GObject-WARNING **: invalid (NULL) pointer instance
(eclipse:28156): GLib-GObject-CRITICAL **: g_signal_connect_data: assertion `G_TYPE_CHECK_INSTANCE (instance)' failed
(eclipse:28156): Gtk-CRITICAL **: gtk_settings_get_for_screen: assertion `GDK_IS_SCREEN (screen)' failed
(eclipse:28156): GLib-GObject-CRITICAL **: g_object_get: assertion `G_IS_OBJECT (object)' failed
(eclipse:28156): GLib-GObject-WARNING **: value "TRUE" of type `gboolean' is invalid or out of range for property `visible' of type `gboolean'
(eclipse:28156): Gtk-WARNING **: Screen for GtkWindow not set; you must always set
a screen for a GtkWindow before using the window
(eclipse:28156): Gdk-CRITICAL **: gdk_pango_context_get_for_screen: assertion `GDK_IS_SCREEN (screen)' failed
(eclipse:28156): Pango-CRITICAL **: pango_context_set_font_description: assertion `context != NULL' failed
(eclipse:28156): Pango-CRITICAL **: pango_context_set_base_dir: assertion `context != NULL' failed
(eclipse:28156): Pango-CRITICAL **: pango_context_set_language: assertion `context != NULL' failed
(eclipse:28156): Pango-CRITICAL **: pango_layout_new: assertion `context != NULL' failed
(eclipse:28156): Pango-CRITICAL **: pango_layout_set_text: assertion `layout != NULL' failed
(eclipse:28156): Pango-CRITICAL **: pango_layout_set_attributes: assertion `layout != NULL' failed
(eclipse:28156): Pango-CRITICAL **: pango_layout_set_alignment: assertion `layout != NULL' failed
(eclipse:28156): Pango-CRITICAL **: pango_layout_set_ellipsize: assertion `PANGO_IS_LAYOUT (layout)' failed
(eclipse:28156): Pango-CRITICAL **: pango_layout_set_single_paragraph_mode: assertion `PANGO_IS_LAYOUT (layout)' failed
(eclipse:28156): Pango-CRITICAL **: pango_layout_set_width: assertion `layout != NULL' failed
(eclipse:28156): Pango-CRITICAL **: pango_layout_get_extents: assertion `layout != NULL' failed
(eclipse:28156): Gtk-CRITICAL **: gtk_icon_theme_get_for_screen: assertion `GDK_IS_SCREEN (screen)' failed
(eclipse:28156): Gtk-CRITICAL **: gtk_settings_get_for_screen: assertion `GDK_IS_SCREEN (screen)' failed
(eclipse:28156): Gtk-CRITICAL **: gtk_icon_size_lookup_for_settings: assertion `GTK_IS_SETTINGS (settings)' failed
(eclipse:28156): Gtk-WARNING **: Invalid icon size 6
(eclipse:28156): Gtk-CRITICAL **: gtk_icon_theme_load_icon: assertion `GTK_IS_ICON_THEME (icon_theme)' failed
#
# A fatal error has been detected by the Java Runtime Environment:
#
# SIGSEGV (0xb) at pc=0x00cb724f, pid=28156, tid=3086670032
#
# JRE version: 6.0_24-b07
# Java VM: Java HotSpot(TM) Client VM (19.1-b02 mixed mode, sharing linux-x86 )
# Problematic frame:
# C [libgtk-x11-2.0.so.0+0xf724f] gtk_icon_set_render_icon+0x55f
#
# An error report file with more information is saved as:
# /tmp/hs_err_pid28156.log
#
# If you would like to submit a bug report, please visit:
# http://java.sun.com/webapps/bugreport/crash.jsp
# The crash happened outside the Java Virtual Machine in native code.
# See problematic frame for where to report the bug.
#