XWin.exe causes a 25% CPU load on Windows 7

Kees Dekker Kees.Dekker@infor.com
Mon Mar 20 07:37:00 GMT 2017


Additional information:

- the high CPU load does not occur, when I use (Microsoft) RDP to connect from home to my work PC. The work PC only shows the high CPU load when working 'at the console'. This may be related to GUI settings that are disabled when connecting with RDP (I've to do more research to understand what is going on here)
- attached a cygcheck report (BTW generation took a long time, i.e. 10 minutes or so)
- attached Xwin.0.log 
- attached .Xdefaults
- attached  .XWinrc (a dummy one, where host name have been renamed)
- attached .startwinrc

Reproduction:
1. fresh boot of windows
2. start X-server, by calling: C:\cygwin64\bin\run.exe /usr/bin/bash.exe -l -c /usr/bin/startxwin -- -clipboard -multiwindow -silent-dup-error
3. have a .XWinrc file that contains some menus, like attachment (hostnames have been renamed here to thumb names) 
4. observe the CPU load (as described in previous email)

Note:
If I remove .startwinrc, the default tray menu starts, but at that time, the ~/.Xdefaults file is ignored. Contrary to the settings in .XDefault, an xterm then get a menu and no correct size and scrollbar. This is something else, but just something that I noticed. Using the .startwinrc file as provided also processes the .Xdefaults file as expected.

Kees
-------------- next part --------------
A non-text attachment was scrubbed...
Name: cygcheck.out
Type: application/octet-stream
Size: 86431 bytes
Desc: cygcheck.out
URL: <http://cygwin.com/pipermail/cygwin/attachments/20170320/74dbfedf/attachment.obj>
-------------- next part --------------
A non-text attachment was scrubbed...
Name: XWin.0.log
Type: application/octet-stream
Size: 4397 bytes
Desc: XWin.0.log
URL: <http://cygwin.com/pipermail/cygwin/attachments/20170320/74dbfedf/attachment-0001.obj>
-------------- next part --------------
A non-text attachment was scrubbed...
Name: .XWinrc.dummy
Type: application/octet-stream
Size: 6907 bytes
Desc: .XWinrc.dummy
URL: <http://cygwin.com/pipermail/cygwin/attachments/20170320/74dbfedf/attachment-0002.obj>
-------------- next part --------------
A non-text attachment was scrubbed...
Name: ATT42421.startxwinrc
Type: application/octet-stream
Size: 501 bytes
Desc: ATT42421.startxwinrc
URL: <http://cygwin.com/pipermail/cygwin/attachments/20170320/74dbfedf/attachment-0003.obj>
-------------- next part --------------
A non-text attachment was scrubbed...
Name: ATT25636.Xdefaults
Type: application/octet-stream
Size: 1611 bytes
Desc: ATT25636.Xdefaults
URL: <http://cygwin.com/pipermail/cygwin/attachments/20170320/74dbfedf/attachment-0004.obj>
-------------- next part --------------

--
Problem reports:       http://cygwin.com/problems.html
FAQ:                   http://cygwin.com/faq/
Documentation:         http://cygwin.com/docs.html
Unsubscribe info:      http://cygwin.com/ml/#unsubscribe-simple


More information about the Cygwin mailing list