mikeg@dali.gatech.edu (Mike Gourlay) (01/24/91)
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): Console login: user Password: utmp entry missing. Must run login from lowest level of 'sh.' Console login: and this happens for all users including root. In the case that xdm is running, then people can always log in, but, while ther is a person logged into the console, and a copy of xterm is running, then no one can rlogin, telnet, or login through the serial port. After the person on the console logs out, then people can rlogin, or telnet, or connect through the serial port. People from HP have told me that the problem does not come from the HPUX 6.5 / HPUX 7.0 incompatibility. Whatever. After a while, I got the X server from hpcvaaz ~ftp/pub/XServers/X.7.03.300.Z and the problem persists. What's wrong here? How do I fix it? If the problem is from 6.5 / 7.0 incompatibility, then can someone offer a set of R4 binaries to me? I have too little disk space to compile it myself, so I can't do it. The person who sent me the R4 binaries compiled on a HPUX 6.5 tar'ed the files, compressed them, and sent them via anonymous ftp to penguin. Thanks in advance, Mike Gourlay mike@penguin.gatech.edu or maybe mike@penguin.cc.gatech.edu
robs@hpuamsa.neth.hp.com (Rob Slotemaker CRC) (01/24/91)
Did you recently upgrade your system to 7.0 ? In that case, please check if your network product have been upgraded too. Check the filesets LAN*, NS*, ARPA* and NFS*. Check for each fileset the release of file /system/<fileset>/pif. The release is reported on line 12 of the pif file and should be A.B7.00. Best regards, Rob Slotemaker, Dutch CRC
paul@eye.com (Paul B. Booth) (01/24/91)
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
harry@hpcvlx.cv.hp.com (Harry Phinney) (01/25/91)
Mike Gourlay writes: > 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, It most defintely is important. > Console login: user > Password: > utmp entry missing. Must run login from lowest level of 'sh.' > People from HP have told me that the problem does not come from > the HPUX 6.5 / HPUX 7.0 incompatibility. Whatever. After a while, I > got the X server from hpcvaaz ~ftp/pub/XServers/X.7.03.300.Z and > the problem persists. People from HP lied to you :-) The problem is that the utmp file structure changed from HP-UX 6.5 to HP-UX 7.0. The HP-UX 6.5 terminal emulator programs (xterm and hpterm) do not know how to correctly write to the HP-UX 7.0 utmp file, and they corrupt it. The server is not involved in this problem. > can someone offer a set of > R4 binaries to me? Can you use the xterm and hpterm which were supplied with HP-UX 7.0? Harry Phinney harry@hp-pcd.cv.hp.com
joe@bwdlh111.BNR.CA (Joe Waddington) (01/26/91)
We had the same problem, and it was due to the fact that there was a 6.5 version of the hpterm program that did not get replaced in the update (the reasons aren't important tothis problem). What was happening, was that the hpterm program was writing 6.5 style utmp entries into the utmp file, and the login program could not understand these entries. The utmp entry format has changed as of 7.0 (yes, for POSIX compliance). ANY 6.5 PROGRAM THAT WRITES UTMP ENTRIES on a 7.0 SYSTEM WILL CORRUPT THE UTMP FILE AND PREVENT LOGINS. Hope this helps Joe ============================================================= Please remember that these opinions are mine, and mine alone. ( a fact I'm not always eager to admit. ;-) ) ============================================================= Joe Waddington joe@bnr.ca Bell Northern Research =============================================================