delorie.com/archives/browse.cgi   search  
Mail Archives: cygwin/2002/06/27/10:51:32

Mailing-List: contact cygwin-help AT cygwin DOT com; run by ezmlm
List-Subscribe: <mailto:cygwin-subscribe AT cygwin DOT com>
List-Archive: <http://sources.redhat.com/ml/cygwin/>
List-Post: <mailto:cygwin AT cygwin DOT com>
List-Help: <mailto:cygwin-help AT cygwin DOT com>, <http://sources.redhat.com/ml/#faqs>
Sender: cygwin-owner AT cygwin DOT com
Mail-Followup-To: cygwin AT cygwin DOT com
Delivered-To: mailing list cygwin AT cygwin DOT com
Message-Id: <200206271450.g5REoTd85420@pilot20.cl.msu.edu>
Date: Thu, 27 Jun 2002 10:50:28 EDT
To: Keen Wayne A Contr AFRL/MNGG <keenwa AT eglin DOT af DOT mil>,
"'cygwin-xfree AT cygwin DOT com'" <cygwin-xfree AT cygwin DOT com>
Subject: Re: Progress? Still debugging [cgf or someone from cygwin list please comment]
From: Harold L Hunt <huntharo AT msu DOT edu>
Cc: cygwin AT cygwin DOT com

Wayne,

[Please be careful to only reply to cygwin-xfree AT cygwin DOT com, I am only sending
this to cygwin AT cygwin DOT com so that the Cygwin folks know what is going on.]

Non-xterm clients work fine.  xterm does not work.

The base problem here is that xterm calls getuid () to find out what the
current process's user id is.  Then it later calls setuid (), passing the same
value that was returned by getuid ().  For some reason, regardless of whether
you have run 'mkpasswd -d -u user_name >> /etc/passwd', the call to setuid ()
fails with Permission Denied.

This is not something that the Cygwin/XFree86 folks changed, rather it was
something that was changed in Cygwin proper (think cygwin1.dll).  From our
perspective, and probably from the perspective of the Cygwin developers,
cygwin1.dll is broken when Cygwin/XFree86 doesn't work right.

Thus, I'm going to guess that the Cygwin folks are working on this and that
you need to start testing the latest cygwin1.dll snapshots to help them, and
us, figure out when the problem is fixed.  I've got a machine now that has the
same problem so I will be testing snapshots as well, once a compile job finishes.

Here is some information on installing a snapshot release of cygwin1.dll:
http://cygwin.com/ml/cygwin-xfree/2002-06/msg00383.html


Until further notice, consider your bug acknowledged and in a state of being
repared.  Feel free to post your results with the latest snapshot to
cygwin-xfree AT cygwin DOT com, but don't expect any further information until the
problem is fixed.


Harold




Keen Wayne A Contr AFRL/MNGG <keenwa AT eglin DOT af DOT mil> said:

> OK, I changed strategy a little bit. I started working down the startx path.
> I moved the .xinitrc to my home and ran
> startx from the bash prompt.  It then complained of no .XAuthority file.  I
> googled a bit, and found a reference to
> an empty file being OK.  So I created one.  This led to some progress, the
> window comes up, with the clock even, 
> but when I click on anything it bombs back out with a message about fatal IO
> error 113.
> 
> startxwin.bat is still behaving the same...
> 
> Wayne
> 




--
Unsubscribe info:      http://cygwin.com/ml/#unsubscribe-simple
Bug reporting:         http://cygwin.com/bugs.html
Documentation:         http://cygwin.com/docs.html
FAQ:                   http://cygwin.com/faq/

- Raw text -


  webmaster     delorie software   privacy  
  Copyright © 2019   by DJ Delorie     Updated Jul 2019