Ubuntu 7.10安全更新后导致Eclipse无法使用的解决

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

内容版权声明:除非注明,否则皆为本站原创文章。

转载注明出处:https://www.heiqu.com/d8f46d6d1fc2973c8a900cfc284e636b.html