home *** CD-ROM | disk | FTP | other *** search
/ NetNews Usenet Archive 1992 #30 / NN_1992_30.iso / spool / comp / unix / aix / 12501 < prev    next >
Encoding:
Text File  |  1992-12-11  |  2.0 KB  |  62 lines

  1. Newsgroups: comp.unix.aix
  2. Path: sparky!uunet!wupost!uwm.edu!src.honeywell.com!ncsys!bruce
  3. From: bruce@ncs.com (Bruce E. Parkin)
  4. Subject: How I got xdm to work and thanks
  5. Organization: National Computer Systems, Inc.
  6. Date: Sat, 12 Dec 1992 01:48:19 GMT
  7. Message-ID: <1992Dec12.014819.3111@ncs.com>
  8. Lines: 52
  9.  
  10.  
  11. Recently I have posted several questions to this News 
  12. group about xdm. I would like to say thanks to all 
  13. of you who responded with helpful answers. It has
  14. always impressed me how much people who read this News
  15. group are so helpful and kind whenever I have asked for
  16. help. So thank you one and all.
  17.  
  18. First I found out that xdm does not work in AIX 3.2.0.
  19.  
  20. Then I found out that it does not work on 3.2.3 without 
  21. loading this other tape we got from our SE who does not
  22. really seem to know what it was for but said we needed
  23. it. It had a lot of fixes for xdm and X runtime. But 
  24. that is our SE for you. No one here new anything either.
  25.  
  26. The problems and how I solved them:
  27.  
  28. 1)    Without running the login program our system would
  29.     not set the "LOGNAME" variable. (xdm does not run
  30.     login). Without this variable set each new aixterm
  31.     would tell you that you had mail, when you didn't,
  32.     because of how the MAIL variable is generated.
  33.  
  34.     So anyhow, I changed /etc/profile from 
  35.     "readonly LOGNAME" to LOGNAME=$USER. Maybe a 
  36.     security hole, but no worry with the people I work
  37.     with.
  38.  
  39. 2)    The screen saver would still come on with the large
  40.     "X" even when the xdm login window was showing. So
  41.     I modified /usr/lib/X11/Xserver to read:
  42.  
  43.     0: local /usr/bin/X11/X11/X nologo -sdebug
  44.  
  45. 3)    Any time I killed any program I had started from my
  46.     .xsession, all processes would be stopped and I would
  47.     get logged out. This is is a real pain. 
  48.  
  49.     I found the best solution to be to change the last
  50.     line in the .xsession that starts an aixterm 
  51.     and remove the exec - run the last aixterm in the
  52.     foreground. Then the auto-logout does not happen when 
  53.     any process is killed - you must kill the last aixterm.
  54.  
  55.  
  56. The rest of the configuration was as documented.
  57.  
  58. -- 
  59.  
  60. Bruce E. Parkin
  61. bruce@ncs.com
  62.