X server crashing -- winClipboardProc - Call to select () failed: -1. Bailing.

2006-03-02 Thread Reid Thompson
X windows had been stable for quite a while for me( in continuous use, 
days, sometimes weeks at at time).  Over the past couple of weeks it's 
begun crashing fairly regularly.  The XWin.log has these final 
statements in it:



winClipboardProc - Call to select () failed: -1.  Bailing.
winClipboardProc - XDestroyWindow succeeded.

winClipboardIOErrorHandler!


Anyone have any pointers to what may have changed/be causing this?

My startxwin.sh calls
 XWin -multiwindow -clipboard -silent-dup-error 


cygcheck.out attached.


Thanks,
reid

Cygwin Configuration Diagnostics
Current System Time: Thu Mar 02 08:56:36 2006

Windows XP Professional Ver 5.1 Build 2600 Service Pack 2

Path:   C:\cygwin\usr\local\sbin
C:\cygwin\home\rthompso\bin
C:\cygwin\bin
C:\cygwin\lib\subversion\bin
C:\cygwin\usr\local\bin
C:\cygwin\bin
C:\cygwin\home\rthompso
C:\cygwin\usr\sbin
C:\cygwin\usr\local\pgsql\bin
C:\cygwin\usr\jikes\bin
C:\j2sdk1.4.2\bin
C:\ant-1.6.1\bin
C:\cygwin\usr\X11R6\bin
C:\cygwin\opt\gnome2\bin
C:\cygwin\opt\kde3\bin
C:\cygwin\opt\kde3\lib
C:\cygwin\opt\qt\3.2\bin
C:\MyPrograms\ApacheSoftwareFoundation\Maven1.0.1\bin
C:\cygwin\opt\bin
C:\WINDOWS\system32

Output from C:\cygwin\bin\id.exe (nontsec)
UID: 11192(Reid.Thompson)
GID: 10513(Domain Users)
0(root)
544(Administrators)
545(Users)
1005(Debugger Users)
11215(all)
10512(Domain Admins)
10513(Domain Users)
10519(Enterprise Admins)
11371(Team - Internal Information Systems)
12853(Team - Telecom)

Output from C:\cygwin\bin\id.exe (ntsec)
UID: 11192(Reid.Thompson)
GID: 10513(Domain Users)
0(root)
544(Administrators)
545(Users)
1005(Debugger Users)
11215(all)
10512(Domain Admins)
10513(Domain Users)
10519(Enterprise Admins)
11371(Team - Internal Information Systems)
12853(Team - Telecom)

SysDir: C:\WINDOWS\system32
WinDir: C:\WINDOWS

LIBRARY_PATH = '/usr/lib:/usr/local/lib:/lib:/usr/local/pgsql/lib'
LD_LIBRARY_PATH = '/usr/lib:/usr/X11R6/lib'
TCL_LIBRARY = 'c:\ruby\tcl\lib\tcl8.3'
GCC_EXEC_PREFIX = '/usr/lib'
C_INCLUDE_PATH = '/usr/include'
PWD = '/home/rthompso'
CYGWIN = 'server binmode tty ntsec'
HOME = '/home/rthompso'

Use '-r' to scan registry

a:  fd N/AN/A
c:  hd  NTFS 76285Mb  82% CP CS UN PA FC 
d:  cd N/AN/A
e:  cd N/AN/A
s:  net NTFS271802Mb  15% CP CS UN PA FC Ateb Shared
u:  net NTFS271802Mb  18% CP CS UN PA FC User Store
w:  net NTFS  1011Mb  92% CP CSPArthompso
y:  net NTFS  1011Mb  73% CP CSPArthompso
z:  net NFS  16995Mb  30% CP 

.  /cygdrive user
binmode,cygdrive
C:\cygwin  / system  binmode
A: /Asystem  
binmode,exec
C:\cygwin\bin  /bin  system  binmode
C: /Csystem  
binmode,exec
\cygdrive\x/C/synxnetsystem  binmode
C:\cygwin\lib  /lib  system  binmode
U: /Usystem  
binmode,exec
C:\cygwin\bin  /usr/bin  system  binmode
C:\cygwin\lib  /usr/lib  system  binmode
C:\cygwin\usr\X11R6\lib\X11\fonts  /usr/X11R6/lib/X11/fonts  system  binmode
.  /cygdrive system  
binmode,cygdrive

