I am running Cygwin-X on Windows XP, connecting to a Gentoo workstation
via xdmcp. If I connect to a session running Gnome one processor on my
Windows machine spikes to 100% usage and stays there. Memory use
appears to remain constant and the X-session is responsive. The CPU
doesn't spike while GDM is active, just while the Gnome session is active.
If I use a different window manager, such as Blackbox, the CPU does not
spike. Other activities on the XP machine seem normal and other
programs seem normal. I have closed xdmcp session, close and restarted
Cygwin, and rebooted XP.
I ran Windows Update last Friday and shut down my Windows machine for
the weekend. I didn't notice anything amiss before then, though I
cannot guarantee there wasn't a problem. There were some Gnome updates
in Gentoo that I emerged recently, I think it was just at the beginning
of last week or the previous week, but I don't recall noticing the CPU
spiking afterward.
In order to try solving the problem I ran the Cygwin setup program and
let it install all new updates; when that didn't work I re-ran and
force-reinstalled everything. The core Cygwin DLL and X libraries were
not updated - they're current according to the setup program and the
updates that were found were for some utilities (I didn't record which
ones).
I have tried googling this with terms like cygwin xdmcp gnome cpu 100%
and a few variations of that but I haven't found anything relevant (or
recent).
Is this a Cygwin problem? CPU usage is normal on the remote Linux box
(the client, in X parlance), and it seems coincident with MS updates so
it seems reasonable that it's not a direct problem with Gnome per se but
with the XP machine (the server).
Attached is the output of cygcheck
Cygwin Configuration Diagnostics
Current System Time: Tue Oct 27 16:28:06 2009
Windows XP Professional Ver 5.1 Build 2600 Service Pack 3
Path: C:\cygwin\usr\local\bin
C:\cygwin\bin
C:\cygwin\bin
C:\cygwin\usr\X11R6\bin
c:\Perl\bin\
c:\WINDOWS\system32
c:\WINDOWS
c:\WINDOWS\System32\Wbem
c:\Program Files\PuTTY
c:\Program Files\Sysinternals
c:\Program Files\Support Tools\
c:\Program Files\QuickTime\QTSystem
c:\Program Files\WinZip
c:\Program Files\Common Files\GTK\2.0\bin
c:\Program Files\Subversion\bin
c:\Program Files\TortoiseSVN\bin
c:\Program Files\QuickTime\QTSystem\
Output from C:\cygwin\bin\id.exe (nontsec)
UID: 11862(username) GID: 10545(mkgroup-l-d)
0(root) 544(Administrators) 545(Users)
1004(Debugger Users)10545(mkgroup-l-d)
Output from C:\cygwin\bin\id.exe (ntsec)
UID: 11862(username) GID: 10545(mkgroup-l-d)
0(root) 544(Administrators) 545(Users)
1004(Debugger Users)10545(mkgroup-l-d)
SysDir: C:\WINDOWS\system32
WinDir: C:\WINDOWS
USER = 'username'
PWD = '/cygdrive/c/Documents and Settings/username'
HOME = '/cygdrive/c/Documents and Settings/username'
MAKE_MODE = 'unix'
HOMEPATH = '\Documents and Settings\username'
MANPATH = '/usr/local/man:/usr/share/man:/usr/man::/usr/ssl/man'
APPDATA = 'C:\Documents and Settings\username\Application Data'
HOSTNAME = 'hostname'
TERM = 'cygwin'
PROCESSOR_IDENTIFIER = 'x86 Family 15 Model 6 Stepping 4, GenuineIntel'
WINDIR = 'C:\WINDOWS'
OLDPWD = '/usr/bin'
USERDOMAIN = 'domain'
OS = 'Windows_NT'
ALLUSERSPROFILE = 'C:\Documents and Settings\All Users'
APR_ICONV_PATH = 'C:\Program Files\Subversion\iconv'
TEMP = '/cygdrive/c/DOCUME~1/username/LOCALS~1/Temp'
COMMONPROGRAMFILES = 'C:\Program Files\Common Files'
QTJAVA = 'C:\Program Files\Java\jre6\lib\ext\QTJava.zip'
USERNAME = 'username'
QWT_HOME = 'C:\Qantom\WET'
PROCESSOR_LEVEL = '15'
FP_NO_HOST_CHECK = 'NO'
SYSTEMDRIVE = 'C:'
__COMPAT_LAYER = 'EnableNXShowUI '
USERPROFILE = 'C:\Documents and Settings\username'
CLIENTNAME = 'Console'
PS1 = '\[\e]0;\w\a\]\n\[\e[32m\...@\h \[\e[33m\]\w\[\e[0m\]\n\$ '
LOGONSERVER = '\\WZDC2'
PROCESSOR_ARCHITECTURE = 'x86'
!C: = 'C:\cygwin\bin'
SHLVL = '1'
USERDNSDOMAIN = 'localhost.localdomain'
PATHEXT = '.COM;.EXE;.BAT;.CMD;.VBS;.VBE;.JS;.JSE;.WSF;.WSH'
HOMEDRIVE = 'C:'
PROMPT = '$P$G'
COMSPEC = 'C:\WINDOWS\system32\cmd.exe'
TMP = '/cygdrive/c/DOCUME~1/username/LOCALS~1/Temp'
SYSTEMROOT = 'C:\WINDOWS'
PRINTER = '\\WZFS1\HP LaserJet 4'
CVS_RSH = '/bin/ssh'
PROCESSOR_REVISION = '0604'
CLASSPATH = '.;C:\Program Files\Java\jre6\lib\ext\QTJava.zip'
INFOPATH = '/usr/local/info:/usr/share/info:/usr/info:'
PROGRAMFILES = 'C:\Program Files'
NUMBER_OF_PROCESSORS = '2'
SESSIONNAME = 'Console'
COMPUTERNAME = 'hostname'
_ = '/usr/bin/cygcheck'
HKEY_CURRENT_USER\Software\Cygnus Solutions
HKEY_CURRENT_USER\Software\Cygnus Solutions\Cygwin
HKEY_CURRENT_USER\Software\Cygnus Solutions\Cygwin\mounts v2
HKEY_CURRENT_USER\Software\Cygnus Solutions\Cygwin\Program Options
HKEY_LOCAL_MACHINE\SOFTWARE\Cygnus Solutions
HKEY_LOCAL_MACHINE\SOFTWARE\Cygnus Solutions\Cygwin