From owner-freebsd-newbies Mon May 7 12:40:27 2001 Delivered-To: freebsd-newbies@freebsd.org Received: from home.haneys.net (dsl-64-34-250-237.telocity.com [64.34.250.237]) by hub.freebsd.org (Postfix) with ESMTP id D19AF37B422 for ; Mon, 7 May 2001 12:40:24 -0700 (PDT) (envelope-from rich@linux.haneys.net) Received: by home.haneys.net (Postfix, from userid 501) id 693A31183B8; Mon, 7 May 2001 15:40:22 -0400 (EDT) Date: Mon, 7 May 2001 15:40:22 -0400 From: Rich Haney To: Web Razter Cc: freebsd-newbies@freebsd.org Subject: Re: StartX or graphical login Message-ID: <20010507154022.A15156@haneys.net> References: <20010507172344.7556.qmail@web4304.mail.yahoo.com> Mime-Version: 1.0 Content-Type: text/plain; charset=us-ascii Content-Disposition: inline User-Agent: Mutt/1.3.15i In-Reply-To: <20010507172344.7556.qmail@web4304.mail.yahoo.com>; from webrazter@yahoo.com on Mon, May 07, 2001 at 10:23:44AM -0700 Sender: owner-freebsd-newbies@FreeBSD.ORG Precedence: bulk X-Loop: FreeBSD.org Linux does this by setting runlevel 5 (X11) as the default runlevel (in /etc/inittab). Since freebsd doesn't support runlevels, you'll need to find a different way. Probably the best way to do this would be to have your .bashrc (or .login or whatever) file exec a script to launch it. The script should probably look for /tmp/.X0-lock, so it won't try to launch X if it's already running (i.e., when you start a terminal from within X). RIch On Mon, May 07, 2001 at 10:23:44AM -0700, Web Razter wrote: > I (once, I swear!) tried Linux Mandrake 7.0 and had a > choice of a graphical login or regular login (althogh > how I got from one to the other I don't remember). Can > this be done in FreeBSD? > > If not, how do I get startx to run after the system > has booted and I login from the shell? > > __________________________________________________ > Do You Yahoo!? > Yahoo! Auctions - buy the things you want at great prices > http://auctions.yahoo.com/ > > To Unsubscribe: send mail to majordomo@FreeBSD.org > with "unsubscribe freebsd-newbies" in the body of the message -- Rich Haney rich@haneys.net --- "I'm growing older, but not up." -- Jimmy Buffett To Unsubscribe: send mail to majordomo@FreeBSD.org with "unsubscribe freebsd-newbies" in the body of the message