1.5.25-15: 100% CPU under xdmcp and Gnome
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
Re: 1.5.25-15: 100% CPU under xdmcp and Gnome
On 10/27/2009 06:21 PM, Quinn wrote: 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. snip Any interest in trying Cygwin 1.7 http://cygwin.com/#beta-test? I don't know if it would help but it has a newer X and friends and is actively maintained. -- Larry Hall http://www.rfk.com RFK Partners, Inc. (508) 893-9779 - RFK Office 216 Dalton Rd. (508) 893-9889 - FAX Holliston, MA 01746 _ A: Yes. Q: Are you sure? A: Because it reverses the logical flow of conversation. Q: Why is top posting annoying in email? -- Unsubscribe info: http://cygwin.com/ml/#unsubscribe-simple Problem reports: http://cygwin.com/problems.html Documentation: http://x.cygwin.com/docs/ FAQ: http://x.cygwin.com/docs/faq/
[ANNOUNCEMENT] [1.7] X11R7.5
Cygwin/X has been updated to X.Org X11R7.5 (for Cygwin 1.7 only). WHAT'S NEW IN X11R7.5? == * Almost 200 binary packages have been updated, including the latest upstream improvements and bug fixes. * New packages: dmxproto, libdmx1/libdmx-devel, xf86bigfontproto. * Support for IPv6 and other features new to Cygwin 1.7 are now available in packages using them. * The X11 headers have been rearranged, with a lot of shuffling between the *proto packages and their libX*-devel counterparts. This should be transparent to the end user as long as these packages are updated simultaneously. * The technical documentation in xorg-docs and other packages has been built into text, HTML, and PDF formats. FEATURES AND NOTES == X11R7.5 includes xorg-server 1.7 with many changes, including: * DMX support has been added. DMX allows one DISPLAY to span multiple screens on one or more computers within a network. It consists of Xdmx, the DMX server (which runs on top of the displaying computers' native XWin/Xming/Xorg/Xquartz servers), several dmx* clients, and the xdmxconfig GUI configuration editor. Because of the additional dependencies of these components, they have been packaged separately as xorg-server-dmx. * Support for the XFree86-BigFont extension has been restored. * In addition to the default gzip-compression of bitmap fonts, support for reading bzip2-compressed fonts has been enabled. * XWin's internal clipboard manager and -multiwindow window manager now default to using the local socket listener, then falling back to the inet and inet6 listeners. This allows them to work even in the case of a difficult firewall configuration, or if an explicit -nolisten argument has been passed. Please note the following limitations in this release: * Despite the update to X Input extension version 2.0 (XI2) which includes Multi-Pointer X (MPX), XWin is still limited to a single keyboard and pointing device due to the Windows APIs it uses. * The Record extension is currently broken and has therefore been temporarily disabled upstream. A fix is expected soon, at which time the extension will be re-enabled. In the meantime, clients using this extension (typically through libXtst) may be missing some functionality. DEPRECATIONS These X extensions, and their related packages, are no longer available: * XEvIE proto: evieext library: libXevie, libxcb-xevie Support for this extension was dropped before xorg-server-1.6. FURTHER DEVELOPMENT === Development of Cygwin/X is primarily focused on the XWin server; most other components are extremely stable and work OOTB. Anyone who despaired of touching the old monolithic tree will find things much easier with modular packages. If you want to see XWin stay current and add new features, then WE NEED YOU. Here are some of the projects that could be worked on: * Update the Cygwin/X website. * Continue development of hardware-accelerated AIGLX support. * Implement Extended Window Manager Hints in multiwindow mode. * Implement the Composite extension in multiwindow mode. * Implement Multi-Pointer X. * Implement the XVideo extension. * Implement newest XRandR protocol. * Continue development of WindowsWM extension and xwinwm. FEEDBACK All comments, questions, bug reports, patches, discussion, etc. should take place on the cygwin-xfree@ list. CREDITS === Jon Turney for pushing our existing patches upstream and contributing many new patches to this release. Colin Harrison for helping push his Xming patches upstream. Numerous users for their bug reports and suggestions during the 7.4 cycle. And whomever else I may have inadvertently neglected to mention. Enjoy! Yaakov Cygwin/X coordinator CYGWIN-XFREE-ANNOUNCE UNSUBSCRIBE INFO == If you want to unsubscribe from the cygwin-xfree-announce mailing list, please use the automated form at: http://cygwin.com/lists.html#subscribe-unsubscribe If this does not work, then look at the List-Unsubscribe: tag in the email header of this message. Send email to the address specified there. It will be in the format: cygwin-xfree-announce-unsubscribe-you=yourdomain@cygwin.com If you need more information on unsubscribing, start reading here: http://sourceware.org/lists.html#unsubscribe-simple Please read *all* of the information on unsubscribing that is available starting at this URL. -- Unsubscribe info: http://cygwin.com/ml/#unsubscribe-simple Problem reports: http://cygwin.com/problems.html Documentation: http://x.cygwin.com/docs/ FAQ: http://x.cygwin.com/docs/faq/
Re: startxwin.bat and checkX
On 16/10/2009 09:39, Ken Brown wrote: So I think startxwin.bat should use %RUN% checkX -wait -d %DISPLAY% -t 12 I've tested this on my system, and xterm always starts. If I omit '-wait', xterm sometimes doesn't start. Thanks for the bug report. This has been fixed in xinit-1.1.1-6. Yaakov Cygwin/X -- Unsubscribe info: http://cygwin.com/ml/#unsubscribe-simple Problem reports: http://cygwin.com/problems.html Documentation: http://x.cygwin.com/docs/ FAQ: http://x.cygwin.com/docs/faq/
How to open a standalone xterm
I know I've done this before, but I just can't get it to work on this new computer. It's running Windows 7 starter. I want to run xterm w/o running startx, ie I just want to open an xterm in windows, but I get: $ xterm xterm Xt error: Can't open display: xterm: DISPLAY is not set If I specify DISPLAY: $ xterm -display localhost:0.0 xterm Xt error: Can't open display: localhost:0.0 xterm: DISPLAY is not set TIA, Joel -- Unsubscribe info: http://cygwin.com/ml/#unsubscribe-simple Problem reports: http://cygwin.com/problems.html Documentation: http://x.cygwin.com/docs/ FAQ: http://x.cygwin.com/docs/faq/
Re: How to open a standalone xterm
So it looks like if I first start up the multiwindow window manager like so: xwin -multiwindow , then I can run xterm, but I have to specify the display. What's the typical way of automating this? On Tue, Oct 27, 2009 at 10:19 PM, Joel Gwynn joel...@gmail.com wrote: I know I've done this before, but I just can't get it to work on this new computer. It's running Windows 7 starter. I want to run xterm w/o running startx, ie I just want to open an xterm in windows, but I get: $ xterm xterm Xt error: Can't open display: xterm: DISPLAY is not set If I specify DISPLAY: $ xterm -display localhost:0.0 xterm Xt error: Can't open display: localhost:0.0 xterm: DISPLAY is not set TIA, Joel -- Unsubscribe info: http://cygwin.com/ml/#unsubscribe-simple Problem reports: http://cygwin.com/problems.html Documentation: http://x.cygwin.com/docs/ FAQ: http://x.cygwin.com/docs/faq/
Re: How to open a standalone xterm
On 10/27/2009 11:02 PM, Joel Gwynn wrote: So it looks like if I first start up the multiwindow window manager like so: xwin -multiwindow, then I can run xterm, but I have to specify the display. What's the typical way of automating this? startxwin.bat or startxwin.sh. -- Larry Hall http://www.rfk.com RFK Partners, Inc. (508) 893-9779 - RFK Office 216 Dalton Rd. (508) 893-9889 - FAX Holliston, MA 01746 _ A: Yes. Q: Are you sure? A: Because it reverses the logical flow of conversation. Q: Why is top posting annoying in email? -- Unsubscribe info: http://cygwin.com/ml/#unsubscribe-simple Problem reports: http://cygwin.com/problems.html Documentation: http://x.cygwin.com/docs/ FAQ: http://x.cygwin.com/docs/faq/
Running Java application with drag and drop support in cygwin
Hi, I have developed a Java application involving jTree with extensive drag and drop support, which runs correctly in my Linux box. However, when I switch to a windows box and access the same Linux box using cygwin x-server, the drag and drop in jTree stops working. Interestingly, rest of the application still works fine. After analyzing a bit I found that x-server is able to recognize the drag event but fails to recognize a drop event. Is there any setting, which should be done prior to running the Java swing applications? Here is a sample code which behaves in exactly same way. http://www.java2s.com/Code/Java/Swing-JFC/TreeDragandDrop.htm May be my problem is related to some setting. Though, not sure. Has anybody come across something similar? What should be done then? Please let me know. TIA Shefali -- Unsubscribe info: http://cygwin.com/ml/#unsubscribe-simple Problem reports: http://cygwin.com/problems.html Documentation: http://x.cygwin.com/docs/ FAQ: http://x.cygwin.com/docs/faq/