Date: Sat, 13 Sep 1997 13:13:04 -0400 From: Jim Durham <durham@w2xo.pgh.pa.us> To: Michael Richards <026809r@dragon.acadiau.ca> Cc: freebsd-questions@FreeBSD.ORG Subject: Re: Making X go right away Message-ID: <341AC9A0.15FB7483@w2xo.pgh.pa.us> References: <199709131312.KAA06001@dragon.acadiau.ca>
next in thread | previous in thread | raw e-mail | index | archive | help
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/<user>/xstart & Be *sure* to make these scripts 700 or 744 . -- Jim Durham <Television Engineer-Unitel Mobile Video, Pittsburgh> <Computer Consultant/Hobbyist> <Amateur Radio: W2XO> <Web:http://www.w2xo.pgh.pa.us> <Packet:W2XO@W2XO.#SWPA.PA.USA.NOAM>
Want to link to this message? Use this URL: <https://mail-archive.FreeBSD.org/cgi/mid.cgi?341AC9A0.15FB7483>