autologin on default shell /bin/sh
olivares14031 at gmail.com
Mon Sep 26 21:37:56 UTC 2011
On Mon, Sep 26, 2011 at 10:53 AM, Warren Block <wblock at wonkity.com> wrote:
> On Mon, 26 Sep 2011, Antonio Olivares wrote:
>> If I type my username and login, startx starts automatically, but after I
>> have logged in by typing my username and password.
> That means the part that starts X is correct.
>> This is an excerpt of /etc/ttys on FreeBSD 9.0 BETA 2
>> ttyv0 "/usr/libexec/getty Pc" xterm on secure
>> # Virtual terminals
>> ttyv1 "/usr/libexec/getty Pc" xterm on secure
> Don't use xterm, it won't be able to run before X has started.
> "Pc" is the standard login. The new entry in /etc/gettytab creates a new
> "Al" for autologin:
> A|Al|Autologin console:\
> The "A", "Al", and "Autologin console" are all names for that entry.
> When the system starts, it will start the ttys listed in /etc/ttys:
> ttyv0 "/usr/libexec/getty Pc" cons25 on secure
> ttyv1 "/usr/libexec/getty Al" cons25 on secure
> I leave ttyv0 alone for log messages and such, and put the autologin on
> An autologin system probably won't need the rest of the ttyv entries and
> they can be commented out.
I have done as you have instructed.
Set up /etc/ttyv with
ttyv1 "/usr/libexec/getty Al" cons25 on secure
as my username is olivares. It is working on BETA 2 :) Now I hope to
get it working again at home on an 8.2 amd machine.
I will report back but return different machine and different
information, hope only with a success report :) It was working
before, and now it is not :(
More information about the freebsd-questions