上面是在命令行执行soffice后出现的提示信息。这时无论是双击office文档还是从命令行都无法再打开openoffice窗口。只有通过注销重登录解决。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)
nautilus和evince也出现过类似的问题。而且这类问题通常在开机5、6个小时后出现。
我用的是ubuntu+openbox,不知是否和openbox有关?
用下面的命令看, 发现窗口数还不到255个。
代码: 全选
xwininfo -root -children