home *** CD-ROM | disk | FTP | other *** search
/ NetNews Usenet Archive 1992 #19 / NN_1992_19.iso / spool / comp / unix / ultrix / 6587 < prev    next >
Encoding:
Internet Message Format  |  1992-08-31  |  1.6 KB

  1. Path: sparky!uunet!utcsri!utcs.toronto.edu!cks
  2. Newsgroups: comp.unix.ultrix
  3. From: cks@hawkwind.utcs.toronto.edu (Chris Siebenmann)
  4. Subject: Re: Service Accounts running X login
  5. Message-ID: <1992Aug31.135004.1947@jarvis.csri.toronto.edu>
  6. Organization: Ziebmef home away from home
  7. References: <1992Aug25.152709.23868@rz.uni-karlsruhe.de> <1992Aug27.145415.6557@cc.ic.ac.uk>
  8. Date: 31 Aug 92 17:50:04 GMT
  9. Lines: 22
  10.  
  11. cmaae47@cc.ic.ac.uk writes:
  12. |  -- Btw, is it possible for an user logged into the console in character mode
  13. |  -- to start an X window enviroment ? Someting like startx ?
  14. | Yes, but it is a real pain, as on the DECstation (ours at least) Xws will
  15. | not run under user's uid, so you have to write an suid wrapper for it.
  16.  
  17.  The X server gets at the graphics hardware via the /dev/mouse device;
  18. if this file is owned by root and mode 644 (as it is in the default
  19. distribution), then only root can run X servers. The better solution
  20. is simply to chmod it to 666; it doesn't allow multiple accesses at
  21. once, so you're still safe against people snooping on your screen.
  22.  
  23.  Perhaps DEC might want to document this somewhere? I think I figured
  24. it out either by reading the server source for X11R3 or by simply
  25. chmod'ing 666 anything that looked graphics related in /dev.
  26.  
  27. --
  28.     When we get calls from faculty and staff regarding problematic
  29.     software, we always ask if they have a backup.  We got this
  30.     *classic* response today "Well, I thought I had a backup, but
  31.     she refused to type it in again..."    - Lou Anschuetz
  32. cks@hawkwind.utcs.toronto.edu               ...!{utgpu,utzoo,watmath}!utgpu!cks
  33.