From owner-freebsd-questions@FreeBSD.ORG Sun Aug 8 15:11:24 2010 Return-Path: Delivered-To: freebsd-questions@freebsd.org Received: from mx1.freebsd.org (mx1.freebsd.org [IPv6:2001:4f8:fff6::34]) by hub.freebsd.org (Postfix) with ESMTP id DC3E41065672 for ; Sun, 8 Aug 2010 15:11:24 +0000 (UTC) (envelope-from olivares14031@gmail.com) Received: from mail-ww0-f50.google.com (mail-ww0-f50.google.com [74.125.82.50]) by mx1.freebsd.org (Postfix) with ESMTP id 6B2B68FC08 for ; Sun, 8 Aug 2010 15:11:24 +0000 (UTC) Received: by wwb13 with SMTP id 13so110221wwb.31 for ; Sun, 08 Aug 2010 08:11:23 -0700 (PDT) DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/relaxed; d=gmail.com; s=gamma; h=domainkey-signature:mime-version:received:received:in-reply-to :references:date:message-id:subject:from:to:cc:content-type; bh=EKp0CU9eqsNWEFodIKAxUTfvH5Cvi0EVRCME1KTIFDc=; b=cEwD6lUQvaTUF6wAv5WQuGLiiHnigy8cq+OWXUXGjxE3TbPHKagg1sKC+VgM9Supyi /nr/A7NvOmYq4oivQwDwM5AH76b0JRilFpU/yIDjYBgPZO/Vv0XYh7NfwtKZWl4s3tSa z6EvDd9dSw0jJeiFhnvdsbzRUuieg8FmQaJyA= DomainKey-Signature: a=rsa-sha1; c=nofws; d=gmail.com; s=gamma; h=mime-version:in-reply-to:references:date:message-id:subject:from:to :cc:content-type; b=lanhMPGvLYmsAmrqYzDJakiXWGlQ/DacZEYLpYkGYDoRLJdDeKaEty8qX6Ee/0st5y fmMV3pyxsyyne5RTiX+sDn59q2p3z6Bud7vX0KCAxQneF1OKQRlZR00YHzyLAhK7ZwlW 73wKw0Wdbw6Ct155iRwBDGMrK4Qvej21VEslo= MIME-Version: 1.0 Received: by 10.216.15.68 with SMTP id e46mr1597618wee.97.1281280283324; Sun, 08 Aug 2010 08:11:23 -0700 (PDT) Received: by 10.216.69.70 with HTTP; Sun, 8 Aug 2010 08:11:23 -0700 (PDT) In-Reply-To: <20100808164133.2abae500.freebsd@edvax.de> References: <4C566252.6010605@otenet.gr> <4C5CFEE0.5060000@speakeasy.net> <201008071157.00180.eliaschr@cha.forthnet.gr> <20100807214737.75ebc397.freebsd@edvax.de> <20100808120816.b6b1f54a.freebsd@edvax.de> <20100808164133.2abae500.freebsd@edvax.de> Date: Sun, 8 Aug 2010 10:11:23 -0500 Message-ID: From: Antonio Olivares To: Polytropon Content-Type: text/plain; charset=ISO-8859-1 Cc: freebsd-questions@freebsd.org Subject: Re: ANNOUNCE: Custom 64bit FreeBSD 8.1-RELEASE with XFCE packages released X-BeenThere: freebsd-questions@freebsd.org X-Mailman-Version: 2.1.5 Precedence: list List-Id: User questions List-Unsubscribe: , List-Archive: List-Post: List-Help: List-Subscribe: , X-List-Received-Date: Sun, 08 Aug 2010 15:11:24 -0000 On 8/8/10, Polytropon wrote: > On Sun, 8 Aug 2010 09:12:51 -0500, Antonio Olivares > 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