You are not logged in.
when ever i run as root user.. or doing SU business, I want to run somthing like Xterm or say for instance maybe konqueror file browser while im under root. when ever i type in xterm or konqueror, it says command not found. I have to Cd to the directory where the program is and run it from there, so i cannot run it from anywhere else. Any other user can do this except root, and it is quite annoying. Any idea how to fix this?
-bolero
Offline
You might want to check your $PATH environment variable and make sure it has all the paths you want in it. some paths to put in it are:
/bin:/usr/bin:/usr/sbin:/usr/local/bin:/opt/gnome/bin:/opt/kde/bin:/usr/X11R6/bin
*make sure you have the paths seperated with a colon
you can assign them in .bashrc (root's bashrc, that is) with something like
PATH="$PATH:<newpaths>"
Offline
you can also do
su -
do become a 100% root [for example Xserver of user will not be used by root]
Offline
Thanks guys that worked!!
-bolero
Offline