Chinaunix首页 | 论坛 | 博客
  • 博客访问: 1390256
  • 博文数量: 120
  • 博客积分: 182
  • 博客等级: 入伍新兵
  • 技术积分: 2278
  • 用 户 组: 普通用户
  • 注册时间: 2012-07-19 16:31
文章分类

全部博文(120)

文章存档

2015年(12)

2014年(13)

2013年(40)

2012年(55)

分类: LINUX

2014-06-30 11:59:41

之前通过xshell访问服务器上装的eclipse都没有问题,这几天却不能打开,只要执行./eclipse,就出现如下错误:

点击(此处)折叠或打开

  1. root@nimbus:/opt/eclipse# ./eclipse

  2. (Eclipse:4080): GLib-GObject-WARNING **: invalid (NULL) pointer instance

  3. (Eclipse:4080): GLib-GObject-CRITICAL **: g_signal_connect_data: assertion `G_TYPE_CHECK_INSTANCE (instance)' failed

  4. (Eclipse:4080): Gtk-CRITICAL **: IA__gtk_settings_get_for_screen: assertion `GDK_IS_SCREEN (screen)' failed

  5. (Eclipse:4080): Gtk-WARNING **: Screen for GtkWindow not set; you must always set
  6. a screen for a GtkWindow before using the window

  7. (Eclipse:4080): Gtk-WARNING **: Screen for GtkWindow not set; you must always set
  8. a screen for a GtkWindow before using the window

  9. (Eclipse:4080): Gdk-CRITICAL **: IA__gdk_screen_get_display: assertion `GDK_IS_SCREEN (screen)' failed

  10. (Eclipse:4080): Gdk-CRITICAL **: IA__gdk_display_get_pointer: assertion `GDK_IS_DISPLAY (display)' failed

  11. (Eclipse:4080): Gtk-WARNING **: Screen for GtkWindow not set; you must always set
  12. a screen for a GtkWindow before using the window

  13. (Eclipse:4080): Gdk-CRITICAL **: IA__gdk_screen_get_n_monitors: assertion `GDK_IS_SCREEN (screen)' failed

  14. (Eclipse:4080): Gtk-WARNING **: Screen for GtkWindow not set; you must always set
  15. a screen for a GtkWindow before using the window

  16. (Eclipse:4080): Gdk-CRITICAL **: IA__gdk_screen_get_monitor_geometry: assertion `GDK_IS_SCREEN (screen)' failed

  17. (Eclipse:4080): Gdk-CRITICAL **: IA__gdk_screen_get_default_colormap: assertion `GDK_IS_SCREEN (screen)' failed

  18. (Eclipse:4080): Gdk-CRITICAL **: IA__gdk_colormap_get_visual: assertion `GDK_IS_COLORMAP (colormap)' failed

  19. (Eclipse:4080): Gdk-CRITICAL **: IA__gdk_screen_get_default_colormap: assertion `GDK_IS_SCREEN (screen)' failed

  20. (Eclipse:4080): Gdk-CRITICAL **: IA__gdk_screen_get_root_window: assertion `GDK_IS_SCREEN (screen)' failed

  21. (Eclipse:4080): Gdk-CRITICAL **: IA__gdk_screen_get_root_window: assertion `GDK_IS_SCREEN (screen)' failed

  22. (Eclipse:4080): Gdk-CRITICAL **: IA__gdk_window_new: assertion `GDK_IS_WINDOW (parent)' failed
  23. #
  24. # A fatal error has been detected by the Java Runtime Environment:
  25. #
  26. # SIGSEGV (0xb) at pc=0x00007f487cc4e30e, pid=4080, tid=139949613102848
  27. #
  28. # JRE version: Java(TM) SE Runtime Environment (7.0_51-b13) (build 1.7.0_51-b13)
  29. # Java VM: Java HotSpot(TM) 64-Bit Server VM (24.51-b03 mixed mode linux-amd64 compressed oops)
  30. # Problematic frame:
  31. # C [libgdk-x11-2.0.so.0+0x7230e] gdk_window_enable_synchronized_configure+0xe
  32. #
  33. # Failed to write core dump. Core dumps have been disabled. To enable core dumping, try "ulimit -c unlimited" before starting Java again
  34. #
  35. # An error report file with more information is saved as:
  36. # /opt/eclipse/hs_err_pid4080.log
  37. #
  38. # If you would like to submit a bug report, please visit:
  39. # http://bugreport.sun.com/bugreport/crash.jsp
  40. # The crash happened outside the Java Virtual Machine in native code.
  41. # See problematic frame for where to report the bug.
  42. #

超级郁闷,怎么都没弄好。尝试各种办法,不行,不行,不行。整了两天也没好。最后在别人的机子上用XShell登陆我自己的服务器,然后启动eclipse居然没有问题。因此,将问题锁定在在我的XSHell配置上,最后通过修改设置,参照:

XShell+Xmanager实现在XShell中显示远程服务器的图形界面

http://blog.csdn.net/zklth/article/details/6525185这篇文章,

通过设置连接属性,在 SSH --> tunneling 选项下勾选 Forward X11 connections to: Xmanager,才能打开eclipse的图形界面,解决了问题。

原来是不小心修改了XShell的配置选项啊!!!

阅读(9054) | 评论(0) | 转发(0) |
给主人留下些什么吧!~~