From owner-freebsd-questions@FreeBSD.ORG Sun Aug 8 18:10:06 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 DED73106566C for ; Sun, 8 Aug 2010 18:10:05 +0000 (UTC) (envelope-from olivares14031@gmail.com) Received: from mail-wy0-f182.google.com (mail-wy0-f182.google.com [74.125.82.182]) by mx1.freebsd.org (Postfix) with ESMTP id B74B28FC0A for ; Sun, 8 Aug 2010 18:10:02 +0000 (UTC) Received: by wyj26 with SMTP id 26so11694529wyj.13 for ; Sun, 08 Aug 2010 11:10:01 -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=Vsi1xw1YTFBbp4Ul5C3fwvFs9ubcerVpMTPC5XnPbwY=; b=OWbThh1iOfBU7aASrxcIJCRtXY0aYjsUfDSA25gdpeEoeyuFRY7kvLbjH3voEpGqGS T9Im56enjfYYTK0a1OcFfaUNQXcPukxJPOJ7a9/zUB8WRltJEEYqYWp5zsuVKam/l7h9 Pw+61cIHsqfBKf6lN9eTRV01WuEwEgaJRIosw= 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=G0Zu4jYWRE1d1vm/B/+CHCer1ths0Ux2xRZvuLVqyUBjBsjFeoRP5AbRFml9RTnEFH UAoAxWZ6J/WLtkY8HVR917b+WGEt0nIV/qGlOxzQjxaLZ62697UVUxlHt/f0AOKT7H72 fIGlSIVsQIJzR0C7VEpVuQryvpGlT0JyTm+JA= MIME-Version: 1.0 Received: by 10.227.142.132 with SMTP id q4mr12626837wbu.90.1281291001669; Sun, 08 Aug 2010 11:10:01 -0700 (PDT) Received: by 10.216.69.70 with HTTP; Sun, 8 Aug 2010 11:10:01 -0700 (PDT) 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> <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:10:01 -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:10:06 -0000 On 8/8/10, Antonio Olivares wrote: > 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 > Update: I modified the top line to contain : ttyv0 "/usr/libexec/getty Pc" cons25 on secure and at the very end added one with ttyv0 "/usr/libexec/getty autologin" cons25 on secure and sadlyI get Aug 8 12:07:58 grullahighschool init: getty repeating too quickly on port /dev/ttyv0, sleeping 30 secs Then I get login prompt :( again. What could be going wrong ? Regards, Antonio