[SunHELP] GUI interface between unix servers

velociraptor velociraptor at gmail.com
Sun Aug 28 01:53:54 CDT 2005

On 8/27/05, Sandwich Maker <adh at an.bradford.ma.us> wrote:
> " From: velociraptor <velociraptor at gmail.com>
> "
> " But if you 'su' to root on the remote host your DISPLAY variable will
> " go bye-bye.  Use 'sudo admintool' if you have sudo set up, or note
> " your DISPLAY before su'ing to root.
> how about
> su root "admintool -display $DISPLAY"
> or
> su root "DISPLAY=$DISPLAY admintool"

I'd have to test it.  I just tossed "sudo" vs "su -" out there because I
rarely if ever use X apps this way so I had to remind myself the
after not having done it for a while.  I always remember it now, of
course. :-)

Well, plus the fact that sudo is your friend, anyways.


More information about the SunHELP mailing list