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

next in thread | previous in thread | raw e-mail | index | archive | help
  This message is in MIME format.  The first part should be readable text,
  while the remaining parts are likely unreadable without MIME-aware tools.

---902635197-984009291-1316977709=:63171
Content-Type: TEXT/PLAIN; charset=ISO-8859-1; format=flowed
Content-Transfer-Encoding: 8BIT

On Sun, 25 Sep 2011, Antonio Olivares wrote:

> On Sun, Sep 25, 2011 at 12:44 PM, Warren Block <wblock@wonkity.com> wrote:
>> 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=22304
>>
>> Current link: http://forums.freebsd.org/showthread.php?t=22304
>>
>> That example was copied from a specially-configured FreeBSD image that
>> auto-starts in X.  Try it exactly.  If it doesn't work, please be specific
>> about what it does.
>
> I tried it and it worked as Matthew suggested for one time.  I put it
> in .profile and it worked one time.

That will depend on the user's shell; the code is written for csh and 
will 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.  Incidentally, the 
built-in test(1) command can conflict with use of the word "test", so 
it's best to use something else.  At least for filenames, it might not 
be a problem here.
---902635197-984009291-1316977709=:63171--



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