[comp.windows.x] X11R4 -- congratulations!

rlk@THINK.COM (Robert L. Krawitz) (01/06/90)

I'm up and running with X11R4 on my Sparcstation, and I must say that
this is really zippy compared to R3.

I had very few problems (modulo a few NFS timeouts, a botched attempt to
put the distribution somewhere other than /usr/???/X11, and the like).
Note that it is essential to run ldconfig (on Suns running 4.0) before
attempting to use R4, due to the shared libraries.

A few minor incompatibilities:  specifying xterm*utmpInhibit: on or
xterm*titlebar: off causes xterm to fail to come up and to exit after a
few seconds with status 0.

All in all, I'm very happy with it!

ames >>>>>>>>>  |	Robert Krawitz <rlk@think.com>	245 First St.
bloom-beacon >  |think!rlk	(postmaster)		Cambridge, MA  02142
harvard >>>>>>  .	Thinking Machines Corp.		(617)876-1111

cmf@obie.cis.pitt.edu (Carl M. Fongheiser) (01/06/90)

In article <9001051925.AA15747@underprize.think.com> rlk@THINK.COM (Robert L. Krawitz) writes:
>A few minor incompatibilities:  specifying xterm*utmpInhibit: on or
>xterm*titlebar: off causes xterm to fail to come up and to exit after a
>few seconds with status 0.

I haven't tried it with titlebar off, but here's a bug report I already
sent off to xbugs about utmpInhibit.

				Carl Fongheiser
				cmf@unix.cis.pitt.edu


			  X Window System Bug Report
			    xbugs@expo.lcs.mit.edu


VERSION:
    R4

CLIENT MACHINE and OPERATING SYSTEM:
    VAX 8800 running Ultrix 3.0 (although bug applies to most BSD-style
    machines)

DISPLAY TYPE:
    Digital QVSS (on VAXstation 3100)

WINDOW MANAGER:
    not relevant (we're using twm and mwm though)

AREA:
    xterm

SYNOPSIS:
    Xterm will exit immediately (or core dump if run as root)
    if the "-ut" switch is set (or utmpInhibit is true) and it
    is running on any machine with BSD groups (HAS_BSD_GROUPS defined).

DESCRIPTION:
    If xterm is run on such a machine with -ut set, xterm will
    call "initgroups(pw->name, pw->gid)", but pw was not
    initialized, so initgroups dies.

REPEAT BY:
    Just run "xterm -ut" on such a machine.

SAMPLE FIX:

*** main.c.RELEASE	Wed Dec 20 21:39:24 1989
--- main.c	Fri Jan  5 11:36:12 1990
***************
*** 1781,1788 ****
  		tslot = ttyslot();
  		added_utmp_entry = False;
  		{
! 			if (!resource.utmpInhibit &&
! 			    (pw = getpwuid(screen->uid)) &&
  			    (i = open(etc_utmp, O_WRONLY)) >= 0) {
  				bzero((char *)&utmp, sizeof(struct utmp));
  				(void) strncpy(utmp.ut_line,
--- 1781,1788 ----
  		tslot = ttyslot();
  		added_utmp_entry = False;
  		{
! 			pw = getpwuid(screen->uid);
! 			if (!resource.utmpInhibit && pw &&
  				(i = open(etc_utmp, O_WRONLY)) >= 0) {
  				bzero((char *)&utmp, sizeof(struct utmp));
  				(void) strncpy(utmp.ut_line,