From owner-freebsd-questions Fri Sep 19 18:32:10 1997 Return-Path: Received: (from root@localhost) by hub.freebsd.org (8.8.7/8.8.7) id SAA24130 for questions-outgoing; Fri, 19 Sep 1997 18:32:10 -0700 (PDT) Received: from freebie.lemis.com (gregl1.lnk.telstra.net [139.130.136.133]) by hub.freebsd.org (8.8.7/8.8.7) with ESMTP id SAA24123 for ; Fri, 19 Sep 1997 18:32:05 -0700 (PDT) Received: (from grog@localhost) by freebie.lemis.com (8.8.7/8.8.5) id LAA18286; Sat, 20 Sep 1997 11:01:50 +0930 (CST) Message-ID: <19970920110150.62690@lemis.com> Date: Sat, 20 Sep 1997 11:01:50 +0930 From: Greg Lehey To: rknebel@mail.microserve.net Cc: freebsd-questions@FreeBSD.ORG Subject: Re: bash References: <199709191955.OAA10171@fly.HiWAAY.net> <19970919203821.42319@localdomain> Mime-Version: 1.0 Content-Type: text/plain; charset=us-ascii X-Mailer: Mutt 0.81e In-Reply-To: <19970919203821.42319@localdomain>; from rknebel@mail.microserve.net on Fri, Sep 19, 1997 at 08:38:21PM -0400 Organisation: LEMIS, PO Box 460, Echunga SA 5153, Australia Phone: +61-8-8388-8250 Fax: +61-8-8388-8250 Mobile: +61-41-739-7062 WWW-Home-Page: http://www.lemis.com/~grog Fight-Spam-Now: http://www.cauce.org Sender: owner-freebsd-questions@FreeBSD.ORG X-Loop: FreeBSD.org Precedence: bulk On Fri, Sep 19, 1997 at 08:38:21PM -0400, rknebel@mail.microserve.net wrote: > Hi, > I am new to freebsd. > I just installed freebsd 2.2.2 without diffculty and even got ppp working. > I added a user with the bash shell. > My problem is that when I log in as this user in bash and type the command > startx it tells me coommand not found. > Is there an obvious fix for this. Yes. Check your .bashrc file. If you find a line like: PATH=/usr/bin:/bin:/usr/local/bin add to it the string ':/usr/X11R6/bin' For example, PATH=/usr/bin:/bin:/usr/local/bin:/usr/X11R6/bin If you don't have a .bashrc, make one, and put this in it: PATH=$PATH:/usr/X11R6/bin You should also check your .bash_profile and ensure that it contains the line if [ -f ~/.bashrc ]; then source ~/.bashrc; fi Greg