Skip site navigation (1)Skip section navigation (2)
Date:      Mon, 7 May 2001 15:40:22 -0400
From:      Rich Haney <rich@haneys.net>
To:        Web Razter <webrazter@yahoo.com>
Cc:        freebsd-newbies@freebsd.org
Subject:   Re: StartX or graphical login
Message-ID:  <20010507154022.A15156@haneys.net>
In-Reply-To: <20010507172344.7556.qmail@web4304.mail.yahoo.com>; from webrazter@yahoo.com on Mon, May 07, 2001 at 10:23:44AM -0700
References:  <20010507172344.7556.qmail@web4304.mail.yahoo.com>

next in thread | previous in thread | raw e-mail | index | archive | help
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




Want to link to this message? Use this URL: <https://mail-archive.FreeBSD.org/cgi/mid.cgi?20010507154022.A15156>