Path: utzoo!utgpu!news-server.csri.toronto.edu!cs.utexas.edu!wuarchive!zaphod.mps.ohio-state.edu!rpi!uupsi!eye!paul From: paul@eye.com (Paul B. Booth) Newsgroups: comp.sys.hp Subject: Re: X11R4 problems on HPUX 7.0 Keywords: utmp HPUX 7.0 X11R4 window Message-ID: <1991Jan24.152453.848@eye.com> Date: 24 Jan 91 15:24:53 GMT References: <1991Jan23.143556@dali.gatech.edu> Reply-To: paul@eye.com (Paul B. Booth) Organization: 3D/Eye Inc., Ithaca, NY Lines: 32 In article <1991Jan23.143556@dali.gatech.edu> mike@penguin.gatech.edu (Mike Gourlay) writes: >Hello, > > I have a MIT copy of X11R4 running on my HPUX 7.0 9000s300 370, >but the source was compiled on a HPUX 6.5. I don't know if that's >important, but at any rate, something;s wrong: > > If I do not use xdm, then _after_ the _second_ time I login >and run X via xinit, thereafter, no one can log in through the console >or the serial port (which has a getty connected to it with a NIU port). >However, telnet and rlogin do work, but sometimes they don't. Here's >what happens in the case that X has been run twice, and a person tries >to log in on the console (xdm not running): > etc...... I wonder who at hp told you that that there's not 6.5/7.0 incompatibility. They are very mistaken. At 7.0 the format of the utmp file changed (for POSIX conformance, I believe). Your 6.5 xdm program is writing to utmp using the old format, which corrupts the file so far as 7.0 is concerned. Subsequent read/writes of the file are iffy at best. See what who(1) does after your 6.5 xdm has written to utmp. Any 6.5 program that manages login (i.e., writes to utmp) can cause this kind of problem. I ran into numerous manifestations during the time that my network was making the transition from 6.5 to 7.0. Your best bet is to at least get a 7.0 xdm and preferably take the whole thing to 7.0. -- Paul B. Booth (paul@eye.com) (...!hplabs!hpfcla!eye!paul) ------------------------------------------------------------------------------- 3D/EYE, Inc., 2359 N. Triphammer Rd., Ithaca, NY 14850 voice: (607)257-1381 fax: (607)257-7335