From owner-freebsd-questions Sun Oct 4 19:35:56 1998 Return-Path: Received: (from majordom@localhost) by hub.freebsd.org (8.8.8/8.8.8) id TAA11091 for freebsd-questions-outgoing; Sun, 4 Oct 1998 19:35:56 -0700 (PDT) (envelope-from owner-freebsd-questions@FreeBSD.ORG) Received: from abc.xyz.net (froggy.anchorage.ptialaska.net [208.151.119.238]) by hub.freebsd.org (8.8.8/8.8.8) with ESMTP id TAA11079 for ; Sun, 4 Oct 1998 19:35:52 -0700 (PDT) (envelope-from groggy@iname.com) Received: from localhost (localhost [127.0.0.1]) by abc.xyz.net (8.8.8/8.8.8) with SMTP id SAA02364; Sun, 4 Oct 1998 18:36:12 -0800 (AKDT) (envelope-from groggy@iname.com) Date: Sun, 4 Oct 1998 18:36:11 -0800 (AKDT) From: Steve Howe X-Sender: abc@abc.xyz.net To: Ghulum Dastgir cc: freebsd-questions@FreeBSD.ORG Subject: Re: new users and headaches In-Reply-To: <5060100024178032000002L022*@MHS> Message-ID: MIME-Version: 1.0 Content-Type: TEXT/PLAIN; charset=US-ASCII Sender: owner-freebsd-questions@FreeBSD.ORG Precedence: bulk X-Loop: FreeBSD.ORG On Sun, 4 Oct 1998, Ghulum Dastgir wrote: > after adding a new user I see that there is nothing in the new user's home > directory. So when I try starting X windows (as the new user) with startx/xinit newer versions of FBSD list dotfiles with "ls", however, since you do not list your version, try "ls -a" in your users directories. if you used "adduser" to add users, you should have basic init files (dotfiles) by default. > it says command not found (X already works as root). if X works as root, then check all your permissions. X doesn't require any init files in a users home directory via "startx". open up startx and make sure it, and everything inside, has the correct permissions. if it works as root, it works. also check your PATH variable. > Given that i have nothing in the new user's home directory does this probably > explain why I can't start X? I thought that using adduser automatically copied no. > over the basic, already installed utilities from root to the new user. But this it copies them from a "skeleton" directory, not /root see /usr/share/skel. > does not appear to be the case. > Why? you may have answered "no" to adduser's query, or you may have deleted the skel directory/files. > So do I now have to go about copying everything that i use in root to the new > user? This would include X, emacs, gcc etc in my case. this is a bad question. most of your work should be done as a user. only use root to edit config files, and maybe check/perform system related functions. > Also when i echo $PATH as this new user i get /usr/bin:/bin. Does this also > explain things. yes. this explains a lot. startx is in /usr/X11R6/bin. it's always good to study what is involved in firing up a UNIX system first. it's more frustrating to backtrack (ie, playing around in userland until you have a problem). To Unsubscribe: send mail to majordomo@FreeBSD.org with "unsubscribe freebsd-questions" in the body of the message