Found: C:\cygwin\bin\awk.exe
Found: C:\cygwin\bin\bash.exe
Found: C:\cygwin\bin\cat.exe
Found: C:\cygwin\bin\cp.exe
Found: C:\cygwin\bin\cpp.exe
Found: C:\cygwin\bin\crontab.exe
Found: C:\cygwin\bin\find.exe
Found: C:\cygwin\bin\gcc.exe
Found: C:\cygwin\bin\gdb.exe
Found: C:\cygwin\bin\grep.exe
Found: C:\cygwin\bin\kill.exe
Found: C:\cygwin\bin\ld.exe
Found: C:\cygwin\bin\ls.exe
Found: C:\cygwin\bin\make.exe
Found: C:\cygwin\bin\mv.exe
Found: C:\cygwin\bin\patch.exe
Found: C:\cygwin\bin\perl.exe
Found: C:\cygwin\bin\rm.exe
Found: C:\cygwin\bin\sed.exe
Found: C:\cygwin\bin\ssh.exe
Found: C:\cygwin\bin\sh.exe
Found: C:\cygwin\bin\tar.exe
Found: C:\cygwin\bin\test.exe
Not Found: vi
Found: C:\cygwin\usr\local\bin\vim.exe

   20k 2003/08/21 C:\cygwin\home\rthompso\cyg.dll
   28k 2003/08/21 C:\cygwin\home\rthompso\cygmydll.dll
   25k 2005/08/15 C:\cygwin\bin\cygao-2.dll
   91k 2005/11/11 C:\cygwin\bin\cygapr-0-0.dll
   67k 2005/11/11 C:\cygwin\bin\cygaprutil-0-0.dll
   52k 2005/11/10 C:\cygwin\bin\cygart_lgpl-2.dll
   76k 2005/07/30 C:\cygwin\bin\cygart_lgpl_2-2.dll
  113k 2005/07/16 C:\cygwin\bin\cygatk-1.0-0.dll
  204k 2004/10/28 C:\cygwin\bin\cygatkmm-1.0-1.dll
  237k 2004/11/04 C:\cygwin\bin\cygatkmm-1.6-1.dll
  145k 2004/09/02 

Re: Remote client through telnet gives error 232

2006-03-02 Thread Reid Thompson

Simon Keen wrote:
I am trying to run remote clients on an X server using telnet, but am 
encountering an error. My setup is as follows:


 - runnning X server on Cygwin_NT-5.1 on a windows XP Professional
laptop. I initiate this by running the default startxwin.bat from the
directory C:\cygwin\usr\X11R6\bin;

 - in the bash shell that opens I enter xhost + to disable access
control;

 - I then telnet from my laptop to an HP-UX 11.0 server at IP
158.234.197.198, and login as root;

 - I run export DISPLAY=158.234.197.171:0.0 (the IP of my laptop);

 - I run an application requiring an X window: sam, which raises the
following error:

XIO:  fatal IO error 232 (Connection reset by peer) on X server
158.234.197.171:0.0
  after 0 requests (0 known processed) with 0 events remaining.


 - I get the same error if I try to run xterm or xclock;

 - As far as I know there is no port blocking between my laptop and
ther server. A trace route displays:

D:\tracert 158.234.197.198

Tracing route to 158.234.197.198 over a maximum of 30 hops

  1 1 ms1 ms1 ms  158.234.197.198

Trace complete.

 - with the X server running, I am able to run local X window
applications, e.g. xterm or xclock;

Any suggestions?

Simon.



___ 
Win a BlackBerry device from O2 with Yahoo!. Enter now. http://www.yahoo.co.uk/blackberry


--
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/

  

is your XP firewall on?
If you login to the HP-UX box as a non-root user, does the same error occur?

