From owner-freebsd-questions@FreeBSD.ORG Sun Aug 8 18:02:50 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 0D39E106564A for ; Sun, 8 Aug 2010 18:02:50 +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 8C0798FC08 for ; Sun, 8 Aug 2010 18:02:49 +0000 (UTC) Received: by wwb13 with SMTP id 13so195397wwb.31 for ; Sun, 08 Aug 2010 11:02:48 -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=FqicHFiLpz/Z4+rEwMQ12Ora/9c77lVFc5uoPM9dwRM=; b=tV7uzje4bIqe6+CJ+T9dULaekqyxg2sUQf/qKPbauV37MsSFyWFzrDeAs/j5F8uuBp TJY1xWB0Vh2HOF4Md2C2DVP3TcaL6G7uU8ZLjFxrivV0wZsk9rXN1wjC961SibNuO/6T kNYRb6Vb/v5f4r8FFdXiWHoQYLzDaf7xNOI28= 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=XJgOzOb6gvhhkG47XMCeYLqenO909dkmsg1QaMXvHPH6z9OAixYxej+A+SZdS/cBix FPva0xBTkNtEsrrXBypAPmlF4LnEM59X17qZm+ucGjZ8ikzxpvt9EfUszFskPLfg4N53 9El6uBk+G+Y9mnohXaY9GJAkO46XjMEfD/JoQ= MIME-Version: 1.0 Received: by 10.216.67.6 with SMTP id i6mr1744876wed.44.1281290568485; Sun, 08 Aug 2010 11:02:48 -0700 (PDT) Received: by 10.216.69.70 with HTTP; Sun, 8 Aug 2010 11:02:48 -0700 (PDT) In-Reply-To: <20100808193929.8828cef2.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> <20100808172336.6c4f39a3.freebsd@edvax.de> <20100808174436.2fa1ea02.freebsd@edvax.de> <20100808193929.8828cef2.freebsd@edvax.de> Date: Sun, 8 Aug 2010 13:02:48 -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 18:02:50 -0000 On 8/8/10, Polytropon wrote: > On Sun, 8 Aug 2010 11:14:12 -0500, Antonio Olivares > wrote: >> 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. > > Very strange; I've checked that in bash's dialog mode, and it > seems to work properly. If it really doesn't work, you can use > the test program instead of [. > > if test ! -f /tmp/.X0-lock; then > /usr/local/bin/startx > fi > > I've checked this in bash's dialog mode, it works. > > > -- > Polytropon > Magdeburg, Germany > Happy FreeBSD user since 4.0 > Andra moi ennepe, Mousa, ... > Have changed it, now when I start machine I am logged in as root grullahighschool# I wonder what I did /etc/gettytab ttyv0 "/usr/libexec/getty autologin" cons25 on secure /etc/ttys autologin:\ :al=olivares:ht:np:sp#115200: Might it be that there were two lines in /etc/gettytab ttyv0 "/usr/libexec/getty Pc" cons25 on secure and ttyv0 "/usr/libexec/getty autologin" cons25 on secure and I removed the top one with "Pc" and left the one below? Thank you for your help/advice, I am almost there. Regards, Antonio