我的 cygwin xterm 没有响应键盘。
我能够运行 rxvt,但是当我启动其他 X 应用程序时,我遇到了同样的问题。
在 rxvt 命令提示符下,我得到以下信息:
$ xterm
xterm Xt error: Can't open display: :0
我的 XWin.0.log 的内容是:
$ cat XWin.0.log
Welcome to the XWin X Server
Vendor: The Cygwin/X Project
Release: 1.5.3.0 (10503000)
Contact: cygwin-xfree@cygwin.com
XWin was started with the following command line:
/usr/bin/XWin -multiwindow -clipboard -silent-dup-error
ddxProcessArgument - Initializing default screens
winInitializeDefaultScreens - w 1440 h 900
winInitializeDefaultScreens - Returning
Fatal server error:
Server is already active for display 0
If this server is no longer running, remove /tmp/.X0-lock
and start again.
GetWindowProp - pWin or name was NULL
GetWindowProp - pWin or name was NULL
GetWindowProp - pWin or name was NULL
GetWindowProp - pWin or name was NULL
GetWindowProp - pWin or name was NULL
GetWindowProp - pWin or name was NULL
GetWindowProp - pWin or name was NULL
GetWindowProp - pWin or name was NULL
删除 /tmp/.X0-lock 没有帮助。