[Date Prev][Date Next]   [Thread Prev][Thread Next]   [Thread Index] [Date Index] [Author Index]

Re: sendmail 8.9



Bob McClure Jr wrote:
> 
> 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 |
> 
> --
> To unsubscribe: mail redhat-install-list-request redhat com with
> "unsubscribe" as the Subject.


Bob

Thanks, I learned something new from this group.

Jim



[Date Prev][Date Next]   [Thread Prev][Thread Next]   [Thread Index] [Date Index] [Author Index]