When a user goes to run an x client, there is the error: "Application
initialization failed: no display name and no $DISPLAY environmental variable."
I can fix this temporarily by running:
$DISPLAY=$DISPLAY:0.0 ; export DISPLAY
Now # echo DISPLAY or # printenv shows the DISPLAY server's in my environment,
and I can as the user run the graphical emacs etc.
The problem is that I don't see now to add that shell variable into the
user's environment permanently. I tried to add:
DISPLAY=$DISPLAY:0.0
into ~/bash_profile or ~/.bashrc without success. I tried to enter it also
into /etc/bashrc for everyone, but without luck. I have no /etc/bash_profile
file.
How do I make this variable a permanent part of the user's envronment and
how do I make it part of everyone's environment permanently?
Haines Brown