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 line
option to change this behavior. You can then get a meaningful
backtrace from your debugger if you break on the gdk_x_error() function.)"
解決方法一:
編輯gedit /etc/X11/xorg.conf
添加下面的部分,然後重啟gdm
Section "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