On 8/8/10, Polytropon <free...@edvax.de> wrote:
> On Sun, 8 Aug 2010 09:12:51 -0500, Antonio Olivares
> <olivares14...@gmail.com> wrote:
>> I apologize, but the change to put the code:
>>
>>      [! -f /tmp/.X0-lock ] && startx
>
> Oh good, added the missing "!"in the condition. Maybe I should
> have written the code more clearly in the first place:
>
>       if [ ! -f /tmp/.X0-lock ]; then
>               /usr/local/bin/startx
>       fi
>
>
>
>> my home directory /home/olivares/.login apparently does not work, why
>> I see pam errors:
>>
>> Aug 8 08:07:32 myhostname login:  pam_authenticate(): conversation failure
>> ....                                       login:
>> in_prompt_echo_off(): tcgetattr():  Device not configured
>
> It's great to use FreeBSD - "man tcgetattr" tells us that this
> function is used to retrieve terminal capability data. In my
> opinion, this indicates that there's something wrong with the
> format or content of /etc/gettytab.
>
> Checking this on my side reveals something strange: I have put
> the profile name "autologin" as shown in my working (!) example
> right after the "default" entry in /etc/gettytab; the "fixed speed
> entries" then follow. Then, later on, near the file's end, there's
> another entry with the same name. Strange... but works!
>
> I would only guess a gettytab issue...
>
>
>
>
> --


Polytropon,

I have it almost working.  The pam errors are not there anymore, but
the machine stays at the Password:

prompt.  But above it there is a line that says:

554 5.3.0 host "localhost" unknown
Aug 8 09:02:49 grullahighschool sm-mta[1090]: NOQUEUE:  SYSERR(root):
host "localhost" unknown
Starting cron.
......

I had to add a localhost name and I added grullahighschool since I am
going to work there and I am getting this machine prepared for work.
Otherwise, I would see the error message when starting xfce:

Could not load up Internet address for .
This will prevent XFce from operating correctly,
It may  be possible to correct the problem by adding to the file
/etc/hosts on your system


when it had no hostname :(, I can go back to the /etc/rc.local
solution, but would prefer to get this one working, the other has an
advantage that once I log out, I can shutdown immediately, but this
does not matter much.

Thanks for your help and advice.

And for others that might wonder, I did my a bit of searches, here's
some to prove my point

http://lists.freebsd.org/pipermail/freebsd-questions/2004-March/042040.html

http://lists.freebsd.org/pipermail/freebsd-questions/2004-March/042074.html

Regards,

Antonio
_______________________________________________
freebsd-questions@freebsd.org mailing list
http://lists.freebsd.org/mailman/listinfo/freebsd-questions
To unsubscribe, send any mail to "freebsd-questions-unsubscr...@freebsd.org"

Reply via email to