autologin only in one ttyv

Benjamin Lutz benlutz at datacomm.ch
Thu Sep 1 15:56:18 PDT 2005


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
-------------- next part --------------
A non-text attachment was scrubbed...
Name: signature.asc
Type: application/pgp-signature
Size: 186 bytes
Desc: OpenPGP digital signature
Url : http://lists.freebsd.org/pipermail/freebsd-stable/attachments/20050902/145c3ea4/signature.bin


More information about the freebsd-stable mailing list