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: 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
Removing /tmp/.X0-lock didn't help.
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.