Xvfb 启动的时候报如下错误:
_XSERVTransSocketOpenCOTSServer: Unable to open socket for inet6
_XSERVTransOpen: transport open failed for inet6/DLAP6200:99
_XSERVTransMakeAllCOTSServerListeners: failed to open listener for inet6
10:32:29.042 INFO - Java: Sun Microsystems Inc. 10.0-b19
10:32:29.043 INFO - OS: Linux 2.6.18-238.el5PAE i386
10:32:29.049 INFO - v2.0 [a2], with Core v2.0 [a2]
在启动的脚本添加 -nolisten tcp 可以忽略错误提示,但是你要看一下可否正常工作哦。
google的其它方法:
http://www.errorhelp.com/search/details/67585/_xservtranssocketopencotsserver-unable-to-open-socket-for-inet6-_xservtransopen-transport-open-failed-for-inet6-hostname-0-_xservtransmakeallcotsserverlisteners-failed-to-open-listener-for-inet6
Error #67585_XSERVTransSocketOpenCOTSServer: Unable to open socket for inet6
_XSERVTransOpen: transport open failed for inet6/hostname:0
_XSERVTransMakeAllCOTSServerListeners: failed to open listener for inet6
Can you try running "netstat -p" as root, and look for lines for those two
ports - they should tell you which process is using the ports.
方法二:
在启动的参数里面添加 参数 -nolisten tcp
> i still have the error :(
>
> root@freescale ~$ export DISPLAY=:0.0
> root@freescale ~$ Xfbdev -nolisten tcp -mouse mouse,,device=/dev/input/mice -key
> bd keyboard,,/dev/input/event4 &
> root@freescale ~$ (EE) XKB: Couldn't open rules file /usr/share/X11/xkb/rules/base
> (EE) XKB: No components provided for device Virtual core keyboard
> Kbd option key (/dev/input/event4) of value ((null)) not assigned!
> (EE) XKB: Couldn't open rules file /usr/share/X11/xkb/rules/base
> (EE) XKB: No components provided for device (unnamed keyboard)
>
- Euh... Yes. And this is what I got too :-(
But, the X Window server errors are gone, and X Server and
mouse support must work now :-)
方法三、查看端口是否被占用