cygwin xterm没有响应键盘

时间:2008-12-03 18:39:16

标签: cygwin xterm rxvt

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

2 个答案:

答案 0 :(得分:1)

请参阅this

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

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

答案 1 :(得分:0)

我脑子里想的是“关闭Num Lock”。

我不确定为什么。