[wplug] X11 and sudo

Brandon Kuczenski brandon at 301south.net
Wed Jan 24 02:04:33 EST 2007


I want to run a command as another user via sudo,

$ sudo -u joeuser xeyes

  only when I do so the other user doesn't have authority to write to my 
display.  What's the easiest way to get around this?  I had a hunch it was 
something similar to

$ xauth add :0.0 [something] [something]

but I can't make much sense of the xauth man page. Magic cookies? eh?

Thanks in advance,
Brandon



More information about the wplug mailing list