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>

next in thread | previous in thread | raw e-mail | index | archive | help
This is an OpenPGP/MIME signed message (RFC 2440 and 3156)
--------------enigF0F4BABBB68B8D050457745A
Content-Type: text/plain; charset=ISO-8859-1
Content-Transfer-Encoding: 7bit

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

--------------enigF0F4BABBB68B8D050457745A
Content-Type: application/pgp-signature; name="signature.asc"
Content-Description: OpenPGP digital signature
Content-Disposition: attachment; filename="signature.asc"

-----BEGIN PGP SIGNATURE-----
Version: GnuPG v1.4.0 (Darwin)

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

--------------enigF0F4BABBB68B8D050457745A--



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