Date: Fri, 02 Sep 2005 11:55:21 +0200 From: Benjamin Lutz <benlutz@datacomm.ch> To: FreeBSD-Stable <stable@freebsd.org> Cc: Mathieu PREVOT <mathieu.y.prevot@wanadoo.fr> Subject: Re: autologin only in one ttyv Message-ID: <43182189.7020402@datacomm.ch> In-Reply-To: <43178708.3090503@datacomm.ch> References: <01ac2b857a762ef9bbaa48dc6b781cb3@wanadoo.fr> <43178708.3090503@datacomm.ch>
index | next in thread | previous in thread | raw e-mail
[-- Attachment #1 --] Benjamin Lutz wrote: > Mathieu PREVOT wrote: > >>I would like to autologin in *only one* ttyv (eg ttyv1) and then launch >>X with xinit manually or with a script. > > > Have a look at /etc/gettytab. Instead of starting getty, you could > simply start a shell, like this: > > ttyv1 "/usr/bin/su - username" cons25 on secure > > If you want to start X right away, you could try > > ttyv1 "/usr/bin/su - username startx" cons25 on secure Err obviously it was too late for me to think straight yesterday night... this is /etc/ttys of course, not /etc/gettytab. Cheers Benjamin [-- Attachment #2 --] -----BEGIN PGP SIGNATURE----- Version: GnuPG v1.4.0 (Darwin) iD4DBQFDGCGOgShs4qbRdeQRApJNAJd2DPcEAvWU2qX/diRHnXvh9GWyAJ9JF+CI q+vmMG54Kqifu/7zPue4Bg== =+XrA -----END PGP SIGNATURE-----help
Want to link to this message? Use this URL: <https://mail-archive.FreeBSD.org/cgi/mid.cgi?43182189.7020402>
