0

我的 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 没有帮助。

4

2 回答 2

1

看到这个

  1. 首先通过右键单击系统托盘中的 X 图标并选择退出来停止服务器。

  2. 运行位于 /usr/bin 中的 startxwin.bat 文件。

于 2008-12-03T18:59:18.397 回答
0

我脑海里的东西是“关闭Num Lock”。

我不确定为什么。

于 2008-12-03T19:00:52.107 回答