home *** CD-ROM | disk | FTP | other *** search
/ NetNews Usenet Archive 1993 #3 / NN_1993_3.iso / spool / comp / sys / mips / 1185 < prev    next >
Encoding:
Text File  |  1993-01-23  |  3.7 KB  |  78 lines

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