centos下eclipse安装问题

请问:

我在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.
#

转载于:https://my.oschina.net/dongming/blog/15482

  • 0
    点赞
  • 0
    收藏
    觉得还不错? 一键收藏
  • 0
    评论
评论
添加红包

请填写红包祝福语或标题

红包个数最小为10个

红包金额最低5元

当前余额3.43前往充值 >
需支付:10.00
成就一亿技术人!
领取后你会自动成为博主和红包主的粉丝 规则
hope_wisdom
发出的红包
实付
使用余额支付
点击重新获取
扫码支付
钱包余额 0

抵扣说明:

1.余额是钱包充值的虚拟货币,按照1:1的比例进行支付金额的抵扣。
2.余额无法直接购买下载,可以购买VIP、付费专栏及课程。

余额充值