--
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/



Looking for Cygwin/X maintainer

2006-03-02 Thread Christopher Faylor
Our Cygwin/X maintainer seems to have disappeared so it looks like we,
once again, are looking for volunteers to be the go to person for
Cygwin/X.  That would mean building new releases, handling problems in
this mailing list, and keeping the cygwin-xfree web site up-to-date.

If you are interested please reply to this message.

Lets keep it on the list please.

cgf/corinna

--
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: Looking for Cygwin/X maintainer

2006-03-02 Thread Alan Hourihane
On Thu, 2006-03-02 at 10:45 -0500, Christopher Faylor wrote:
 Our Cygwin/X maintainer seems to have disappeared so it looks like we,
 once again, are looking for volunteers to be the go to person for
 Cygwin/X.  That would mean building new releases, handling problems in
 this mailing list, and keeping the cygwin-xfree web site up-to-date.
 
 If you are interested please reply to this message.

I'm still here, but v. busy.

So if someone does want to take over - feel free.

Alan.


--
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: Looking for Cygwin/X maintainer

2006-03-02 Thread Corinna Vinschen
On Mar  2 15:49, Alan Hourihane wrote:
 On Thu, 2006-03-02 at 10:45 -0500, Christopher Faylor wrote:
  Our Cygwin/X maintainer seems to have disappeared so it looks like we,
  once again, are looking for volunteers to be the go to person for
  Cygwin/X.  That would mean building new releases, handling problems in
  this mailing list, and keeping the cygwin-xfree web site up-to-date.
  
  If you are interested please reply to this message.
 
 I'm still here, but v. busy.
 
 So if someone does want to take over - feel free.

It would really be helpful for the Cygwin/X project if somebody could
take over.  We would really appreciate if somebody with more time to
reply to problems on this list and to look for bug-fixes etc. would
volunteer.


Thanks in advance,
Corinna

-- 
Corinna Vinschen  Please, send mails regarding Cygwin to
Cygwin Project Co-Leader  cygwin AT cygwin DOT com
Red Hat

--
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/



Problem with running application over SSH tunnel?

2006-03-02 Thread Michael J. Wheeler
Hello all,

I'm having a bit of a strange problem, maybe somebody can help me out...

I am running the latest updated cygwin on my windows XP SP2 desktop
machine. I'm ssh'ing (ssh -X or ssh -Y) into our AIX 5.1 box. I'm trying to
run the eclipse IDE. The application launches fine, but it does not seem to
accept any input from me (mouse clicks and key presses seem to do nothing).
The strange thing is that I'm able to run other applications over the
tunnel just fine.

I am pretty sure it's a cygwin X server problem because I had another guy
in the office with a linux box do the exact same thing as me, and he is
able to launch the application just fine.

Any ideas?

-- 
Michael J. Wheeler
System Administrator
Pittsburg State University
Phone:  620-235-4610
E-mail: [EMAIL PROTECTED]

-- 
Rap's Law of Inanimate Reproduction:
If you take something apart and put it back together enough times,
eventually you will have two of them.


--
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: Problem with running application over SSH tunnel?

2006-03-02 Thread Igor Peshansky
On Thu, 2 Mar 2006, Michael J. Wheeler wrote:

 Hello all,

 I'm having a bit of a strange problem, maybe somebody can help me out...

 I am running the latest updated cygwin on my windows XP SP2 desktop
 machine. I'm ssh'ing (ssh -X or ssh -Y) into our AIX 5.1 box. I'm trying
 to run the eclipse IDE. The application launches fine, but it does not
 seem to accept any input from me (mouse clicks and key presses seem to
 do nothing). The strange thing is that I'm able to run other
 applications over the tunnel just fine.

 I am pretty sure it's a cygwin X server problem because I had another
 guy in the office with a linux box do the exact same thing as me, and he
 is able to launch the application just fine.

 Any ideas?

