From owner-freebsd-questions Wed Sep 23 08:51:17 1998 Return-Path: Received: (from majordom@localhost) by hub.freebsd.org (8.8.8/8.8.8) id IAA17997 for freebsd-questions-outgoing; Wed, 23 Sep 1998 08:51:17 -0700 (PDT) (envelope-from owner-freebsd-questions@FreeBSD.ORG) Received: from pau-amma.whistle.com (s205m64.whistle.com [207.76.205.64]) by hub.freebsd.org (8.8.8/8.8.8) with ESMTP id IAA17976 for ; Wed, 23 Sep 1998 08:51:06 -0700 (PDT) (envelope-from dhw@whistle.com) Received: (from dhw@localhost) by pau-amma.whistle.com (8.8.8/8.8.7) id IAA05209; Wed, 23 Sep 1998 08:50:55 -0700 (PDT) (envelope-from dhw) Date: Wed, 23 Sep 1998 08:50:55 -0700 (PDT) From: David Wolfskill Message-Id: <199809231550.IAA05209@pau-amma.whistle.com> To: freebsd-questions@FreeBSD.ORG, Ghulam_Dastgir@uk.ibm.com Subject: Re: startx not working for new user In-Reply-To: <5060100023739563000002L032*@MHS> Sender: owner-freebsd-questions@FreeBSD.ORG Precedence: bulk X-Loop: FreeBSD.ORG >From: Ghulum Dastgir >Date: Tue, 22 Sep 1998 18:06:54 +0000 >after having startx work for root I added a user using adduser. Only to find >that startx no longer works for the user (user is using the bash shell). I >checked the following: > path in both /.profile and /root/.profile was set to >/usr/bin:/usr/sbin:/bin:/sbin:/usr/local/bin:/usrX11R6/bin >When startx is entered for user it says command not found. Confirmed that >startx (and xinit) exists in /usr/X11R6/bin with r/x permissions for all three >octal groups. Well, I'd expect /root to be root's home directory (in a FreeBSD environment), but since I don't know what the (new) user's home directory is, it's not clear what the user's $HOME/.profile contains. What happens if the user issues echo $PATH ?, david -- David Wolfskill UNIX System Administrator dhw@whistle.com voice: (650) 577-7158 pager: (650) 371-4621 To Unsubscribe: send mail to majordomo@FreeBSD.org with "unsubscribe freebsd-questions" in the body of the message