[Date Prev][Date Next] [Thread Prev][Thread Next]
[Thread Index]
[Date Index]
[Author Index]
Re: sendmail 8.9
- From: Bob McClure Jr <robertmcclure earthlink net>
- To: redhat-install-list redhat com
- Subject: Re: sendmail 8.9
- Date: Sun, 5 Mar 2000 22:05:03 -0600
On Sun, Mar 05, 2000 at 09:31:46PM -0500, James Daniels wrote:
>
> <Much of the previous punted>
>
> Granted su - will work, but try to run a program that requrie a gui, and
> you will get "cannot open display", so this is why I suggested su and
> not su -.
>
> Jim
The rigorous (but not always easy or expedient) solution is:
xhost localhost
su -
<enter password>
export DISPLAY=:0.0
I made a script that does the first two, called "beroot", which also
sets the xterm window title to "root" using:
echo -n "]0;root"
Then, in root's .bashrc, I have:
if [ "$TERM" = "xterm" ]
then export DISPLAY=:0.0
fi
Cheers,
--
Bob McClure, Jr. |
Bobcat Open Systems, Inc. | Trust me. I'm an engineer.
robertmcclure earthlink net |
[Date Prev][Date Next] [Thread Prev][Thread Next]
[Thread Index]
[Date Index]
[Author Index]