home *** CD-ROM | disk | FTP | other *** search
/ NetNews Usenet Archive 1992 #18 / NN_1992_18.iso / spool / comp / unix / ultrix / 6242 < prev    next >
Encoding:
Internet Message Format  |  1992-08-14  |  2.6 KB

  1. Path: sparky!uunet!mcsun!uknet!sys-uea.ac.uk!gel
  2. From: gel@sys.uea.ac.uk (Gareth Lee)
  3. Newsgroups: comp.unix.ultrix
  4. Subject: Re: dxsession beginner help??
  5. Message-ID: <gel.713814152@zen.sys.uea.ac.uk>
  6. Date: 14 Aug 92 17:42:32 GMT
  7. References: <1992Aug14.095847.4809@sdz01.uu.ch>
  8. Sender: root@sys.uea.ac.uk (Operator)
  9. Organization: UEA School of Information Systems, Norwich, UK.
  10. Lines: 54
  11. Nntp-Posting-Host: zen.sys.uea.ac.uk
  12.  
  13. steve@sdz01.uu.ch writes:
  14.  
  15.  
  16. >I have four questions regarding DXsession. I have rtfm'd to no avail.
  17. >If these are naive questions, well, I've only been working with Ultrix
  18. >a few months.
  19.  
  20. I don't have a solution but can offer some pointers.  Your problems
  21. seem to be based around the :0 entry in your /etc/ttys file.
  22.  
  23. >1. I have some users who should only be permitted to run a particular
  24. >program. Normally I would replace the shell program in /etc/passwd
  25. >with the permitted program. Unfortunately, after logging in through
  26. >the dxprompter, "something" apparently happens (no error or warning
  27. >message) and I am immediately returned to the login prompter. If I su
  28. >to the user from another account, everything works as planned, but
  29. >obviously that's not going to work.
  30.  
  31. See point 3 below.
  32.  
  33. >2. With every other workstation I've ever used, I could kill the
  34. >Xserver and work at a naked tty interface if I wanted to. So far I
  35. >have found no way, either in the manuals or through random keystrokes,
  36. >of doing this under Ultrix.
  37.  
  38. I think that, when you kill dxsession or the X server init detects
  39. this and restarts them on the basis on the entry for :0 in the
  40. /etc/ttys file.
  41.  
  42. >3. Can I run X on Ultrix without dxsession? I find the whole thing
  43. >annoying.
  44.  
  45. You can change the /etc/ttys entry to run whatever you want (ie. another
  46. window manager).  I'm not sure whether the DEC X server will operate
  47. without dxsession since it controls the icon box also?? You could consider
  48. using the standard MIT X11 release which is supplied in the unsupported
  49. subsets.
  50.  
  51. It would be worth experimenting with replacing the -C /usr/bin/dxsession
  52. option with -C /usr/local/bin/myscript thereby invoking a shell script
  53. which selectively invokes dxsession or other applications on the basis
  54. of the $USER environment variable.
  55.  
  56. >4. Can anyone point me to a usable replacement for dxdb?
  57.  
  58. An easy question at last.  Try ups (version 2.31) which seems to be
  59. distributed at most GNU sites.  It has a better user interface and is
  60. certainly a good deal more robust. If you're prepared to pay then I
  61. believe DEC FUSE is good and contains lots of other tools.
  62.  
  63. Gareth Lee.
  64. Speech and Pattern Processing Group,
  65. University of East Anglia,
  66. UK.
  67.