LinuxQuestions.org

LinuxQuestions.org (/questions/)
-   Linux - Newbie (https://www.linuxquestions.org/questions/linux-newbie-8/)
-   -   howto configure a user account (https://www.linuxquestions.org/questions/linux-newbie-8/howto-configure-a-user-account-123368/)

behmjose 12-06-2003 06:35 PM

howto configure a user account
 
I recently installed vector linux 4.0, a slackware based system. I didn't install their GUI I installed xfree86 4.3.0, and the afterstep win manager. Then I used adduser to add a user account. I logged into the user account and issued the command startx. I got the message bash command not found. When I am root it starts x perfectly. How do I add programs to the user that the root uses?

thanks

Behmjose

tredegar 12-07-2003 03:30 AM

"command not found", means just that. It couldn't find the command "startx".
So, maybe you should check your user's PATH:

echo $PATH

If the path to startx isn't there, add it. Don't know where startx is? Then:

locate startx.

For me it is /usr/X11R6/bin/startx, so I need /usr/X11R6/bin/ in my PATH and I add it and export it like this:

export PATH="$PATH:/usr/X11R6/bin"

HTH


All times are GMT -5. The time now is 10:20 AM.