From owner-freebsd-questions Sat Sep 13 10:13:05 1997 Return-Path: Received: (from root@localhost) by hub.freebsd.org (8.8.7/8.8.7) id KAA14313 for questions-outgoing; Sat, 13 Sep 1997 10:13:05 -0700 (PDT) Received: from w2xo.pgh.pa.us (w2xo.pgh.pa.us [206.210.70.5]) by hub.freebsd.org (8.8.7/8.8.7) with ESMTP id KAA14307 for ; Sat, 13 Sep 1997 10:13:02 -0700 (PDT) Received: from w2xo.pgh.pa.us (w2xo.pgh.pa.us [206.210.70.5]) by w2xo.pgh.pa.us (8.8.5/8.8.4) with SMTP id NAA11943; Sat, 13 Sep 1997 13:13:05 -0400 (EDT) Message-ID: <341AC9A0.15FB7483@w2xo.pgh.pa.us> Date: Sat, 13 Sep 1997 13:13:04 -0400 From: Jim Durham Organization: Dis- X-Mailer: Mozilla 3.01Gold (X11; I; FreeBSD 3.0-970618-SNAP i386) MIME-Version: 1.0 To: Michael Richards <026809r@dragon.acadiau.ca> CC: freebsd-questions@FreeBSD.ORG Subject: Re: Making X go right away References: <199709131312.KAA06001@dragon.acadiau.ca> Content-Type: text/plain; charset=us-ascii Content-Transfer-Encoding: 7bit Sender: owner-freebsd-questions@FreeBSD.ORG X-Loop: FreeBSD.org Precedence: bulk Michael Richards wrote: > > Does anyone know how to make X fire up right away? I remember I just changed > something in inittab for linux, but FreeBSD seems to be a little different > :) > You just need to put "startx" or "xinit" in a startup script in /usr/local/etc/rc.d in 3.0, or perhaps in /etc/rc.local in earlier versions. There is also a trick you can play that will log you in automatically and start up your desktop. Instead of the above, try putting a file in your home directory called 'xstart' or whatever with only the line 'xinit &' in it. Then in your startup script do: su username < /usr/home//xstart & Be *sure* to make these scripts 700 or 744 . -- Jim Durham