From owner-freebsd-questions@FreeBSD.ORG Sun Aug 8 15:33:33 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 2D7EB1065673 for ; Sun, 8 Aug 2010 15:33:33 +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 AE84D8FC16 for ; Sun, 8 Aug 2010 15:33:32 +0000 (UTC) Received: by wwb13 with SMTP id 13so120931wwb.31 for ; Sun, 08 Aug 2010 08:33:31 -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=CxEF2sESlbRshvVA/sIUGsLauDSYkQy6AFVBK8gmY2A=; b=tFUgDrlH//91l93Z+0HAMyAEv1gVM+7HYx0rA3QmoeTUUStFi/zdP2/Xn7u2Fu8Ncr +HR9+bfVa7UrJVJ/yNYEot6G0xVqrup5YtAavrSU5s4wTTEKjqdaSZr4tTJVw9B8mWow +QNFpjZlf9HjwLuZaG+S8K2uq/sFctOGhLo3Y= 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=Eq+D4462b+d1LpaSexi3wadsM6QXpJTKHUQOzWKf2mpaOeBsqq8SK8R5HXLfdwX6k1 ncjvXO4/jHzUJKUzDihN0gRQi0Z1BtFvwRUPj3TqrtJzd7XOXwM5Fa8JzzgKSld3kpNV LYbBdR3WnepN/2ObQehoeG5G0BErK0rnxVRG0= MIME-Version: 1.0 Received: by 10.216.188.1 with SMTP id z1mr12871554wem.57.1281281610592; Sun, 08 Aug 2010 08:33:30 -0700 (PDT) Received: by 10.216.69.70 with HTTP; Sun, 8 Aug 2010 08:33:30 -0700 (PDT) In-Reply-To: <20100808172336.6c4f39a3.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> Date: Sun, 8 Aug 2010 10:33:30 -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:33:33 -0000 Polytropon, On 8/8/10, Polytropon wrote: > On Sun, 8 Aug 2010 10:11:23 -0500, Antonio Olivares > wrote: >> Polytropon, >> >> I have it almost working. The pam errors are not there anymore, but >> the machine stays at the Password: >> >> prompt. > > That's strange. The user "praxis" in my working example has a > password set, and the user will be asked for it when logging in > interactively (e. g. on text mode console or via SSH); it WON'T > ask for a password in the autologin setting. > > Meanwhile, I've changed the profile name "autologin" because > of its double presence. It's now "praxis" (as the user's name) > and still works, so this doesn't seem to be a problem. > > By the way, what's the $SHELL of the user you use for autologin? > Maybe that's the reason - ~/.login belongs to the C shell, the > default dialog shell, but if you use bash, for example, a different > file is needed, MAYBE. I'm not a bash expert on this, as I'm > using the C shell as primary dialog shell properly. :-) > This is it I guess. I chose bash shell and the default schell is the csh. There is a file called .login in my home directory /home/olivares/.login which has: $ $FreeBSD: src/share/skel/dot.login,v 1.17.2.1.5.1 2010/06/14 02:09:06 kensmith Exp % # # .login - csh login script, read by login shell after '.cshrc' at login. # # see also csh(1), environ(7), # if (-x /usr/games/fortune ) /usr/games/fortune freebsd-tips if [! -f /tmp/.X0-lock ]; then /usr/local/bin/startx fi and it clearly says that is for 'csh login', so I would need something else? > > >> 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. > > This again is a message from the system's MTA. Such messages are > often related to missing data in /etc/hosts. Check your settings > there, and "just for fun" check /etc/mail's scripts (e. g. "make > all install"). > > > >> Otherwise, I would see the error message when starting xfce: >> >> Could not load up Internet address for . > > For "empty string" - something seems to be missing. > > > >> 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 > > As I did guess. :-) Make sure the setting, for example, > > hostname="something.local" I have hostname="grullahighschool" in /etc/rc.conf file and I have included it in /etc/hosts also > > is in /etc/rc.conf and has a CORRESPONDING entry in /etc/hosts. > > > >> 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. > > You can do this using the user's ~/.logout to contain "shutdown -p now", > but that might be bad if X crashes. :-) Still, Xfce offers a menu > entry to perform a shutdown. > > -- Thanks for your help and advice. Regards, Antonio