cygwin xterm 不响应键盘
我的 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: [email protected]
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 没有帮助。
My cygwin xterm is not responding to the keyboard.
I am able to run rxvt, but when I start other X applications I have the same problem.
From the rxvt command prompt, I get the following:
$ xterm
xterm Xt error: Can't open display: :0
The contents of my XWin.0.log are:
$ cat XWin.0.log
Welcome to the XWin X Server
Vendor: The Cygwin/X Project
Release: 1.5.3.0 (10503000)
Contact: [email protected]
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
Removing /tmp/.X0-lock didn't help.
如果你对这篇内容有疑问,欢迎到本站社区发帖提问 参与讨论,获取更多帮助,或者扫码二维码加入 Web 技术交流群。
绑定邮箱获取回复消息
由于您还没有绑定你的真实邮箱,如果其他用户或者作者回复了您的评论,将不能在第一时间通知您!
发布评论
评论(3)
请参阅此。
首先通过右键单击系统托盘中的 X 图标并选择退出来停止服务器。
运行位于/usr/bin 中的startxwin.bat 文件。
See this.
First stop the server by right-clicking on the X icon in the system tray and choosing exit.
Run the startxwin.bat file that is located in /usr/bin.
我脑子里有东西在说“关闭 Num Lock”。
我不知道为什么。
Something in the back of my mind is saying "turn off Num Lock".
I'm not sure why.
关闭 Num Lock 解决了我的问题。 我在运行 AIX 的远程系统上打开 xterm,唯一能做任何事情的键似乎是空格键,它可以输入一个空格。 关闭 Num Lock 可以让其他键正常工作。 (AIX 版本的 emacs 没有问题。)我认为这一定是对 AIX 4.3 版本 /usr/bin/X11/xterm 中 Num Lock 键的特殊处理
根据 Cygwin X 常见问题解答:
Turning off Num Lock solved my problem. I was opening an xterm on a remote system running AIX, and the only key that seemed to do anything was the space bar, which typed a space. Turning off Num Lock allowed the other keys to work. (The AIX version of emacs did not have a problem.) I assume it must be special treatment of the Num Lock key in AIX 4.3 version of /usr/bin/X11/xterm
According to the Cygwin X FAQ: