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

有帮助吗?

解决方案

.

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

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

其他提示

东西在我的脑海里是说“关掉Num Lock键。”

我不知道为什么。

许可以下: CC-BY-SA归因
不隶属于 StackOverflow
scroll top