ANNOUNCE: Custom 64bit FreeBSD 8.1-RELEASE with XFCE packages released

Antonio Olivares olivares14031 at
Sun Aug 8 16:14:14 UTC 2010


> Yes. According to "man bash", section "INVOCATION", mentiones
> other file names: Bash reads and executes ~/.bash_profile,
> ~/.bash_login, and ~/.profile (in that order), so you can
> add the line "[ ! -f /tmp/.X0-lock ] && startx" (short form
> is completely okay and valid) at the end of ~/.bash_login -
> or also .profile, but it makes more sense in putting it into
> something related to "login" rather than a "profile", but
> that's debatable semantics. :-)
> The line "[ ! -f /tmp/.X0-lock ] && startx" is correct C shell,
> sh (Bourne) and bash syntax.

It does not work.  When I try to login I see:

-bash:  [ !:  command not found

I switch it to if statement suggested before for .login, but it
returns same error.
>	localhost
>	grullahighschool.local grullahighschool
>	grullahighschool.local.
> should work if hostname="grullahighschool.local" is given. Don't
> forget to assign an IP for localhost, too (can be the same). See
> "man host" for details.
will change the /etc/hosts file to

       ::1    grullahighschool grullahighschool       localhost

and see if I don't see the error.
> --

Thank you very much for your help and advice.



More information about the freebsd-questions mailing list