According to [EMAIL PROTECTED]: While burning my CPU.
>
> As I begin to define my operations as root, I appreciate the need to move
> as quickly as possible to be a user. I find that transition difficult be-
> cause of environment definitions.
>
> One seems to have to do with DISPLAY=:0.0. For example, root can run xman
> just fine, but when user tries, the result is: "Can't open display."
Normaly a standard install allows a user to do most things, espescialy xman,
what you may have done is altered some of the configuration files, or
created them with root only permissions.
>
> Also, root gets a nice emacs window which I've configured to my taste, but
> when emacs is run by user, it is displayed not in an emacs window, but in
> nxterm.
emacs i do not use, i belive it needs root privelages for some commands,
however you should be able to configure it in just about the same way as a
user.
>
> I can't find file where the DISPLAY variable seen in the printenv command
> is set for root, and so I have no clue where to set it for user or even if
> this is my problem.
The user account directory contains many configuration files for that user,
files beginning with a "." are user definition files and are read upon login
or starting a program.
examples;
bash_profile
bashrc
.profile
For things like netscape, you could copy all the files from
/root/.netscape/* to your user account, you would need to use chmod on them
for read and write privelages for that user.
>
> A similar difficulty is that I set my destop color to what I want with the
> xsetroot command, but the man pages are not much help where to place that
> statement so that the customization appears automatically each time I boot.
> My experiments sticking the command line into various files has not worked,
> and I'm afraid of playing such games. The man pages typically refer to files
> that don't exist or are not where it thinks they are.
>
I belive you will need to edit or create /home/$user/.Xdefaults.
I am not an X expert, so others will help you more i am sure.
> I'm running RH 5.2.
>
> Haines Brown
>
--
Regards Richard.
[EMAIL PROTECTED]
Merry Xmas to all, and may all your troubles be small (ones).