Received: from SOUTH-STATION-ANNEX.MIT.EDU by po7.MIT.EDU (5.61/4.7) id AA18083; Tue, 19 Dec 95 14:11:23 EST
Received: from pain.lcs.mit.edu by MIT.EDU with SMTP
	id AA19002; Tue, 19 Dec 95 14:11:18 EST
Received: (from daemon@localhost) by pain.lcs.mit.edu (8.6.12/8.6.9) id LAA07457; Tue, 19 Dec 1995 11:16:31 -0500
Received: from adinet.analog.com by pain.lcs.mit.edu (8.6.12/8.6.9) with SMTP id KAA06530 for <port-i386@NetBSD.ORG>; Tue, 19 Dec 1995 10:53:07 -0500
Received: by adinet.analog.com id AA06567
  (InterLock SMTP Gateway 3.0 for port-i386@NetBSD.ORG);
  Tue, 19 Dec 1995 10:51:07 -0500
Received: by adinet.analog.com (Internal Mail Agent-3);
  Tue, 19 Dec 1995 10:51:07 -0500
Received: by adinet.analog.com (Internal Mail Agent-2);
  Tue, 19 Dec 1995 10:51:07 -0500
Received: by adinet.analog.com (Internal Mail Agent-1);
  Tue, 19 Dec 1995 10:51:07 -0500
Date: Tue, 19 Dec 95 10:49:09 EST
Message-Id: <9512191549.AA12482@cthulhu>
From: Mike Long <mike.long@analog.com>
To: devtrix@netcom.com
Cc: port-i386@NetBSD.ORG
In-Reply-To: <199512191445.GAA03733@netcom21.netcom.com> (devtrix@netcom.com)
Subject: Re: Xserver trouble...
Organization: Analog Devices CPD
Reply-To: Mike Long <mike.long@analog.com>
Sender: owner-port-i386@NetBSD.ORG
Precedence: list
X-Loop: port-i386@NetBSD.ORG


>From: devtrix@netcom.com (Matthew B. Wood)
>Date: Tue, 19 Dec 1995 06:45:10 -0800 (PST)

>Then I noticed that after I tried to open a few "xterm"s they were bombing
>out on me.  I logged the Xserver output and got this:
>
>setegid(50): Operation not permitted
>setegid(50): Operation not permitted
>
>Now I seem to be getting the error but I seem to be able to launch an 
>Xwindow OK in spite of this.  Does anyone know where I might look to tune 
>this up?

This may be a permissions problem on your xterm binary.
/usr/bin/X11/xterm is usually installed setuid root so that it can use
the TIOCCONS ioctl to get console output (the -C flag).

(Question: shouldn't the UCONSOLE kernel compile option make this
unnecessary?)

If that doesn't fix it, then try

ktrace -i xterm

and send us the results from kdump.
-- 
Mike Long <mike.long@analog.com>           http://www.shore.net/~mikel
VLSI Design Engineer         finger mikel@shore.net for PGP public key
Analog Devices, CPD Division          CCBF225E7D3F7ECB2C8F7ABB15D9BE7B
Norwood, MA 02062 USA       (eq (opinion 'ADI) (opinion 'mike)) -> nil
