2008-12-03 86 views
0

我的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沒」幫助。

回答

1

參見this

  1. 首先通過右鍵單擊系統托盤中的X圖標並選擇退出來停止服務器。

  2. 運行位於/ usr/bin中的startxwin.bat文件。

0

我腦海中的某些東西在說「關閉Num Lock」。

我不知道爲什麼。