autologin only in one ttyv
Benjamin Lutz
benlutz at datacomm.ch
Fri Sep 2 02:55:29 PDT 2005
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
-------------- 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/65c40290/signature.bin
More information about the freebsd-stable
mailing list