From owner-freebsd-questions Thu Mar 12 18:13:41 1998 Return-Path: Received: (from majordom@localhost) by hub.freebsd.org (8.8.8/8.8.8) id SAA24659 for freebsd-questions-outgoing; Thu, 12 Mar 1998 18:13:41 -0800 (PST) (envelope-from owner-freebsd-questions@FreeBSD.ORG) Received: from phoenix.welearn.com.au (suebla.lnk.telstra.net [139.130.44.81]) by hub.freebsd.org (8.8.8/8.8.8) with ESMTP id SAA24450 for ; Thu, 12 Mar 1998 18:12:50 -0800 (PST) (envelope-from sue2@phoenix.welearn.com.au) Received: (from sue2@localhost) by phoenix.welearn.com.au (8.8.5/8.8.5) id NAA24647; Fri, 13 Mar 1998 13:12:13 +1100 (EST) Message-ID: <19980313131208.22637@welearn.com.au> Date: Fri, 13 Mar 1998 13:12:08 +1100 From: Sue Blake To: Greg Lehey Cc: anthony@sohopros.com, FreeBSD Questions Subject: Re: xinit with non root login? Reply-To: Sue Blake References: <3.0.32.19980312195038.00805a80@pop.flash.net> <19980313122134.18401@freebie.lemis.com> Mime-Version: 1.0 Content-Type: text/plain; charset=us-ascii X-Mailer: Mutt 0.88e In-Reply-To: <19980313122134.18401@freebie.lemis.com>; from Greg Lehey on Fri, Mar 13, 1998 at 12:21:34PM +1030 Sender: owner-freebsd-questions@FreeBSD.ORG Precedence: bulk X-Loop: FreeBSD.ORG On Fri, Mar 13, 1998 at 12:21:34PM +1030, Greg Lehey wrote: > > Greg, I think my problem is a path problem. When I execute > > xinit I get this message: > > > > #xinit > > xinit: not found > > > > Could you help me set the correct path? I'm also not sure > > where the path goes. I have your book but I'm unable to > > find out exactly what I need to set to make this work. > > Depends on the shell you're running. For sh, bash, ksh, zsh, put > something like this in your .profile file: > > PATH=$PATH:/usr/X11R6/bin > > I'll leave somebody else (Doug, are you listening?) to tell you the > syntax for csh and tcsh. My .profile (and /usr/share/skel/dot.profile) in FreeBSD 2.2.2 has these two lines: # add /usr/games or /usr/X11R6/bin if you want PATH=/sbin:/bin:/usr/sbin:/usr/bin:/usr/local/bin:$HOME/bin; export PATH It took an lot of painful searching to work out why my X wasn't working after the upgrade. The path in /usr/share/skel/dot.login does not appear to have had games and X consored in this way, but I find it a handy reference for the different syntax when stuck with csh. -- Regards, -*Sue*- find / -name "*.conf" |more To Unsubscribe: send mail to majordomo@FreeBSD.org with "unsubscribe freebsd-questions" in the body of the message