From owner-freebsd-questions@FreeBSD.ORG Thu Feb 26 18:36:57 2004 Return-Path: Delivered-To: freebsd-questions@freebsd.org Received: from mx1.FreeBSD.org (mx1.freebsd.org [216.136.204.125]) by hub.freebsd.org (Postfix) with ESMTP id C1A0B16A4CE for ; Thu, 26 Feb 2004 18:36:57 -0800 (PST) Received: from msr69.hinet.net (msr69.hinet.net [168.95.4.169]) by mx1.FreeBSD.org (Postfix) with ESMTP id 2D8B643D1F for ; Thu, 26 Feb 2004 18:36:57 -0800 (PST) (envelope-from y2kbug@ms25.hinet.net) Received: from sonic.utopia.com (61-227-219-45.HINET-IP.hinet.net [61.227.219.45]) by msr69.hinet.net (8.9.3/8.9.3) with SMTP id KAA03615 for ; Fri, 27 Feb 2004 10:35:26 +0800 (CST) Date: Fri, 27 Feb 2004 10:04:06 +0800 From: Robert Storey To: freebsd-questions@freebsd.org Message-Id: <20040227100406.4d29eec4.y2kbug@ms25.hinet.net> In-Reply-To: <200402262226.i1QMQlS10937@clunix.cl.msu.edu> References: <88EB08D16800D34EA145D7DD2AA44998E64C@minnie.outland> <200402262226.i1QMQlS10937@clunix.cl.msu.edu> Organization: X-Mailer: Sylpheed version 0.9.5-gtk2-20030906 (GTK+ 2.2.4; i686-pc-linux-gnu) Mime-Version: 1.0 Content-Type: text/plain; charset=US-ASCII Content-Transfer-Encoding: 7bit Subject: Re: Boot and MBR. X-BeenThere: freebsd-questions@freebsd.org X-Mailman-Version: 2.1.1 Precedence: list List-Id: User questions List-Unsubscribe: , List-Archive: List-Post: List-Help: List-Subscribe: , X-List-Received-Date: Fri, 27 Feb 2004 02:36:57 -0000 > > The second question I have, is can I put the command startx into my > > rc.conf file to have it boot directly into the x-server? Any help on > > these two would be awesome. Thanks. > > I have not been successfule with that sort of thing. Anyway, I > don't think just putting it in rc.conf would do the trick because > that just sets a bunch of variables in there. Then the stuff is > actually run from rc (and some other places I think) using those > variable values set in /etc/defaults/rc.conf and /etc/rc.conf.. > > I think you might not want your startx to fire off until after > you log in anyway. That would mean putting it in .login (if > you have a csh or tcsh shell) and that is what didn't work > for me, though I didn't try many variations. If you're running the Bash shell, putting "startx" into file ~/.bash_profile will have the desired effect. Under FBSD, by default there is no .bash_profile file, so just create one for each individual user who wants to start up in X. regards, Robert