From owner-freebsd-questions Tue Jun 25 16:04:44 1996 Return-Path: owner-questions Received: (from root@localhost) by freefall.freebsd.org (8.7.5/8.7.3) id QAA05772 for questions-outgoing; Tue, 25 Jun 1996 16:04:44 -0700 (PDT) Received: from jack.Colorado.EDU (jack.Colorado.EDU [128.138.149.29]) by freefall.freebsd.org (8.7.5/8.7.3) with ESMTP id QAA05764 for ; Tue, 25 Jun 1996 16:04:41 -0700 (PDT) Received: from jack (localhost [127.0.0.1]) by jack.Colorado.EDU (8.7.5/8.7.3/CNS-4.0p) with SMTP id QAA10335; Tue, 25 Jun 1996 16:59:33 -0600 (MDT) Message-ID: <31D06F54.3D4C@Colorado.EDU> Date: Tue, 25 Jun 1996 16:59:32 -0600 From: "Mark O'Lear" Organization: University of Colorado X-Mailer: Mozilla 3.0b4 (X11; I; SunOS 5.4 sun4m) MIME-Version: 1.0 To: James Raynard CC: rlyon@ozemail.com.au, hey@tuns.ca, questions@FreeBSD.ORG Subject: Re: your mail References: <199606252057.UAA02203@jraynard.demon.co.uk> Content-Type: text/plain; charset=us-ascii Content-Transfer-Encoding: 7bit Sender: owner-questions@FreeBSD.ORG X-Loop: FreeBSD.org Precedence: bulk James Raynard wrote: > > > > You need to run xdm from /etc/rc.local (not, contrary to some > > > documentation somewhere, from /etc/ttys). > > > > > > > The XFree readme file recommends /etc/ttys. > > Yes, that was the documentation I had in mind. I have been told, on > good authority, that it should not be run from /etc/ttys, but can't > remember the reason offhand. If you put it in /etc/rc (or rc.lcoal) and anything goes wrong with your X Windows (/tmp/.X0-lock doesn't get removed, mouse gets unplugged, mouse doesn't probe right, XF86Config gets updated incorrectly, etc.) then you will get one error message and then a text login screen. If it is in the /etc/ttys, you will get three errors with three graphics/text screen switches every minute or so until you correct the problem. This is a pain to correct while it is switching. Also if your system gets rebooted remotely (or crashes) and the monitor is normally left on (in power-saver mode), it could potentially do this for a long time without anyone fixing it (this can't be good for the poor monitor). > > -- > James Raynard, Edinburgh, Scotland > james@jraynard.demon.co.uk -- Mark O'Lear \ e-mail: Mark.Olear@Colorado.EDU University of Colorado \ phone: (303) 492-3798 Telecomm. Svcs. (CB 313) \ fax: (303) 492-5105 Boulder, CO 80309 \