Ubuntu 10.04(Lucid)下X错误:Maximum number of clients reached

各种窗口管理器和美化相关
回复
头像
qiufeng
帖子: 296
注册时间: 2007-09-04 13:51
来自: LC @ eastasia

Ubuntu 10.04(Lucid)下X错误:Maximum number of clients reached

#1

帖子 qiufeng » 2012-01-11 20:40

Maximum number of clients reached
/usr/lib/openoffice/program/soffice.bin X11 error: Can't open display:
Set DISPLAY environment variable, use -display option
or check permissions of your X-Server
(See "man X" resp. "man xhost" for details)
上面是在命令行执行soffice后出现的提示信息。这时无论是双击office文档还是从命令行都无法再打开openoffice窗口。只有通过注销重登录解决。

nautilus和evince也出现过类似的问题。而且这类问题通常在开机5、6个小时后出现。

我用的是ubuntu+openbox,不知是否和openbox有关?

用下面的命令看, 发现窗口数还不到255个。

代码: 全选

xwininfo -root -children
头像
qiufeng
帖子: 296
注册时间: 2007-09-04 13:51
来自: LC @ eastasia

Re: Ubuntu 10.04(Lucid)下X错误:Maximum number of clients reache

#2

帖子 qiufeng » 2012-05-17 8:28

怀疑是thunderbird或其插件的问题。退出thunderbird再重新打开,就没问题了。
回复