LinuxQuestions.org
Welcome to the most active Linux Forum on the web.
Home Forums Tutorials Articles Register
Go Back   LinuxQuestions.org > Forums > Linux Forums > Linux - Newbie
User Name
Password
Linux - Newbie This Linux forum is for members that are new to Linux.
Just starting out and have a question? If it is not in the man pages or the how-to's this is the place!

Notices


Reply
  Search this Thread
Old 12-06-2003, 06:35 PM   #1
behmjose
Member
 
Registered: Dec 2003
Posts: 55

Rep: Reputation: 15
Unhappy 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
 
Old 12-07-2003, 03:30 AM   #2
tredegar
LQ 5k Club
 
Registered: May 2003
Location: London, UK
Distribution: Fedora38
Posts: 6,147

Rep: Reputation: 435Reputation: 435Reputation: 435Reputation: 435Reputation: 435
"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
 
  


Reply



Posting Rules
You may not post new threads
You may not post replies
You may not post attachments
You may not edit your posts

BB code is On
Smilies are On
[IMG] code is Off
HTML code is Off



Similar Threads
Thread Thread Starter Forum Replies Last Post
system account or user account??? yenonn Linux - Newbie 6 05-10-2006 07:49 PM
Mysql - Howto insert 'admin' account into table ??? b:z Linux - General 6 03-29-2005 03:44 AM
HowTo user account mickeyboa Fedora 2 05-30-2004 02:24 AM
Free shell account? Howto? tekhead2 Linux - General 6 04-14-2004 12:47 PM
LDAP Account manager, PHP and mcrypt, and so on... HOWTO???? Satriani Linux - Software 2 11-04-2003 06:46 AM

LinuxQuestions.org > Forums > Linux Forums > Linux - Newbie

All times are GMT -5. The time now is 07:07 PM.

Main Menu
Advertisement
My LQ
Write for LQ
LinuxQuestions.org is looking for people interested in writing Editorials, Articles, Reviews, and more. If you'd like to contribute content, let us know.
Main Menu
Syndicate
RSS1  Latest Threads
RSS1  LQ News
Twitter: @linuxquestions
Open Source Consulting | Domain Registration