Ubuntu系统更新导致Eclipse无法使用问题

王朝other·作者佚名  2008-05-18
窄屏简体版  字體: |||超大  

系统环境:

Ubuntu 7.10(gutsy)

Kernel Linux 2.6.22-14-generic

GNOME 2.20.1

系统更新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。

 
 
 
免责声明:本文为网络用户发布,其观点仅代表作者个人观点,与本站无关,本站仅提供信息存储服务。文中陈述内容未经本站证实,其真实性、完整性、及时性本站不作任何保证或承诺,请读者仅作参考,并请自行核实相关内容。
 
 
© 2005- 王朝網路 版權所有 導航