Skip site navigation (1)Skip section navigation (2)
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>

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

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


--------------enig8D7D20B8A1BC919BA3F17429
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)

iD4DBQFDGCGOgShs4qbRdeQRApJNAJd2DPcEAvWU2qX/diRHnXvh9GWyAJ9JF+CI
q+vmMG54Kqifu/7zPue4Bg==
=+XrA
-----END PGP SIGNATURE-----

--------------enig8D7D20B8A1BC919BA3F17429--



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