home *** CD-ROM | disk | FTP | other *** search
- Newsgroups: comp.sys.mips
- Path: sparky!uunet!usc!rpi!batcomputer!cornell!uw-beaver!news.u.washington.edu!serval!moscow.uidaho.edu!tamaluit!pbickers
- From: pbickers@tamaluit.phys.uidaho.edu (Paul Bickerstaff)
- Subject: X11R5 xdm and server for Magnum 3000
- Nntp-Posting-Host: tamaluit.phys.uidaho.edu
- Sender: news@moscow.uidaho.edu
- Organization: phys dept
- Date: Fri, 22 Jan 1993 19:30:58 GMT
- Message-ID: <C19svn.I4t@moscow.uidaho.edu>
- Reply-To: pbickers@tamaluit.phys.uidaho.edu (Paul Bickerstaff)
- Lines: 65
-
- Has anybody successfully built the R5 server for a Mips Magnum 3000/25
- under RISCos 4.51? Also, have you got xdm to work correctly?
-
- If so I'd appreciate hearing from you before I waste more time on this.
-
- Unfortunately, X11R5 as supplied by mit does not build cleanly under 4.51.
- Two fixes are required in clients/xdm/sessreg.c and clients/xterm/main.c.
- In both cases the problem is a missing ut_host functionality in utmp.
- The main.c source appears easy to fix since there are are flags in the
- code to handle just this situation. I got sessreg.c to compile simply by
- switching from BSD43 to SYSV but am highly suspicious of this and
- believe it is the cause of some of my problems.
-
- The problem is that, although the clients (xterm, demos etc) seem to work,
- a login via xdm is not recorded correctly. (We have several NCD X-terminals
- using the Magnum as a host.) Users, who, etc don't show the user logged on
- and the user can't log out (easily) --- xclock, xbiff, mwm (from Rw3.21)
- are left running and clicking the mouse opens a new xterm! I also suspect
- that /etc/wtmp is being created (since a link I had to /usr/adm/wtmp because
- of disk space limitations was found to be broken). If this is so it would
- be in violation of the guidelines in the 4.50 release notes. I can find no
- evidence of anything (proper?) being recorded in either /etc/utmp or
- /etc/wtmp. This whole business of logins though has me a bit confused
- and I'm not sure I really know what should be happening but I am sure
- its not. Can any RISCos expert explain? Should one be worried about
- LASTLOG here?
-
- Otherwise xdm seems ok, correctly handling an X-terminal being
- switched on and off; Yay!!
-
- Next:
-
- The R5 server builds without problem but won't start on the Magnum.
- I'm trying to start it the same way as the Rw3.21 server simply changing
- a couple of filenames in /etc/init.d/xdm. One can see the screen blinking
- but xdm-errors shows
- error (pid 1023): IO Error in XOpenDisplay
- error (pid 1012): Display :0 cannot be opened
- error (pid 1012): Server for display :0 terminated unexpectedly: 1408
- error (pid 1030): IO Error in XOpenDisplay
- error (pid 1012): Display :0 cannot be opened
- error (pid 1035): IO Error in XOpenDisplay
- error (pid 1012): Display :0 cannot be opened
- error (pid 1037): IO Error in XOpenDisplay
- error (pid 1012): Display :0 cannot be opened
- error (pid 1042): IO Error in XOpenDisplay
- error (pid 1012): Display :0 cannot be opened
- error (pid 1012): Display :0 is being disabled
-
- Is there any reason why the Rw3.21 server won't run under the R5 xdm?
- I tried that but it didn't work. My NCD Xservers are R4 based and start
- ok. Is there a compatibility problem/difficulty with R3? (No xdmcp
- perhaps?)
-
- Finally, I note that if anybody else wants to undertake this adventure
- then they'll also have to define the ETCDIR used in the supplied
- Mips.cf for the install phase and use the -f flag for mipsinstall (at
- least for the man pages). If you don't want a server and don't need
- xdm it's easy but if you do ...
-
- Hoping somebody out there has fixed this already,
-
- Paul Bickerstaff Internet: pbickers@tamaluit.phys.uidaho.edu
- Physics Dept., Univ. of Idaho Phone: (208) 885 6809
- Moscow ID 83843, USA FAX: (208) 885 6173
-