On Wed, 29 Sep 2004 16:55:03 +1200
Matthew Gregan <[EMAIL PROTECTED]> wrote:

> At 2004-09-29T16:34:55+1200, Nick Rout wrote:
> > to cut a long discussion short., what is the best way to run a
> > graphical program as root if you do not have sux and don't want to use
> > xhost +localhost ? 
> 
> Learn to use xauth(1) properly, or cheat and do:
> 
> ssh -X [EMAIL PROTECTED] [optional program to execute]
> 
> ...which will set up the X authentication correctly for you, assuming X
> forwarding is enabled in your sshd configuration.

yes of course it will, silly me. as i posted earlier sux works too. its
a bash script wrapper to su and sets $DISPLAY and X auth cookies. no ssh
overhead.

http://fgouget.free.fr/sux/sux-readme.shtml

> 
> Cheers,
> -mjg
> -- 
> Matthew Gregan                     |/
>                                   /|                [EMAIL PROTECTED]

-- 
Nick Rout <[EMAIL PROTECTED]>

Reply via email to