Boot and MBR.

Robert Storey y2kbug at ms25.hinet.net
Thu Feb 26 18:36:57 PST 2004


> > 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




More information about the freebsd-questions mailing list