From owner-freebsd-questions@FreeBSD.ORG Sun Sep 25 20:19:42 2011 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 C62FC1065672 for ; Sun, 25 Sep 2011 20:19:42 +0000 (UTC) (envelope-from olivares14031@gmail.com) Received: from mail-qy0-f182.google.com (mail-qy0-f182.google.com [209.85.216.182]) by mx1.freebsd.org (Postfix) with ESMTP id 837CC8FC0C for ; Sun, 25 Sep 2011 20:19:42 +0000 (UTC) Received: by qyk4 with SMTP id 4so6026681qyk.13 for ; Sun, 25 Sep 2011 13:19:41 -0700 (PDT) DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/relaxed; d=gmail.com; s=gamma; h=mime-version:in-reply-to:references:date:message-id:subject:from:to :cc:content-type:content-transfer-encoding; bh=JoI3n9op+D3dQkBIb/DawL8GysBNA2vin3+DScDMGcg=; b=Ja+DK3z92lDvtt2DWMORaVd7gyY5tMvxai0U9md33skl5XRn1KBjb4PxtXmMhre0Hv HaVSlDX/MVlct982Bds4uQBXp1RFdUm+tDD4Z+BxWF+scvAQSS3RfyCUdxj1jToV5Ckj CgRCoLIl/fkX5FFdek5ebHnttAb2sEkswFxHQ= MIME-Version: 1.0 Received: by 10.224.31.82 with SMTP id x18mr4401081qac.115.1316981981147; Sun, 25 Sep 2011 13:19:41 -0700 (PDT) Received: by 10.224.80.134 with HTTP; Sun, 25 Sep 2011 13:19:41 -0700 (PDT) In-Reply-To: References: Date: Sun, 25 Sep 2011 15:19:41 -0500 Message-ID: From: Antonio Olivares To: Warren Block Content-Type: text/plain; charset=ISO-8859-1 Content-Transfer-Encoding: quoted-printable Cc: FreeBSD Questions Subject: Re: autologin on default shell /bin/sh 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, 25 Sep 2011 20:19:42 -0000 On Sun, Sep 25, 2011 at 2:25 PM, Antonio Olivares wrote: > On Sun, Sep 25, 2011 at 2:08 PM, Warren Block wrote: >> On Sun, 25 Sep 2011, Antonio Olivares wrote: >> >>> On Sun, Sep 25, 2011 at 12:44 PM, Warren Block wro= te: >>>> >>>> On Sun, 25 Sep 2011, Antonio Olivares wrote: >>>> >>>>> I tried to edit ~/.cshrc and copied W Block's example, but it did not >>>>> work >>>>> >>>>> https://freebsd-forums.liquidneon.com/showthread.php?t=3D22304 >>>> >>>> Current link: http://forums.freebsd.org/showthread.php?t=3D22304 >>>> >>>> That example was copied from a specially-configured FreeBSD image that >>>> auto-starts in X. =A0Try it exactly. =A0If it doesn't work, please be >>>> specific >>>> about what it does. >>> >>> I tried it and it worked as Matthew suggested for one time. =A0I put it >>> in .profile and it worked one time. >> >> That will depend on the user's shell; the code is written for csh and wi= ll >> have to be changed for sh or bash. >> >>> Subsequent reboots, I have to login then startx runs automatically >> >> That would say the autologin entry isn't right. =A0Incidentally, the bui= lt-in >> test(1) command can conflict with use of the word "test", so it's best t= o >> use something else. =A0At least for filenames, it might not be a problem= here. > > For the errors: > > Sep 25 13:00:04 quadcore sm-mta[1432]: NOQUEUE: SYSERR(root): > opendaemonsocket: daemon Daemon0: cannot bind: Can't assign requested > address > Sep 25 13:00:04 quadcore sm-mta[1432]: daemon Daemon0: problem > creating SMTP socket > Sep 25 13:00:04 quadcore sm-mta[1432]: NOQUEUE: SYSERR(root): > opendaemonsocket: daemon Daemon0: server SMTP socket wedged: exiting > > , I put sendmail_enable=3D"NONE" into /etc/rc.conf and I don't see these = anymore > > I have changed it the same as your example. > > I get some errors : > > tcsetattr /dev/ttyv0: =A0operation not supported > inappropriate iotcl for device > > I will try to change it to ttyv1 and see if makes it work. > > Regards, > > Antonio > Does not matter to which ttyv I switch to, it(automatically login) does not work anymore :( Regards, Antonio