home *** CD-ROM | disk | FTP | other *** search
/ NetNews Usenet Archive 1992 #18 / NN_1992_18.iso / spool / comp / os / linux / 8689 < prev    next >
Encoding:
Internet Message Format  |  1992-08-20  |  2.3 KB

  1. Path: sparky!uunet!usc!rpi!uwm.edu!rutgers!ub!acsu.buffalo.edu!jmsimon
  2. From: jmsimon@acsu.buffalo.edu (JMS)
  3. Newsgroups: comp.os.linux
  4. Subject: Re: problems getting X running
  5. Keywords: Xconfig, defaults
  6. Message-ID: <BtA8zF.MoM@acsu.buffalo.edu>
  7. Date: 20 Aug 92 12:50:02 GMT
  8. References: <1992Aug18.194422.25702@esleng.ocunix.on.ca> <Aug.19.22.38.33.1992.8120@athos.rutgers.edu>
  9. Sender: jmsimon@acsu.buffalo.edu (JMS)
  10. Organization: ewe bee
  11. Lines: 48
  12. Nntp-Posting-Host: lictor.acsu.buffalo.edu
  13.  
  14. hedrick@athos.rutgers.edu (Charles Hedrick) said that:
  15. >rgb@esleng.ocunix.on.ca (Richard Briggs) writes:
  16. >
  17. >>Hi Linux'ers:
  18. >
  19. >>Any time I try to initialize, the screen goes dead and a terminal on a serial
  20. >>port is the only feedback I've been able to get aside from capture files. 
  21. >
  22. >When I've seen this happen, it's been because Xconfig did not define
  23. >a valid configuration.
  24.  
  25. I'm sure a lot of people have done this, but a recommendation for anyone
  26. with multiple people using their system and X:
  27.  
  28.     I modified the 'startx' script as follows:
  29.  
  30.     if [ -f $HOME/Xconfig ] then
  31.         echo "Using $HOME/Xconfig file"
  32.     else
  33.         ln -s /usr/local/defaults/Xconfig $HOME/Xconfig
  34.         echo "Linking and using default Xconfig file"
  35.     fi
  36.  
  37. [Forgive any typos I may have made - I'm at work, so couldn't just paste in]
  38.  
  39. This lets you not worry about someone attempting to start Xwindows going if
  40. they don't have an Xconfig (thereby blanking your screen unless you have a
  41. secret way of fixing things; ie: terminal hooked up through /dev/ttys? and
  42. 'ps')
  43.  
  44. This *does not* stop someone from modifying the Xconfig in such a way as to
  45. cause the screen to blank. I have made the default Xconfig -r--r--r--, but
  46. someone could always make a copy and edit that. If you want to be safe, you
  47. could copy the default Xconfig into their home directory *every* time they
  48. 'startx' and clobber any changes they have made (make sure to chmod it first,
  49. as they may have made it -r--r--r-- instead of leaving it -r--r--rw- after
  50. making their changes!)
  51.  
  52. Good luck protecting your displays...
  53.  
  54.         JMS
  55.  
  56.  
  57. -- 
  58. *******************************************************************************
  59.  Jeffrey M. Simon           .o   o.         Computer Science / Business Mgmt.
  60.  jmsimon@acsu.buffalo.edu       ~~v~~         State University of NY at Buffalo
  61. ***** "Perspiration = ( Genius - 1% Inspiration ) / .99" -Ein*kinda*stein *****
  62.