Date: Sun, 14 Sep 1997 07:08:32 +1000 From: "Richard Lyon" <rlyon@ozemail.com.au> To: "Jim Durham" <durham@w2xo.pgh.pa.us>, "Michael Richards" <026809r@dragon.acadiau.ca> Cc: <freebsd-questions@FreeBSD.ORG> Subject: Re: Making X go right away Message-ID: <199709140728.RAA18493@oznet11.ozemail.com.au>
next in thread | raw e-mail | index | archive | help
Depends on what you mean by "fire up right away". You can add an entry in /etc/ttys. You never need to leave X for logging in or out of accounts. See README.FreeBSD in /usr/X11R6/lib/X11/docs for details. -----Original Message----- From: Jim Durham <durham@w2xo.pgh.pa.us> To: Michael Richards <026809r@dragon.acadiau.ca> Cc: freebsd-questions@FreeBSD.ORG <freebsd-questions@FreeBSD.ORG> Date: Sunday, 14 September 1997 3:23 Subject: Re: Making X go right away 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 .
Want to link to this message? Use this URL: <https://mail-archive.FreeBSD.org/cgi/mid.cgi?199709140728.RAA18493>