Does http://x.cygwin.com/docs/faq/cygwin-x-faq.html#numlock-modifier
help?
Igor
-- 
http://cs.nyu.edu/~pechtcha/
  |\  _,,,---,,_[EMAIL PROTECTED] | [EMAIL PROTECTED]
ZZZzz /,`.-'`'-.  ;-;;,_Igor Peshansky, Ph.D. (name changed!)
 |,4-  ) )-,_. ,\ (  `'-'   old name: Igor Pechtchanski
'---''(_/--'  `-'\_) fL a.k.a JaguaR-R-R-r-r-r-.-.-.  Meow!

Las! je suis sot... -Mais non, tu ne l'es pas, puisque tu t'en rends compte.
But no -- you are no fool; you call yourself a fool, there's proof enough in
that! -- Rostand, Cyrano de Bergerac

--
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: Problem with running application over SSH tunnel?

2006-03-02 Thread Michael J. Wheeler
Igor Peshansky wrote:
 Does http://x.cygwin.com/docs/faq/cygwin-x-faq.html#numlock-modifier
 help?
   Igor

Nope. Doesn't work if numlock is on or off.


-- 
Michael J. Wheeler
System Administrator
Pittsburg State University
Phone:  620-235-4610
E-mail: [EMAIL PROTECTED]

-- 
Rap's Law of Inanimate Reproduction:
If you take something apart and put it back together enough times,
eventually you will have two of them.


--
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: Looking for Cygwin/X maintainer

2006-03-02 Thread Christopher Faylor
On Thu, Mar 02, 2006 at 05:00:48PM +0100, Corinna Vinschen wrote:
On Mar  2 15:49, Alan Hourihane wrote:
On Thu, 2006-03-02 at 10:45 -0500, Christopher Faylor wrote:
Our Cygwin/X maintainer seems to have disappeared so it looks like we,
once again, are looking for volunteers to be the go to person for
Cygwin/X.  That would mean building new releases, handling problems in
this mailing list, and keeping the cygwin-xfree web site up-to-date.

If you are interested please reply to this message.

I'm still here, but v.  busy.

So if someone does want to take over - feel free.

It would really be helpful for the Cygwin/X project if somebody could
take over.  We would really appreciate if somebody with more time to
reply to problems on this list and to look for bug-fixes etc.  would
volunteer.

And to clarify - both Corinna and I sent Alan personal email asking for
feedback before I sent out my note.  I wasn't trying to surprise Alan by
sending that note.

cgf

--
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: Looking for Cygwin/X maintainer

2006-03-02 Thread Alan Hourihane
On Thu, 2006-03-02 at 12:09 -0500, Christopher Faylor wrote:
 On Thu, Mar 02, 2006 at 05:00:48PM +0100, Corinna Vinschen wrote:
 On Mar  2 15:49, Alan Hourihane wrote:
 On Thu, 2006-03-02 at 10:45 -0500, Christopher Faylor wrote:
 Our Cygwin/X maintainer seems to have disappeared so it looks like we,
 once again, are looking for volunteers to be the go to person for
 Cygwin/X.  That would mean building new releases, handling problems in
 this mailing list, and keeping the cygwin-xfree web site up-to-date.
 
 If you are interested please reply to this message.
 
 I'm still here, but v.  busy.
 
 So if someone does want to take over - feel free.
 
 It would really be helpful for the Cygwin/X project if somebody could
 take over.  We would really appreciate if somebody with more time to
 reply to problems on this list and to look for bug-fixes etc.  would
 volunteer.
 
 And to clarify - both Corinna and I sent Alan personal email asking for
 feedback before I sent out my note.  I wasn't trying to surprise Alan by
 sending that note.

That's interesting - because I didn't get anything from either of you.

Alan.


--
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: Looking for Cygwin/X maintainer

2006-03-02 Thread Alan Hourihane
On Thu, 2006-03-02 at 12:09 -0500, Christopher Faylor wrote:
 On Thu, Mar 02, 2006 at 05:00:48PM +0100, Corinna Vinschen wrote:
 On Mar  2 15:49, Alan Hourihane wrote:
 On Thu, 2006-03-02 at 10:45 -0500, Christopher Faylor wrote:
 Our Cygwin/X maintainer seems to have disappeared so it looks like we,
 once again, are looking for volunteers to be the go to person for
 Cygwin/X.  That would mean building new releases, handling problems in
 this mailing list, and keeping the cygwin-xfree web site up-to-date.
 
 If you are interested please reply to this message.
 
 I'm still here, but v.  busy.
 
 So if someone does want to take over - feel free.
 
 It would really be helpful for the Cygwin/X project if somebody could
 take over.  We would really appreciate if somebody with more time to
 reply to problems on this list and to look for bug-fixes etc.  would
 volunteer.
 
 And to clarify - both Corinna and I sent Alan personal email asking for
 feedback before I sent out my note.  I wasn't trying to surprise Alan by
 sending that note.

But, yet more thoughts. Given that Chris  Corinna want a more active
person to maintain Cygwin/X - I should stand down anyway.

Thanks for having me.

Alan.


--
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: Looking for Cygwin/X maintainer

2006-03-02 Thread Corinna Vinschen
On Mar  2 17:28, Alan Hourihane wrote:
 On Thu, 2006-03-02 at 12:09 -0500, Christopher Faylor wrote:
  On Thu, Mar 02, 2006 at 05:00:48PM +0100, Corinna Vinschen wrote:
  On Mar  2 15:49, Alan Hourihane wrote:
  On Thu, 2006-03-02 at 10:45 -0500, Christopher Faylor wrote:
  Our Cygwin/X maintainer seems to have disappeared so it looks like we,
  once again, are looking for volunteers to be the go to person for
  Cygwin/X.  That would mean building new releases, handling problems in
  this mailing list, and keeping the cygwin-xfree web site up-to-date.
  
  If you are interested please reply to this message.
  
  I'm still here, but v.  busy.
  
  So if someone does want to take over - feel free.
  
  It would really be helpful for the Cygwin/X project if somebody could
  take over.  We would really appreciate if somebody with more time to
  reply to problems on this list and to look for bug-fixes etc.  would
  volunteer.
  
  And to clarify - both Corinna and I sent Alan personal email asking for
  feedback before I sent out my note.  I wasn't trying to surprise Alan by
  sending that note.
 
 That's interesting - because I didn't get anything from either of you.

Chris sent a mail on 2 Feb 2006, I'm cc'ed.   I sent a follow-up mail on
20 Feb 2006, Chris was cc'ed.  Both mails were sent to

  Alan Hourihane alanh AT fairlite DOT demon DOT co DOT uk

Text:

  Hi Alan,

  Are you still interested in being the cygwin/x maintainer?  I haven't
  seen much activity from you in the mailing list.

  I understand completely if you don't have the time for this but I think
  we need really need some active involvement on the mailing list and we
  probably need a new release as well.

  Should we open up this up for other volunteers?

  cgf


My follow-up mail was just a ping.  It's strange that both messages
should be lost or being munched by a spam filter.


Corinna

-- 
Corinna Vinschen  Please, send mails regarding Cygwin to
Cygwin Project Co-Leader  cygwin AT cygwin DOT com
Red Hat

--
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: Windows programs in Cygwin/X ?

2006-03-02 Thread Cary Jamison
Doug Bohl wrote:
 After much turmoil, I've managed to get a number of window managers
 running in Cygwin/X.  What I'm wondering is this:  Is it at all
 possible to allow my windows programs to be managed by my Cygwin/X
 window manager?  Presently, if I'm in -fullscreen mode and I'm running
 some X programs, I'd have to alt+tab out of X and into explorer.

It's only possible to go the other way - have Windows manage both your X and 
your Windows windows.  Is there a reason you don't want to go this way? 
Have you tried -multiwindow?


Cary




--
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: Windows programs in Cygwin/X ?

2006-03-02 Thread Chris Green
On Thu, Mar 02, 2006 at 01:25:29PM -0700, Cary Jamison wrote:
 Doug Bohl wrote:
  After much turmoil, I've managed to get a number of window managers
  running in Cygwin/X.  What I'm wondering is this:  Is it at all
  possible to allow my windows programs to be managed by my Cygwin/X
  window manager?  Presently, if I'm in -fullscreen mode and I'm running
  some X programs, I'd have to alt+tab out of X and into explorer.
 
 It's only possible to go the other way - have Windows manage both your X and 
 your Windows windows.  Is there a reason you don't want to go this way? 
 Have you tried -multiwindow?
 
I still think the most obvious answer is a multiple desktop utility on
the windows machine. Just click to the 'other' window.

-- 
Chris Green ([EMAIL PROTECTED])

Never ascribe to malice that which can be explained by incompetence.

--
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: Problem with running application over SSH tunnel?

2006-03-02 Thread Larry Hall (Cygwin X)

Michael J. Wheeler wrote:

Hello all,

I'm having a bit of a strange problem, maybe somebody can help me out...

I am running the latest updated cygwin on my windows XP SP2 desktop
machine. I'm ssh'ing (ssh -X or ssh -Y) into our AIX 5.1 box. I'm trying to
run the eclipse IDE. The application launches fine, but it does not seem to
accept any input from me (mouse clicks and key presses seem to do nothing).
The strange thing is that I'm able to run other applications over the
tunnel just fine.

I am pretty sure it's a cygwin X server problem because I had another guy
in the office with a linux box do the exact same thing as me, and he is
able to launch the application just fine.

Any ideas?




Try to ssh to Linux instead? ;-)  I did this from my Cygwin (latest) to
my Fedora Core 4 (pretty close to latest).  It worked just fine for me.
If it's a Cygwin-X problem, it's a local one.

