Skip site navigation (1)Skip section navigation (2)
Date:      Sun, 25 Sep 2011 14:25:22 -0500
From:      Antonio Olivares <olivares14031@gmail.com>
To:        Warren Block <wblock@wonkity.com>
Cc:        FreeBSD Questions <freebsd-questions@freebsd.org>
Subject:   Re: autologin on default shell /bin/sh
Message-ID:  <CAJ5UdcOeO=bZA1TLw_Heb8jwzUa_-73Fhmx5WHed0CbDdzy3TA@mail.gmail.com>
In-Reply-To: <alpine.BSF.2.00.1109251249170.63171@wonkity.com>
References:  <CAJ5UdcN7px94fjidvTkdB53Kc7KNO9939kpk%2BAmUohqc_7m%2BMA@mail.gmail.com> <alpine.BSF.2.00.1109251140000.39698@wonkity.com> <CAJ5UdcN1yC1Px=4Gmo7vGMj%2BnaapCFkjZnZL9nQEJbx4vdUbUA@mail.gmail.com> <alpine.BSF.2.00.1109251249170.63171@wonkity.com>

next in thread | previous in thread | raw e-mail | index | archive | help
On Sun, Sep 25, 2011 at 2:08 PM, Warren Block <wblock@wonkity.com> wrote:
> On Sun, 25 Sep 2011, Antonio Olivares wrote:
>
>> On Sun, Sep 25, 2011 at 12:44 PM, Warren Block <wblock@wonkity.com> wrot=
e:
>>>
>>> On Sun, 25 Sep 2011, Antonio Olivares wrote:
>>>
>>>> I tried to edit ~/.cshrc and copied W Block's example, but it did not
>>>> work
>>>>
>>>> https://freebsd-forums.liquidneon.com/showthread.php?t=3D22304
>>>
>>> Current link: http://forums.freebsd.org/showthread.php?t=3D22304
>>>
>>> That example was copied from a specially-configured FreeBSD image that
>>> auto-starts in X. =A0Try it exactly. =A0If it doesn't work, please be
>>> specific
>>> about what it does.
>>
>> I tried it and it worked as Matthew suggested for one time. =A0I put it
>> in .profile and it worked one time.
>
> That will depend on the user's shell; the code is written for csh and wil=
l
> have to be changed for sh or bash.
>
>> Subsequent reboots, I have to login then startx runs automatically
>
> That would say the autologin entry isn't right. =A0Incidentally, the buil=
t-in
> test(1) command can conflict with use of the word "test", so it's best to
> use something else. =A0At least for filenames, it might not be a problem =
here.

For the errors:

Sep 25 13:00:04 quadcore sm-mta[1432]: NOQUEUE: SYSERR(root):
opendaemonsocket: daemon Daemon0: cannot bind: Can't assign requested
address
Sep 25 13:00:04 quadcore sm-mta[1432]: daemon Daemon0: problem
creating SMTP socket
Sep 25 13:00:04 quadcore sm-mta[1432]: NOQUEUE: SYSERR(root):
opendaemonsocket: daemon Daemon0: server SMTP socket wedged: exiting

, I put sendmail_enable=3D"NONE" into /etc/rc.conf and I don't see these an=
ymore

I have changed it the same as your example.

I get some errors :

tcsetattr /dev/ttyv0:  operation not supported
inappropriate iotcl for device

I will try to change it to ttyv1 and see if makes it work.

Regards,

Antonio



Want to link to this message? Use this URL: <https://mail-archive.FreeBSD.org/cgi/mid.cgi?CAJ5UdcOeO=bZA1TLw_Heb8jwzUa_-73Fhmx5WHed0CbDdzy3TA>