Skip site navigation (1)Skip section navigation (2)
Date:      Fri, 02 Sep 2005 00:56:08 +0200
From:      Benjamin Lutz <benlutz@datacomm.ch>
To:        Mathieu PREVOT <mathieu.y.prevot@wanadoo.fr>
Cc:        freebsd-stable@freebsd.org
Subject:   Re: autologin only in one ttyv
Message-ID:  <43178708.3090503@datacomm.ch>
In-Reply-To: <01ac2b857a762ef9bbaa48dc6b781cb3@wanadoo.fr>
References:  <01ac2b857a762ef9bbaa48dc6b781cb3@wanadoo.fr>

index | next in thread | previous in thread | raw e-mail

[-- Attachment #1 --]
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

Cheers
Benjamin

[-- Attachment #2 --]
-----BEGIN PGP SIGNATURE-----
Version: GnuPG v1.4.0 (Darwin)

iD8DBQFDF4cOgShs4qbRdeQRAtQEAJ4pewyb9/GOKdBYidxBOZ9U0MkA5QCdH6tO
/X1TkTXm3LevPYk776No/bU=
=qbA8
-----END PGP SIGNATURE-----
help

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