--
Larry Hall  http://www.rfk.com
RFK Partners, Inc.  (508) 893-9779 - RFK Office
838 Washington Street   (508) 893-9889 - FAX
Holliston, MA 01746

--
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: Problem Starting X-Windows -- Problem solved

2006-03-02 Thread wonder
René Berber r.berber at computer.org writes:

 
 wonder wrote:
 [snip]
  I have a similar problem with startx or whichever way to start X. 
It was all 
  ok before. The problem happened since yesterday. It probably has 
to do with 
  the installation of the McAfee Privacy Service module. 
This module might have
  changed some settings on my computer. The symptom is that 
you can launch X
  applications, but nothing pops out. There are one or more 
instances of sh.exe
  running with (nearly) 100% CPU usage. Once you kill all sh.exe 
processes, the
  xterms will show up on your desktop. But anything that relies on 
sh.exe will 
  not be able to run. For example, you can try SSH with 
X11 forwarding enabled. 
  But it will invoke sh.exe and therefore won't get connected 
until you kill
the newly
  invoked sh.exe. Unfortunately, the X11 tunnel will be broken 
after sh.exe is
killed.
  
  I hope I have described clearly. Anybody has a solution?
 
 No, it's not clear.
 
 1. Does XWin starts fine? (is your question really about a 
problem starting XWin?)
 
 2. How do you launch X applications? (there shouldn't be 
any sh.exe started if
 you run something else)
 
 3. Does disabling McAfee helps?
 


Just read a little further on this issue. It turns out that SSH.EXE 
does call sh.exe or cmd.exe in order to pass certain parameters. 
But I don't know in which case ssh.exe does which. Somewhere 
I remember it says when sh.exe is available,
ssh.exe will launch it. So my simple solution is just to rename 
sh.exe to something else. Then everything goes back to normal, 
and ssh.exe does not complain at all about missing sh.exe. 

PS. I cannot find a way to uninstall the McAfee Privacy Service 
component alone (once installed) without uninstalling the entire 
McAfee package. 

I did some tests before I found the above solution. It seems any 
other X applications (e.g., xterm) launches fine once XWin is up 
and running (after one
kills sh.exe), as long as this application does not call sh.exe. 
One thing I didn't describe accurately in my last post was that 
the X tunneling was actually NOT broken after sh.exe was killed.

I hope this info is useful to other people who suffer from 
the same sh.exe problem. 


--
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/