From owner-freebsd-questions@FreeBSD.ORG Sun Aug 8 14:41:55 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 F33811065672 for ; Sun, 8 Aug 2010 14:41:55 +0000 (UTC) (envelope-from freebsd@edvax.de) Received: from mx01.qsc.de (mx01.qsc.de [213.148.129.14]) by mx1.freebsd.org (Postfix) with ESMTP id AEC228FC08 for ; Sun, 8 Aug 2010 14:41:55 +0000 (UTC) Received: from r55.edvax.de (port-92-195-116-86.dynamic.qsc.de [92.195.116.86]) by mx01.qsc.de (Postfix) with ESMTP id 067473D848; Sun, 8 Aug 2010 16:41:33 +0200 (CEST) Received: from r55.edvax.de (localhost [127.0.0.1]) by r55.edvax.de (8.14.2/8.14.2) with SMTP id o78EfXQR002194; Sun, 8 Aug 2010 16:41:33 +0200 (CEST) (envelope-from freebsd@edvax.de) Date: Sun, 8 Aug 2010 16:41:33 +0200 From: Polytropon To: Antonio Olivares Message-Id: <20100808164133.2abae500.freebsd@edvax.de> In-Reply-To: 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> Organization: EDVAX X-Mailer: Sylpheed 2.4.7 (GTK+ 2.12.1; i386-portbld-freebsd7.0) Mime-Version: 1.0 Content-Type: text/plain; charset=US-ASCII Content-Transfer-Encoding: 7bit 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 Reply-To: Polytropon List-Id: User questions List-Unsubscribe: , List-Archive: List-Post: List-Help: List-Subscribe: , X-List-Received-Date: Sun, 08 Aug 2010 14:41:56 -0000 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 Magdeburg, Germany Happy FreeBSD user since 4.0 Andra moi ennepe, Mousa, ...