home *** CD-ROM | disk | FTP | other *** search
/ NetNews Usenet Archive 1992 #26 / NN_1992_26.iso / spool / comp / sys / sgi / 16276 < prev    next >
Encoding:
Text File  |  1992-11-11  |  1.8 KB  |  47 lines

  1. Newsgroups: comp.sys.sgi
  2. Path: sparky!uunet!utcsri!newsflash.concordia.ca!sifon!thunder.mcrcim.mcgill.edu!peta
  3. From: peta@thunder.mcrcim.mcgill.edu (Peter Whaite)
  4. Subject: Problem with xdm, userenv, and zsh (and tcsh).
  5. Message-ID: <1992Nov10.223018.10258@thunder.mcrcim.mcgill.edu>
  6. Organization: McGill Research Centre for Intelligent Machines
  7. Date: Tue, 10 Nov 92 22:30:18 GMT
  8. Lines: 38
  9.  
  10. My apologies if this is a FAQ. I remember seeing some discussion about non
  11. standard login shells but I cant recall the details.
  12.  
  13. I've been using zsh for a while on our Suns and quite like it so I thought I'd
  14. make it my default shell on our SGIs (compiles without a hitch).
  15.  
  16. When I do this I have no problem with rlogin, but I cannot get my xsession
  17. started via pandora.  It simply times out and returns to the login widget. I
  18. can login via pandora if I use FAILSAFE after my username.
  19.  
  20. The problem appears to be `userenv` executed in xdm/Xsession.  When I invoke
  21. the command from a shell (it doesnt seem to matter what kind) I get
  22.  
  23.     % uname -a
  24.         IRIX Obelix 4.0.2 02211459 IP12
  25.         % userenv
  26.     zsh: suspended (tty input) userenv
  27.         % jobs
  28.         [1]  + suspended (tty input)  userenv
  29.         % fg
  30.         [1] - continued
  31.         zsh: suspended (tty input) userenv
  32.  
  33. and so on.  Its as though userenv keeps sending itself TSTP.
  34.  
  35. Also I have been using a tcsh for some time now and haven't had this problem.
  36. However when tcsh is my login shell userenv doesnt hang, but it doesnt print
  37. anything either (which might explain a few probs I've been having with my
  38. toolchest environment). So it looks like userenv doesnt work for tcsh either.
  39.  
  40. Does userenv only work with sh and csh?  Does this mean that I *must* make
  41. either /bin/{sh,csh} my default login shell, or are there some configuration
  42. problems.  
  43.  
  44.  
  45.  
  46.  
  47.