Ubuntu 7.10安全更新后导致Eclipse无法使用的解决 我当前的系统:Ubuntu 7.10(gutsy) Kernel Linux 2.6.22-14-generic GNOME 2.20.1
2008-01-18日系统更新xserver-xorg-core后,运行eclispe得到下面的错误:
” The program ‘Eclipse’ received an X Window System error.This probably reflects a bug in the program.The error was ‘BadAlloc (insufficient resources for operation)’.(Details: serial 436 error_code 11 request_code 147 minor_code 5)(Note to programmers: normally, X errors are reported asynchronously;that is, you will receive the error a while after causing it.To debug your program, run it with the –sync command lineoption to change this behavior. You can then get a meaningfulbacktrace from your debugger if you break on the gdk_x_error() function.)”
解决方法一:
编辑gedit /etc/X11/xorg.conf
添加下面的部分,然后重启gdmSection “Extensions”Option “MIT-SHM” “no”EndSection
解决方法二:
使用新立得,,查找xserver-xorg-core,然后将其版本从
2:1.3.0.0.dfsg-12ubuntu8.1
强制降到
2:1.3.0.0.dfsg-12ubuntu8
然后重启X
有时我们选择改变,并非经过深思熟虑,