之前通过xshell访问服务器上装的eclipse都没有问题,这几天却不能打开,只要执行./eclipse,就出现如下错误:
-
root@nimbus:/opt/eclipse# ./eclipse
-
-
(Eclipse:4080): GLib-GObject-WARNING **: invalid (NULL) pointer instance
-
-
(Eclipse:4080): GLib-GObject-CRITICAL **: g_signal_connect_data: assertion `G_TYPE_CHECK_INSTANCE (instance)' failed
-
-
(Eclipse:4080): Gtk-CRITICAL **: IA__gtk_settings_get_for_screen: assertion `GDK_IS_SCREEN (screen)' failed
-
-
(Eclipse:4080): Gtk-WARNING **: Screen for GtkWindow not set; you must always set
-
a screen for a GtkWindow before using the window
-
-
(Eclipse:4080): Gtk-WARNING **: Screen for GtkWindow not set; you must always set
-
a screen for a GtkWindow before using the window
-
-
(Eclipse:4080): Gdk-CRITICAL **: IA__gdk_screen_get_display: assertion `GDK_IS_SCREEN (screen)' failed
-
-
(Eclipse:4080): Gdk-CRITICAL **: IA__gdk_display_get_pointer: assertion `GDK_IS_DISPLAY (display)' failed
-
-
(Eclipse:4080): Gtk-WARNING **: Screen for GtkWindow not set; you must always set
-
a screen for a GtkWindow before using the window
-
-
(Eclipse:4080): Gdk-CRITICAL **: IA__gdk_screen_get_n_monitors: assertion `GDK_IS_SCREEN (screen)' failed
-
-
(Eclipse:4080): Gtk-WARNING **: Screen for GtkWindow not set; you must always set
-
a screen for a GtkWindow before using the window
-
-
(Eclipse:4080): Gdk-CRITICAL **: IA__gdk_screen_get_monitor_geometry: assertion `GDK_IS_SCREEN (screen)' failed
-
-
(Eclipse:4080): Gdk-CRITICAL **: IA__gdk_screen_get_default_colormap: assertion `GDK_IS_SCREEN (screen)' failed
-
-
(Eclipse:4080): Gdk-CRITICAL **: IA__gdk_colormap_get_visual: assertion `GDK_IS_COLORMAP (colormap)' failed
-
-
(Eclipse:4080): Gdk-CRITICAL **: IA__gdk_screen_get_default_colormap: assertion `GDK_IS_SCREEN (screen)' failed
-
-
(Eclipse:4080): Gdk-CRITICAL **: IA__gdk_screen_get_root_window: assertion `GDK_IS_SCREEN (screen)' failed
-
-
(Eclipse:4080): Gdk-CRITICAL **: IA__gdk_screen_get_root_window: assertion `GDK_IS_SCREEN (screen)' failed
-
-
(Eclipse:4080): Gdk-CRITICAL **: IA__gdk_window_new: assertion `GDK_IS_WINDOW (parent)' failed
-
#
-
# A fatal error has been detected by the Java Runtime Environment:
-
#
-
# SIGSEGV (0xb) at pc=0x00007f487cc4e30e, pid=4080, tid=139949613102848
-
#
-
# JRE version: Java(TM) SE Runtime Environment (7.0_51-b13) (build 1.7.0_51-b13)
-
# Java VM: Java HotSpot(TM) 64-Bit Server VM (24.51-b03 mixed mode linux-amd64 compressed oops)
-
# Problematic frame:
-
# C [libgdk-x11-2.0.so.0+0x7230e] gdk_window_enable_synchronized_configure+0xe
-
#
-
# Failed to write core dump. Core dumps have been disabled. To enable core dumping, try "ulimit -c unlimited" before starting Java again
-
#
-
# An error report file with more information is saved as:
-
# /opt/eclipse/hs_err_pid4080.log
-
#
-
# If you would like to submit a bug report, please visit:
-
# http://bugreport.sun.com/bugreport/crash.jsp
-
# The crash happened outside the Java Virtual Machine in native code.
-
# See problematic frame for where to report the bug.
-
#
超级郁闷,怎么都没弄好。尝试各种办法,不行,不行,不行。整了两天也没好。最后在别人的机子上用XShell登陆我自己的服务器,然后启动eclipse居然没有问题。因此,将问题锁定在在我的XSHell配置上,最后通过修改设置,参照:
XShell+Xmanager实现在XShell中显示远程服务器的图形界面
http://blog.csdn.net/zklth/article/details/6525185这篇文章,
通过设置连接属性,在 SSH
--> tunneling 选项下勾选 Forward X11 connections to: Xmanager,才能打开eclipse的图形界面,解决了问题。
原来是不小心修改了XShell的配置选项啊!!!
阅读(9176) | 评论(0) | 转发(0) |