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