From owner-freebsd-questions@FreeBSD.ORG Sun Aug 8 16:14:14 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 9925B1065678 for ; Sun, 8 Aug 2010 16:14:14 +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 266098FC23 for ; Sun, 8 Aug 2010 16:14:13 +0000 (UTC) Received: by wwb13 with SMTP id 13so141717wwb.31 for ; Sun, 08 Aug 2010 09:14:13 -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=AZLrC2GlyYwBzJs+OMDnN30N6gtp9sOlvaJdLGoyBhE=; b=tnHlAXz+chnHk/oQpjLgMAE1KPIVLAT+7bDmpA7nfsAkE7/J/ZdEjN1WMb+XkfyMtn EM1/a2Grd04HfWzUFAgdAW2uEx4UENoe3Xe1bg2YanM4Z6F9TGkTf+jNgtqy0rEvcHEn CZCiMQApvVYycnkJlxbCR7wiMJ/yFnOMMcYrU= 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=IGK0CZfO08F3Bq7Hay1ucChBQ+A+YkL32zDBLtJHSMQCgFOfpK+zTojBjQGNxINugj Smr9OsSdkfu1U0NyVm3guzsw8yBHAmhvApsv3MMry+eK1Fs+GEbBOI7Sz4NNtZPS5oNE HJyhK6xSdoR+cBuQ5N/3cBmR7p/ZaRqM7H/KQ= MIME-Version: 1.0 Received: by 10.216.174.69 with SMTP id w47mr2197752wel.25.1281284053008; Sun, 08 Aug 2010 09:14:13 -0700 (PDT) Received: by 10.216.69.70 with HTTP; Sun, 8 Aug 2010 09:14:12 -0700 (PDT) In-Reply-To: <20100808174436.2fa1ea02.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> Date: Sun, 8 Aug 2010 11:14:12 -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 16:14:14 -0000 Polytropon, > Yes. According to "man bash", section "INVOCATION", mentiones > other file names: Bash reads and executes ~/.bash_profile, > ~/.bash_login, and ~/.profile (in that order), so you can > add the line "[ ! -f /tmp/.X0-lock ] && startx" (short form > is completely okay and valid) at the end of ~/.bash_login - > or also .profile, but it makes more sense in putting it into > something related to "login" rather than a "profile", but > that's debatable semantics. :-) > > The line "[ ! -f /tmp/.X0-lock ] && startx" is correct C shell, > sh (Bourne) and bash syntax. 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. > > 127.0.0.1 localhost > 127.0.0.1 grullahighschool.local grullahighschool > 127.0.0.1 grullahighschool.local. > > should work if hostname="grullahighschool.local" is given. Don't > forget to assign an IP for localhost, too (can be the same). See > "man host" for details. > will change the /etc/hosts file to ::1 grullalhighschool.rgccisd.org grullahighschool 127.0.0.1 grullahighschool.rgccisd.org grullahighschool 127.0.0.1 localhost and see if I don't see the error. > > -- Thank you very much for your help and advice. Regards, Antonio