From owner-freebsd-questions Sun Sep 14 00:28:59 1997 Return-Path: Received: (from root@localhost) by hub.freebsd.org (8.8.7/8.8.7) id AAA27934 for questions-outgoing; Sun, 14 Sep 1997 00:28:59 -0700 (PDT) Received: from oznet11.ozemail.com.au (oznet11.ozemail.com.au [203.2.192.118]) by hub.freebsd.org (8.8.7/8.8.7) with ESMTP id AAA27929 for ; Sun, 14 Sep 1997 00:28:56 -0700 (PDT) Received: from richard (slmel55p22.ozemail.com.au [203.108.203.166]) by oznet11.ozemail.com.au (8.8.4/8.6.12) with SMTP id RAA18493; Sun, 14 Sep 1997 17:28:37 +1000 (EST) Message-Id: <199709140728.RAA18493@oznet11.ozemail.com.au> From: "Richard Lyon" To: "Jim Durham" , "Michael Richards" <026809r@dragon.acadiau.ca> Cc: Subject: Re: Making X go right away Date: Sun, 14 Sep 1997 07:08:32 +1000 MIME-Version: 1.0 Content-Type: text/plain; charset="us-ascii" Content-Transfer-Encoding: 7bit X-Priority: 3 X-MSMail-Priority: Normal X-Mailer: Microsoft Outlook Express 4.71.1008.3 X-MimeOle: Produced By Microsoft MimeOLE Engine V4.71.1008.3 Sender: owner-freebsd-questions@FreeBSD.ORG X-Loop: FreeBSD.org Precedence: bulk Depends on what you mean by "fire up right away". You can add an entry in /etc/ttys. You never need to leave X for logging in or out of accounts. See README.FreeBSD in /usr/X11R6/lib/X11/docs for details. -----Original Message----- From: Jim Durham To: Michael Richards <026809r@dragon.acadiau.ca> Cc: freebsd-questions@FreeBSD.ORG Date: Sunday, 14 September 1997 3:23 Subject: Re: Making X go right away 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 .